{"_id":"@adactiveasia/apify-client","_rev":"4-82e6732460f409e0fd9ec8a12d777376","name":"@adactiveasia/apify-client","dist-tags":{"latest":"0.0.4"},"versions":{"0.0.1":{"name":"@adactiveasia/apify-client","version":"0.0.1","description":"Apify API client for JavaScript","main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","exports":{"./package.json":"./package.json",".":{"import":"./dist/index.mjs","require":"./dist/index.js"}},"keywords":["apify","api","apifier","crawler","scraper"],"author":{"name":"Apify","email":"support@apify.com","url":"https://apify.com"},"contributors":[{"name":"Jan Curn","email":"jan@apify.com"},{"name":"Marek Trunkát","email":"marek@apify.com"},{"name":"Ondra Urban","email":"ondra@apify.com"},{"name":"Jakub Drobník","email":"jakub.drobnik@apify.com"}],"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/apifytech/apify-client-js.git"},"bugs":{"url":"https://github.com/apifytech/apify-client-js/issues"},"homepage":"https://apify.com/docs/sdk/apify-client-js/latest","scripts":{"build":"run-s clean build:node build:browser","postbuild":"gen-esm-wrapper dist/index.js dist/index.mjs","clean":"rimraf dist","test":"npm run build && jest","lint":"eslint src test --ext js,jsx,mjs,ts","lint:fix":"eslint src test --ext js,jsx,mjs,ts --fix","build:node":"tsc","build:browser":"webpack","build-docs":"npm run build-toc && node docs/build_docs.js","build-toc":"markdown-toc docs/README.hbs -i"},"dependencies":{"@apify/consts":"^1.4.0","@apify/log":"^1.1.1","agentkeepalive":"^4.1.4","async-retry":"^1.3.1","axios":"^0.21.1","content-type":"^1.0.4","ow":"^0.27.0"},"devDependencies":{"@apify/eslint-config-ts":"^0.1.4","@apify/tsconfig":"^0.1.0","@babel/cli":"^7.14.8","@babel/core":"^7.15.0","@babel/preset-env":"^7.15.0","@babel/register":"^7.15.3","@types/async-retry":"^1.4.3","@types/content-type":"^1.1.5","@types/express":"^4.17.13","@types/fs-extra":"^9.0.12","@types/jest":"^27.0.1","@types/node":"^16.6.1","@typescript-eslint/eslint-plugin":"^4.29.1","@typescript-eslint/parser":"^4.29.1","apify":"^2.0.2","babel-loader":"^8.2.2","body-parser":"^1.19.0","compression":"^1.7.4","eslint":"^7.32.0","express":"^4.17.1","fs-extra":"^10.0.0","gen-esm-wrapper":"^1.1.2","jest":"^27.0.6","jest-circus":"^27.0.6","jsdoc-to-markdown":"^7.0.1","markdown-toc":"^1.2.0","morgan":"^1.10.0","npm-run-all":"^4.1.5","process":"^0.11.10","puppeteer":"^10.2.0","rimraf":"^3.0.2","terser-webpack-plugin":"^5.1.4","ts-jest":"^27.0.4","ts-loader":"^9.2.5","ts-node":"^10.2.0","typescript":"^4.3.5","webpack":"^5.50.0","webpack-cli":"^4.7.2"},"gitHead":"f548af24f5455938016d5673c999a0dbe486142d","_id":"@adactiveasia/apify-client@0.0.1","_nodeVersion":"16.4.0","_npmVersion":"7.18.1","dist":{"integrity":"sha512-lSrrWIM3m6fPxtnqIsFQmloyZmnFMVPiFM/KPDDy6cwIZUBUMhdGC+qLzp2UivQaMdybCIqAma6Z6E3u9/tR/Q==","shasum":"1b0377e235cb06696f58b9fd115883ecf7e2bfe8","tarball":"https://registry.npmjs.org/@adactiveasia/apify-client/-/apify-client-0.0.1.tgz","fileCount":3,"unpackedSize":76195,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh8AODCRA9TVsSAnZWagAA8bAP/jIrHAa7K4k7H9XQX6M/\nRAdWK94kSzW+tfomd1y2gMhYZbaSespk94ZvIkH6NBCz83qGjJgMs0nUPizz\n2dsSpGqsip9CNRlO1bArLvr/TZx/qymCUgEV6m+kpckUDgoL4bmeG3AsclKw\nVhAORMDyWn+j4SjXR95UWKCvpzF559JQLFTg8EDst3twBlq+GPlmIdDiqbrb\nY/ZCYvaDFv+oMssggVrrtGcI6R1Y6ndAF/AcN0YRy1IP4ScJxtOnbi5yw2Rn\nuflzmYBpF/yOYUb/owZimkdGCVpfEOEY2hGZ2as+jzWJfbUv7wW9l0JocNNn\nCyeABKGZBFSXNkAQaGjDoJjVchYHv2BHZUSnbN4kI5035ORnYuW/njpKh7VT\nnnbU/fSU514HADvDIzWomr4aYoLwuNKI5bEO9QI4QBwTWFBEXmVTb/8H7NTC\nI2vpRfxuj8oG6NupZHDe9lds38DnSUStXTCeZYpF7I+B3qJ3g8uBCPL68qo8\nxkZUaXIqXzKMiUivPPMxyaUWALRVe8FYSgtPxHt12twg/S1yrJ7MCtBjcp64\nxVip6ukncdHuM7BuK4tdYF0P4T+JKrGaeiM5aYsCEwsrBDy8sVPcQl/2pKx4\ntOQvASbenXGvJGSJBUAkzu9ClAfo46cDZpisIyiibNV1BjwiLyhKnIUm4E4U\noRYA\r\n=paF9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFm5jyodWsW7PzptfdHpSYIAofrjjembndQk8ui397omAiBezPx9ZaZ/o8x3joy/nzdGyIOpQVsgjRp1BUOav72HIg=="}]},"_npmUser":{"name":"devadactiveasia","email":"dev@adactive.asia"},"directories":{},"maintainers":[{"name":"devadactiveasia","email":"dev@adactive.asia"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apify-client_0.0.1_1643119490985_0.29766060136580164"},"_hasShrinkwrap":false},"0.0.2":{"name":"@adactiveasia/apify-client","version":"0.0.2","description":"Apify API client for JavaScript","main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","exports":{"./package.json":"./package.json",".":{"import":"./dist/index.mjs","require":"./dist/index.js"}},"keywords":["apify","api","apifier","crawler","scraper"],"author":{"name":"Apify","email":"support@apify.com","url":"https://apify.com"},"contributors":[{"name":"Jan Curn","email":"jan@apify.com"},{"name":"Marek Trunkát","email":"marek@apify.com"},{"name":"Ondra Urban","email":"ondra@apify.com"},{"name":"Jakub Drobník","email":"jakub.drobnik@apify.com"}],"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/apifytech/apify-client-js.git"},"bugs":{"url":"https://github.com/apifytech/apify-client-js/issues"},"homepage":"https://apify.com/docs/sdk/apify-client-js/latest","scripts":{"build":"run-s clean build:node build:browser","postbuild":"gen-esm-wrapper dist/index.js dist/index.mjs","clean":"rimraf dist","test":"npm run build && jest","lint":"eslint src test --ext js,jsx,mjs,ts","lint:fix":"eslint src test --ext js,jsx,mjs,ts --fix","build:node":"tsc","build:browser":"webpack","build-docs":"npm run build-toc && node docs/build_docs.js","build-toc":"markdown-toc docs/README.hbs -i"},"dependencies":{"@apify/consts":"^1.4.0","@apify/log":"^1.1.1","agentkeepalive":"^4.1.4","async-retry":"^1.3.1","axios":"^0.21.1","content-type":"^1.0.4","ow":"^0.27.0"},"devDependencies":{"@apify/eslint-config-ts":"^0.1.4","@apify/tsconfig":"^0.1.0","@babel/cli":"^7.14.8","@babel/core":"^7.15.0","@babel/preset-env":"^7.15.0","@babel/register":"^7.15.3","@types/async-retry":"^1.4.3","@types/content-type":"^1.1.5","@types/express":"^4.17.13","@types/fs-extra":"^9.0.12","@types/jest":"^27.0.1","@types/node":"^16.6.1","@typescript-eslint/eslint-plugin":"^4.29.1","@typescript-eslint/parser":"^4.29.1","apify":"^2.0.2","babel-loader":"^8.2.2","body-parser":"^1.19.0","compression":"^1.7.4","eslint":"^7.32.0","express":"^4.17.1","fs-extra":"^10.0.0","gen-esm-wrapper":"^1.1.2","jest":"^27.0.6","jest-circus":"^27.0.6","jsdoc-to-markdown":"^7.0.1","markdown-toc":"^1.2.0","morgan":"^1.10.0","npm-run-all":"^4.1.5","process":"^0.11.10","puppeteer":"^10.2.0","rimraf":"^3.0.2","terser-webpack-plugin":"^5.1.4","ts-jest":"^27.0.4","ts-loader":"^9.2.5","ts-node":"^10.2.0","typescript":"^4.3.5","webpack":"^5.50.0","webpack-cli":"^4.7.2"},"gitHead":"f548af24f5455938016d5673c999a0dbe486142d","_id":"@adactiveasia/apify-client@0.0.2","_nodeVersion":"16.4.0","_npmVersion":"7.18.1","dist":{"integrity":"sha512-YHzN+FgSMU2I+li/AG47GKnXxqj5dk7BRY5Hv/u1vVxDLf0eAXtOB/DR5g0ARPIPh+wi4sO1XWjWqRtYUlvDDw==","shasum":"27a8ddec823ad7130e8cd0aebf5e7942d52878d9","tarball":"https://registry.npmjs.org/@adactiveasia/apify-client/-/apify-client-0.0.2.tgz","fileCount":157,"unpackedSize":406070,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh8AevCRA9TVsSAnZWagAAzAcQAKM2Ggn2246IPoLfyvQ/\nouW90HECxipAsFDW+2XBIspDZzzqMkBvyTb3qgWkbtNyIKOZwBkamgWd/FDr\nqG0hvUCEkW5VXa7UKODHOah5ePcegwD/OpIJXnF4pdc42vMHeN0tJif5NDEW\ntf4R9CGhJqfg+NGzaAtQr9XWVHOf334OajCmV1mz2vGZVQArwWECZA5WJGHL\nuoac1wr2H0KhpIXqFmmBx2fQFc4DJ3S13CAru2Puf8VrZWg/kIZXzvTzpLhk\n4lLHqTd/5/OiFUkrN7k0QB7o1w/57iFEOo69VPe9YHUjO2V5Mo3rEssC3fcp\nim0QicrWR6EtzqAQlnRZRKMPHEiOE0EjgRWYe5HfnyTB2dJgex77Vr0Oc/3W\nFh7UMl6B2TSYOmHx5QE2HerXwtlpghfKobo/VUI751W29oX6weYqc+Ud+a1D\nOdIRcNi1YvcOw7I7Zu6IA7STAACiyXraQn1dNHACERLhZ5ClhX0LaNfPpXjp\n7O1UizVhn0mT1mcMabYitRL92fEBLx6/wiUfPz6p/JxU1mWENH7oJJy+1TKu\nMAGEAa1vGEQTdlSpGTyBfXR6e0fRICwdlLA7Hwuk+aU/h2PHtOS0W002Q2uU\nOYRk/COQpylLdq45vKJNQeQwKZhBhcRMU1aNaE7uRtjpVZUhYvAwV/vWGOTt\n6wBB\r\n=m8HV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAZG+ijn4NBh81HIi3a79BtioX2rZVt9y+aE/jSN0t3SAiACvsPPgvL3LRo6yqqxPz6v/XuHy06QLHH1MfczYJX1lw=="}]},"_npmUser":{"name":"devadactiveasia","email":"dev@adactive.asia"},"directories":{},"maintainers":[{"name":"devadactiveasia","email":"dev@adactive.asia"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apify-client_0.0.2_1643120558922_0.8910444625946097"},"_hasShrinkwrap":false},"0.0.3":{"name":"@adactiveasia/apify-client","version":"0.0.3","description":"Apify API client for JavaScript","main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","exports":{"./package.json":"./package.json",".":{"import":"./dist/index.mjs","require":"./dist/index.js"}},"keywords":["apify","api","apifier","crawler","scraper"],"author":{"name":"Apify","email":"support@apify.com","url":"https://apify.com"},"contributors":[{"name":"Jan Curn","email":"jan@apify.com"},{"name":"Marek Trunkát","email":"marek@apify.com"},{"name":"Ondra Urban","email":"ondra@apify.com"},{"name":"Jakub Drobník","email":"jakub.drobnik@apify.com"}],"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/apifytech/apify-client-js.git"},"bugs":{"url":"https://github.com/apifytech/apify-client-js/issues"},"homepage":"https://apify.com/docs/sdk/apify-client-js/latest","scripts":{"build":"run-s clean build:node build:browser","postbuild":"gen-esm-wrapper dist/index.js dist/index.mjs","clean":"rimraf dist","test":"npm run build && jest","lint":"eslint src test --ext js,jsx,mjs,ts","lint:fix":"eslint src test --ext js,jsx,mjs,ts --fix","build:node":"tsc","build:browser":"webpack","build-docs":"npm run build-toc && node docs/build_docs.js","build-toc":"markdown-toc docs/README.hbs -i"},"dependencies":{"@apify/consts":"^1.4.0","@apify/log":"^1.1.1","agentkeepalive":"^4.1.4","async-retry":"^1.3.1","axios":"^0.21.1","content-type":"^1.0.4","ow":"^0.27.0"},"devDependencies":{"@apify/eslint-config-ts":"^0.1.4","@apify/tsconfig":"^0.1.0","@babel/cli":"^7.14.8","@babel/core":"^7.15.0","@babel/preset-env":"^7.15.0","@babel/register":"^7.15.3","@types/async-retry":"^1.4.3","@types/content-type":"^1.1.5","@types/express":"^4.17.13","@types/fs-extra":"^9.0.12","@types/jest":"^27.0.1","@types/node":"^16.6.1","@typescript-eslint/eslint-plugin":"^4.29.1","@typescript-eslint/parser":"^4.29.1","apify":"^2.0.2","babel-loader":"^8.2.2","body-parser":"^1.19.0","compression":"^1.7.4","eslint":"^7.32.0","express":"^4.17.1","fs-extra":"^10.0.0","gen-esm-wrapper":"^1.1.2","jest":"^27.0.6","jest-circus":"^27.0.6","jsdoc-to-markdown":"^7.0.1","markdown-toc":"^1.2.0","morgan":"^1.10.0","npm-run-all":"^4.1.5","process":"^0.11.10","puppeteer":"^10.2.0","rimraf":"^3.0.2","terser-webpack-plugin":"^5.1.4","ts-jest":"^27.0.4","ts-loader":"^9.2.5","ts-node":"^10.2.0","typescript":"^4.3.5","webpack":"^5.50.0","webpack-cli":"^4.7.2"},"gitHead":"f548af24f5455938016d5673c999a0dbe486142d","_id":"@adactiveasia/apify-client@0.0.3","_nodeVersion":"16.4.0","_npmVersion":"7.18.1","dist":{"integrity":"sha512-PbBjGfxweVUXTiRH2z1/5gWoAxNcz5NDlsUtKQ+t+uGh+qZjA9CsqpmSTL6pmfn2pd1WjOg8vE/TT/9pnAN3yQ==","shasum":"bcca1764d1c8d182225e4453d0f4f08b84030b0a","tarball":"https://registry.npmjs.org/@adactiveasia/apify-client/-/apify-client-0.0.3.tgz","fileCount":157,"unpackedSize":406070,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiAzM9CRA9TVsSAnZWagAAL4cQAJLUGnL4p5i4bYSvxJHt\n255LwMm98+YDJe1SoQ+JgPm4Zeb7JntD6QdmOXGodOpoJ/QQyBJVl+FRkxBT\nT2L8E/rbCagJYw6rGywP007L6dWGpQI9hKRT2iE2GSp7+zxVRhkD2RKB18TL\n7Hmnl1xFZpXTuQoJ0/3CdJSVf26cNSzVZqfUWipcKEH1VdK0VQr6UiMC2fqr\nAp7BTI/5zuEZA1FDaZW4Ol5oTHuwsUq1sD0/g6N+osTZVlEXL+C1E29vGIk7\nmXpNkZ0NvlJyfX9LDoDq0cOX2C+d2JH5TAbfCui9+LAi0YcvOy8llQM7RHpr\nu84WPQ8CGTmNJXNFRlaKTmu9kQs0Y9+5/f9wJ1lbhesAnaOLPlD0+aRF784w\nLG8VWLaxxYX2xz5FCX1lTfMbtEio/5uz32CvFxFpcIOnzfRkE3Jse7CaeKwx\nvXxoqqcxPNAbnzMbOStJGkjs5sHdimOpnuNi0/dkF1L75x8v80coOq/pileT\npsB7GHMD7zFSQ+XVxM7701JTb1azu3cVPata9fv10Nb62/Yx1NFNUlHiFuBI\nMfGlFcr8SYPAuvD1qB8tl3sjM3sWNSS33opjtyYWLqHSeM0cQbJI8ENWWk1Z\n9nXSPFP8jb/CSxojU9fDB/TlOrPjOIAyqwSKX9mQy/IB+9tfMsh/OPDF5ha1\niiII\r\n=LV8s\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCI+Mx+fk+xMJN9YIIKBJMgmqXyL62JtJLH50bbv62NsgIgSOfMvkaa3kqHeSoC62LIAZctfOAV8x0V2OWVnok+3MU="}]},"_npmUser":{"name":"devadactiveasia","email":"dev@adactive.asia"},"directories":{},"maintainers":[{"name":"devadactiveasia","email":"dev@adactive.asia"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apify-client_0.0.3_1644376893417_0.12216697158789036"},"_hasShrinkwrap":false},"0.0.4":{"name":"@adactiveasia/apify-client","version":"0.0.4","description":"Apify API client for JavaScript","main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","exports":{"./package.json":"./package.json",".":{"import":"./dist/index.mjs","require":"./dist/index.js"}},"keywords":["apify","api","apifier","crawler","scraper"],"author":{"name":"Apify","email":"support@apify.com","url":"https://apify.com"},"contributors":[{"name":"Jan Curn","email":"jan@apify.com"},{"name":"Marek Trunkát","email":"marek@apify.com"},{"name":"Ondra Urban","email":"ondra@apify.com"},{"name":"Jakub Drobník","email":"jakub.drobnik@apify.com"}],"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/apifytech/apify-client-js.git"},"bugs":{"url":"https://github.com/apifytech/apify-client-js/issues"},"homepage":"https://apify.com/docs/sdk/apify-client-js/latest","scripts":{"build":"run-s clean build:node build:browser","postbuild":"gen-esm-wrapper dist/index.js dist/index.mjs","clean":"rimraf dist","test":"npm run build && jest","lint":"eslint src test --ext js,jsx,mjs,ts","lint:fix":"eslint src test --ext js,jsx,mjs,ts --fix","build:node":"tsc","build:browser":"webpack","build-docs":"npm run build-toc && node docs/build_docs.js","build-toc":"markdown-toc docs/README.hbs -i"},"dependencies":{"@apify/consts":"^1.4.0","@apify/log":"^1.1.1","agentkeepalive":"^4.1.4","async-retry":"^1.3.1","axios":"^0.21.1","content-type":"^1.0.4","ow":"^0.27.0"},"devDependencies":{"@apify/eslint-config-ts":"^0.1.4","@apify/tsconfig":"^0.1.0","@babel/cli":"^7.14.8","@babel/core":"^7.15.0","@babel/preset-env":"^7.15.0","@babel/register":"^7.15.3","@types/async-retry":"^1.4.3","@types/content-type":"^1.1.5","@types/express":"^4.17.13","@types/fs-extra":"^9.0.12","@types/jest":"^27.0.1","@types/node":"^16.6.1","@typescript-eslint/eslint-plugin":"^4.29.1","@typescript-eslint/parser":"^4.29.1","apify":"^2.0.2","babel-loader":"^8.2.2","body-parser":"^1.19.0","compression":"^1.7.4","eslint":"^7.32.0","express":"^4.17.1","fs-extra":"^10.0.0","gen-esm-wrapper":"^1.1.2","jest":"^27.0.6","jest-circus":"^27.0.6","jsdoc-to-markdown":"^7.0.1","markdown-toc":"^1.2.0","morgan":"^1.10.0","npm-run-all":"^4.1.5","process":"^0.11.10","puppeteer":"^10.2.0","rimraf":"^3.0.2","terser-webpack-plugin":"^5.1.4","ts-jest":"^27.0.4","ts-loader":"^9.2.5","ts-node":"^10.2.0","typescript":"^4.3.5","webpack":"^5.50.0","webpack-cli":"^4.7.2"},"gitHead":"f548af24f5455938016d5673c999a0dbe486142d","_id":"@adactiveasia/apify-client@0.0.4","_nodeVersion":"16.4.0","_npmVersion":"7.18.1","dist":{"integrity":"sha512-Py3OIg+Zsr+9ynnumtMAq/KQ1/G8bY6wj/LSjO68TvMOdh/dexpyi/IV0rYKIqqJnvu4WbOqA2IJBmK/wwvYVw==","shasum":"7f31ffd9834f977dc63b4ee6d688b119fee082da","tarball":"https://registry.npmjs.org/@adactiveasia/apify-client/-/apify-client-0.0.4.tgz","fileCount":157,"unpackedSize":406070,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiAzTQCRA9TVsSAnZWagAA5j8P/2tHk8QhOHm0xbjwLdDd\n5g7buBmIDggh7IlmqwzqorGHTRQp64kxl65+o9B5T7WkpYvqpv2TVkpnHDjX\nK6ldI9h+a0ymNXdH8aHSIcOsi4nE5qJXggP4cRbxRKkdVnk8DgyLRViAO9kC\nxrIOEu9LDBnbn8AXjFg1PRnBH2unRjBUKGz9/IGqkrHojCkCd0EOKlgw3AO5\n8U6hTLfdQs4OqTpGqxt/QPgTxVEZ1G2UEj29Julm8RAMNPP7LHfz+AviDaez\nkfcrGwHgbuGbUe+Ukmbs6eL1Keu6K8D6u9MiU1kU0ztFnIclyTPvFyaZm8AR\nUNqVtY1He2KY7U9BTL1gs9tcDB3jyi139Rmb8ocv7TghOUMa6ZxdSbmZribC\nms/UAABK72MBc2MJ8gZ3fzrn5Clle2i3umm2FR221tsmRth9gYhHXmMwVCd4\nL0PLlp5JiR9nekL3Qy1P6UGjX1MsYuHdj7ugVBadBt74Y+W40/28TsOAowh0\nFo8d5iQUBzuomeuHs4jG6a9AI2/PO3B5NDE2BEPiaMeigbv6kT5GTKQPM5LG\nc0u/17JZrVbvKOBf951mEoWf91zAb09mYv5aPMMVs0sm+WBW8qzXsmS5mYEP\nGRsRwsdTDW0kY1JoRipTsH6acT0VNaFlMZtga3drH24gQnamkbIHKFfKqDSu\nRagW\r\n=soxY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCgvjIf6PsIRycPNLwBByYp04khDz7Bz+PUybhxN0UPkAIhAODMdw+hwpVgAaFGaFNaek7WbgEryQfQQNAroJ3mHpER"}]},"_npmUser":{"name":"devadactiveasia","email":"dev@adactive.asia"},"directories":{},"maintainers":[{"name":"devadactiveasia","email":"dev@adactive.asia"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apify-client_0.0.4_1644377296747_0.7716572156634809"},"_hasShrinkwrap":false}},"time":{"created":"2022-01-25T14:04:50.939Z","0.0.1":"2022-01-25T14:04:51.128Z","modified":"2022-04-04T11:22:41.692Z","0.0.2":"2022-01-25T14:22:39.144Z","0.0.3":"2022-02-09T03:21:33.539Z","0.0.4":"2022-02-09T03:28:16.961Z"},"maintainers":[{"name":"devadactiveasia","email":"dev@adactive.asia"}],"description":"Apify API client for JavaScript","homepage":"https://apify.com/docs/sdk/apify-client-js/latest","keywords":["apify","api","apifier","crawler","scraper"],"repository":{"type":"git","url":"git+https://github.com/apifytech/apify-client-js.git"},"contributors":[{"name":"Jan Curn","email":"jan@apify.com"},{"name":"Marek Trunkát","email":"marek@apify.com"},{"name":"Ondra Urban","email":"ondra@apify.com"},{"name":"Jakub Drobník","email":"jakub.drobnik@apify.com"}],"author":{"name":"Apify","email":"support@apify.com","url":"https://apify.com"},"bugs":{"url":"https://github.com/apifytech/apify-client-js/issues"},"license":"Apache-2.0","readme":"fork from apify client for javascript\nfixing error on build\n\n# Apify API client for JavaScript\n`apify-client` is the official library to access [Apify API](https://docs.apify.com/api/v2) from your\nJavaScript applications. It runs both in Node.js and browser and provides useful features like\nautomatic retries and convenience functions that improve the experience of using the Apify API.\n\n<!-- toc -->\n\n- [Quick Start](#quick-start)\n- [Features](#features)\n  * [Automatic parsing and error handling](#automatic-parsing-and-error-handling)\n  * [Retries with exponential backoff](#retries-with-exponential-backoff)\n  * [Convenience functions and options](#convenience-functions-and-options)\n- [Usage concepts](#usage-concepts)\n  * [Nested clients](#nested-clients)\n  * [Pagination](#pagination)\n- [API Reference](#api-reference)\n\n<!-- tocstop -->\n\n## Quick Start\n```js\nconst ApifyClient = require('apify-client');\n\nconst client = new ApifyClient({\n    token: 'MY-APIFY-TOKEN',\n});\n\n// Starts an actor and waits for it to finish.\nconst { defaultDatasetId } = await client.actor('john-doe/my-cool-actor').call();\n// Fetches results from the actor's dataset.\nconst { items } = await client.dataset(defaultDatasetId).listItems();\n```\n\n## Features\nBesides greatly simplifying the process of querying the Apify API, the client provides other useful features.\n\n### Automatic parsing and error handling\nBased on the endpoint, the client automatically extracts the relevant data and returns it in the\nexpected format. Date strings are automatically converted to `Date` objects. For exceptions,\nwe throw an `ApifyApiError`, which wraps the plain JSON errors returned by API and enriches\nthem with other context for easier debugging.\n\n### Retries with exponential backoff\nNetwork communication sometimes fails, that's a given. The client will automatically retry requests that\nfailed due to a network error, an internal error of the Apify API (HTTP 500+) or rate limit error (HTTP 429).\nBy default, it will retry up to 8 times. First retry will be attempted after ~500ms, second after ~1000ms\nand so on. You can configure those parameters using the `maxRetries` and `minDelayBetweenRetriesMillis`\noptions of the `ApifyClient` constructor.\n\n### Convenience functions and options\nSome actions can't be performed by the API itself, such as indefinite waiting for an actor run to finish\n(because of network timeouts). The client provides convenient `call()` and `waitForFinish()` functions that do that.\nKey-value store records can be retrieved as objects, buffers or streams via the respective options, dataset items\ncan be fetched as individual objects or serialized data and we plan to add better stream support and async iterators.\n\n## Usage concepts\nThe `ApifyClient` interface follows a generic pattern that is applicable to all of its components.\nBy calling individual methods of `ApifyClient`, specific clients which target individual API\nresources are created. There are two types of those clients. A client for management of a single\nresource and a client for a collection of resources.\n\n```js\nconst ApifyClient = require('apify-client');\nconst apifyClient = new ApifyClient({ token: 'my-token' });\n\n// Collection clients do not require a parameter.\nconst actorCollectionClient = apifyClient.actors();\n// Creates an actor with the name: my-actor.\nconst myActor = await actorCollectionClient.create({ name: 'my-actor' });\n// Lists all of your actors.\nconst { items } = await actorCollectionClient.list();\n```\n\n```js\n// Collection clients do not require a parameter.\nconst datasetCollectionClient = apifyClient.datasets();\n// Gets (or creates, if it doesn't exist) a dataset with the name of my-dataset.\nconst myDataset = await datasetCollectionClient.getOrCreate('my-dataset');\n```\n\n```js\n// Resource clients accept an ID of the resource.\nconst actorClient = apifyClient.actor('john-doe/my-actor');\n// Fetches the john-doe/my-actor object from the API.\nconst myActor = await actorClient.get();\n// Starts the run of john-doe/my-actor and returns the Run object.\nconst myActorRun = await actorClient.start();\n```\n\n```js\n// Resource clients accept an ID of the resource.\nconst datasetClient = apifyClient.dataset('john-doe/my-dataset');\n// Appends items to the end of john-doe/my-dataset.\nawait datasetClient.pushItems([{ foo: 1 }, { bar: 2 }]);\n```\n\n> The ID of the resource can be either the `id` of the said resource,\n> or a combination of your `username/resource-name`.\n\nThis is really all you need to remember, because all resource clients\nfollow the pattern you see above.\n\n### Nested clients\nSometimes clients return other clients. That's to simplify working with\nnested collections, such as runs of a given actor.\n\n```js\nconst actorClient = apifyClient.actor('john-doe/hello-world');\nconst runsClient = actorClient.runs();\n// Lists the last 10 runs of the john-doe/hello-world actor.\nconst { items } = await runsClient.list({ limit: 10, desc: true })\n\n// Selects the last run of the john-doe/hello-world actor that finished\n// with a SUCCEEDED status.\nconst lastSucceededRunClient = actorClient.lastRun({ status: 'SUCCEEDED' });\n// Fetches items from the run's dataset.\nconst { items } = await lastSucceededRunClient.dataset().listItems();\n```\n\n> The quick access to `dataset` and other storages directly from the run\n> client can now only be used with the `lastRun()` method, but the feature\n> will be available to all runs in the future.\n\n### Pagination\nMost methods named `list` or `listSomething` return a [<code>Promise.&lt;PaginationList&gt;</code>](#PaginationList).\nThere are some exceptions though, like `listKeys` or `listHead` which paginate differently.\nThe results you're looking for are always stored under `items` and you can use the `limit`\nproperty to get only a subset of results. Other props are also available, depending on the method.\n\n## API Reference\nAll public classes, methods and their parameters can be inspected in this API reference.\n\n<a name=\"ApifyClient\"></a>\n\n### [](#ApifyClient) ApifyClient\n\nApifyClient is the official library to access [Apify API](https://docs.apify.com/api/v2) from your\nJavaScript applications. It runs both in Node.js and browser.\n\n\n* [ApifyClient](#ApifyClient)\n    * [`new ApifyClient([options])`](#new_ApifyClient_new)\n    * [`.actors()`](#ApifyClient+actors) ⇒ [<code>ActorCollectionClient</code>](#ActorCollectionClient)\n    * [`.actor(id)`](#ApifyClient+actor) ⇒ [<code>ActorClient</code>](#ActorClient)\n    * [`.build(id)`](#ApifyClient+build) ⇒ [<code>BuildClient</code>](#BuildClient)\n    * [`.datasets()`](#ApifyClient+datasets) ⇒ [<code>DatasetCollectionClient</code>](#DatasetCollectionClient)\n    * [`.dataset(id)`](#ApifyClient+dataset) ⇒ [<code>DatasetClient</code>](#DatasetClient)\n    * [`.keyValueStores()`](#ApifyClient+keyValueStores) ⇒ [<code>KeyValueStoreCollectionClient</code>](#KeyValueStoreCollectionClient)\n    * [`.keyValueStore(id)`](#ApifyClient+keyValueStore) ⇒ [<code>KeyValueStoreClient</code>](#KeyValueStoreClient)\n    * [`.log(buildOrRunId)`](#ApifyClient+log) ⇒ [<code>LogClient</code>](#LogClient)\n    * [`.requestQueues()`](#ApifyClient+requestQueues) ⇒ [<code>RequestQueueCollection</code>](#RequestQueueCollection)\n    * [`.requestQueue(id, [options])`](#ApifyClient+requestQueue) ⇒ [<code>RequestQueueClient</code>](#RequestQueueClient)\n    * [`.run(id)`](#ApifyClient+run) ⇒ [<code>RunClient</code>](#RunClient)\n    * [`.tasks()`](#ApifyClient+tasks) ⇒ [<code>TaskCollectionClient</code>](#TaskCollectionClient)\n    * [`.task(id)`](#ApifyClient+task) ⇒ [<code>TaskClient</code>](#TaskClient)\n    * [`.schedules()`](#ApifyClient+schedules) ⇒ [<code>ScheduleCollectionClient</code>](#ScheduleCollectionClient)\n    * [`.schedule(id)`](#ApifyClient+schedule) ⇒ [<code>ScheduleClient</code>](#ScheduleClient)\n    * [`.user(id)`](#ApifyClient+user) ⇒ [<code>UserClient</code>](#UserClient)\n    * [`.webhooks()`](#ApifyClient+webhooks) ⇒ [<code>WebhookCollectionClient</code>](#WebhookCollectionClient)\n    * [`.webhook(id)`](#ApifyClient+webhook) ⇒ [<code>WebhookClient</code>](#WebhookClient)\n    * [`.webhookDispatches()`](#ApifyClient+webhookDispatches) ⇒ [<code>WebhookDispatchCollectionClient</code>](#WebhookDispatchCollectionClient)\n    * [`.webhookDispatch(id)`](#ApifyClient+webhookDispatch) ⇒ [<code>WebhookDispatchClient</code>](#WebhookDispatchClient)\n\n\n* * *\n\n<a name=\"new_ApifyClient_new\"></a>\n\n#### [](#ApifyClient) `new ApifyClient([options])`\n\n\n| Param | Type | Default |\n| --- | --- | --- |\n| [options] | <code>object</code> |  | \n| [options.baseUrl] | <code>string</code> | <code>&quot;https://api.apify.com&quot;</code> | \n| [options.maxRetries] | <code>number</code> | <code>8</code> | \n| [options.minDelayBetweenRetriesMillis] | <code>number</code> | <code>500</code> | \n| [options.requestInterceptors] | <code>Array.&lt;function()&gt;</code> |  | \n| [options.timeoutSecs] | <code>number</code> |  | \n| [options.token] | <code>string</code> |  | \n\n\n* * *\n\n<a name=\"ApifyClient+actors\"></a>\n\n#### [](#ApifyClient+actors) `apifyClient.actors()` ⇒ [<code>ActorCollectionClient</code>](#ActorCollectionClient)\n\nhttps://docs.apify.com/api/v2#/reference/actors/actor-collection\n\n\n* * *\n\n<a name=\"ApifyClient+actor\"></a>\n\n#### [](#ApifyClient+actor) `apifyClient.actor(id)` ⇒ [<code>ActorClient</code>](#ActorClient)\n\nhttps://docs.apify.com/api/v2#/reference/actors/actor-object\n\n\n| Param | Type |\n| --- | --- |\n| id | <code>string</code> | \n\n\n* * *\n\n<a name=\"ApifyClient+build\"></a>\n\n#### [](#ApifyClient+build) `apifyClient.build(id)` ⇒ [<code>BuildClient</code>](#BuildClient)\n\nhttps://docs.apify.com/api/v2#/reference/actor-builds/build-object\n\n\n| Param | Type |\n| --- | --- |\n| id | <code>string</code> | \n\n\n* * *\n\n<a name=\"ApifyClient+datasets\"></a>\n\n#### [](#ApifyClient+datasets) `apifyClient.datasets()` ⇒ [<code>DatasetCollectionClient</code>](#DatasetCollectionClient)\n\nhttps://docs.apify.com/api/v2#/reference/datasets/dataset-collection\n\n\n* * *\n\n<a name=\"ApifyClient+dataset\"></a>\n\n#### [](#ApifyClient+dataset) `apifyClient.dataset(id)` ⇒ [<code>DatasetClient</code>](#DatasetClient)\n\nhttps://docs.apify.com/api/v2#/reference/datasets/dataset\n\n\n| Param | Type |\n| --- | --- |\n| id | <code>string</code> | \n\n\n* * *\n\n<a name=\"ApifyClient+keyValueStores\"></a>\n\n#### [](#ApifyClient+keyValueStores) `apifyClient.keyValueStores()` ⇒ [<code>KeyValueStoreCollectionClient</code>](#KeyValueStoreCollectionClient)\n\nhttps://docs.apify.com/api/v2#/reference/key-value-stores/store-collection\n\n\n* * *\n\n<a name=\"ApifyClient+keyValueStore\"></a>\n\n#### [](#ApifyClient+keyValueStore) `apifyClient.keyValueStore(id)` ⇒ [<code>KeyValueStoreClient</code>](#KeyValueStoreClient)\n\nhttps://docs.apify.com/api/v2#/reference/key-value-stores/store-object\n\n\n| Param | Type |\n| --- | --- |\n| id | <code>string</code> | \n\n\n* * *\n\n<a name=\"ApifyClient+log\"></a>\n\n#### [](#ApifyClient+log) `apifyClient.log(buildOrRunId)` ⇒ [<code>LogClient</code>](#LogClient)\n\nhttps://docs.apify.com/api/v2#/reference/logs\n\n\n| Param | Type |\n| --- | --- |\n| buildOrRunId | <code>string</code> | \n\n\n* * *\n\n<a name=\"ApifyClient+requestQueues\"></a>\n\n#### [](#ApifyClient+requestQueues) `apifyClient.requestQueues()` ⇒ [<code>RequestQueueCollection</code>](#RequestQueueCollection)\n\nhttps://docs.apify.com/api/v2#/reference/request-queues/queue-collection\n\n\n* * *\n\n<a name=\"ApifyClient+requestQueue\"></a>\n\n#### [](#ApifyClient+requestQueue) `apifyClient.requestQueue(id, [options])` ⇒ [<code>RequestQueueClient</code>](#RequestQueueClient)\n\nhttps://docs.apify.com/api/v2#/reference/request-queues/queue\n\n\n| Param | Type |\n| --- | --- |\n| id | <code>string</code> | \n| [options] | <code>object</code> | \n| [options.clientKey] | <code>object</code> | \n\n\n* * *\n\n<a name=\"ApifyClient+run\"></a>\n\n#### [](#ApifyClient+run) `apifyClient.run(id)` ⇒ [<code>RunClient</code>](#RunClient)\n\nhttps://docs.apify.com/api/v2#/reference/actor-runs/run-object-and-its-storages\n\n\n| Param | Type |\n| --- | --- |\n| id | <code>string</code> | \n\n\n* * *\n\n<a name=\"ApifyClient+tasks\"></a>\n\n#### [](#ApifyClient+tasks) `apifyClient.tasks()` ⇒ [<code>TaskCollectionClient</code>](#TaskCollectionClient)\n\nhttps://docs.apify.com/api/v2#/reference/actor-tasks/task-collection\n\n\n* * *\n\n<a name=\"ApifyClient+task\"></a>\n\n#### [](#ApifyClient+task) `apifyClient.task(id)` ⇒ [<code>TaskClient</code>](#TaskClient)\n\nhttps://docs.apify.com/api/v2#/reference/actor-tasks/task-object\n\n\n| Param | Type |\n| --- | --- |\n| id | <code>string</code> | \n\n\n* * *\n\n<a name=\"ApifyClient+schedules\"></a>\n\n#### [](#ApifyClient+schedules) `apifyClient.schedules()` ⇒ [<code>ScheduleCollectionClient</code>](#ScheduleCollectionClient)\n\nhttps://docs.apify.com/api/v2#/reference/schedules/schedules-collection\n\n\n* * *\n\n<a name=\"ApifyClient+schedule\"></a>\n\n#### [](#ApifyClient+schedule) `apifyClient.schedule(id)` ⇒ [<code>ScheduleClient</code>](#ScheduleClient)\n\nhttps://docs.apify.com/api/v2#/reference/schedules/schedule-object\n\n\n| Param | Type |\n| --- | --- |\n| id | <code>string</code> | \n\n\n* * *\n\n<a name=\"ApifyClient+user\"></a>\n\n#### [](#ApifyClient+user) `apifyClient.user(id)` ⇒ [<code>UserClient</code>](#UserClient)\n\nhttps://docs.apify.com/api/v2#/reference/users\n\n\n| Param | Type |\n| --- | --- |\n| id | <code>string</code> | \n\n\n* * *\n\n<a name=\"ApifyClient+webhooks\"></a>\n\n#### [](#ApifyClient+webhooks) `apifyClient.webhooks()` ⇒ [<code>WebhookCollectionClient</code>](#WebhookCollectionClient)\n\nhttps://docs.apify.com/api/v2#/reference/webhooks/webhook-collection\n\n\n* * *\n\n<a name=\"ApifyClient+webhook\"></a>\n\n#### [](#ApifyClient+webhook) `apifyClient.webhook(id)` ⇒ [<code>WebhookClient</code>](#WebhookClient)\n\nhttps://docs.apify.com/api/v2#/reference/webhooks/webhook-object\n\n\n| Param | Type |\n| --- | --- |\n| id | <code>string</code> | \n\n\n* * *\n\n<a name=\"ApifyClient+webhookDispatches\"></a>\n\n#### [](#ApifyClient+webhookDispatches) `apifyClient.webhookDispatches()` ⇒ [<code>WebhookDispatchCollectionClient</code>](#WebhookDispatchCollectionClient)\n\nhttps://docs.apify.com/api/v2#/reference/webhook-dispatches\n\n\n* * *\n\n<a name=\"ApifyClient+webhookDispatch\"></a>\n\n#### [](#ApifyClient+webhookDispatch) `apifyClient.webhookDispatch(id)` ⇒ [<code>WebhookDispatchClient</code>](#WebhookDispatchClient)\n\nhttps://docs.apify.com/api/v2#/reference/webhook-dispatches/webhook-dispatch-object\n\n\n| Param | Type |\n| --- | --- |\n| id | <code>string</code> | \n\n\n* * *\n\n<a name=\"ApifyApiError\"></a>\n\n### [](#ApifyApiError) ApifyApiError\n\nAn `ApifyApiError` is thrown for successful HTTP requests that reach the API,\nbut the API responds with an error response. Typically, those are rate limit\nerrors and internal errors, which are automatically retried, or validation\nerrors, which are thrown immediately, because a correction by the user is\nneeded.\n\n**Properties**\n\n| Name | Type | Description |\n| --- | --- | --- |\n| message | <code>string</code> | Error message returned by the API. |\n| clientMethod | <code>string</code> | The invoked resource client and the method. Known issue: Sometimes it displays  as undefined because it can't be parsed from a stack trace. |\n| statusCode | <code>number</code> | HTTP status code of the error. |\n| type | <code>string</code> | The type of the error, as returned by the API. |\n| attempt | <code>number</code> | Number of the API call attempt. |\n| httpMethod | <code>string</code> | HTTP method of the API call. |\n| path | <code>string</code> | Full path of the API endpoint (URL excluding origin). |\n| originalStack | <code>string</code> | Original stack trace of the exception. It is replaced  by a more informative stack with API call information. |\n\n\n* * *\n\n<a name=\"ActorClient\"></a>\n\n### [](#ActorClient) ActorClient\n\n\n* [ActorClient](#ActorClient)\n    * [`.build(versionNumber, [options])`](#ActorClient+build) ⇒ <code>Promise.&lt;Build&gt;</code>\n    * [`.builds()`](#ActorClient+builds) ⇒ [<code>BuildCollectionClient</code>](#BuildCollectionClient)\n    * [`.call([input], [options])`](#ActorClient+call) ⇒ <code>Promise.&lt;Run&gt;</code>\n    * [`.delete()`](#ActorClient+delete) ⇒ <code>Promise.&lt;void&gt;</code>\n    * [`.get()`](#ActorClient+get) ⇒ <code>Promise.&lt;?Actor&gt;</code>\n    * [`.lastRun([options])`](#ActorClient+lastRun) ⇒ [<code>RunClient</code>](#RunClient)\n    * [`.runs()`](#ActorClient+runs) ⇒ [<code>RunCollectionClient</code>](#RunCollectionClient)\n    * [`.start([input], [options])`](#ActorClient+start) ⇒ <code>Promise.&lt;Run&gt;</code>\n    * [`.update(newFields)`](#ActorClient+update) ⇒ <code>Promise.&lt;Actor&gt;</code>\n    * [`.version(versionNumber)`](#ActorClient+version) ⇒ [<code>ActorVersionClient</code>](#ActorVersionClient)\n    * [`.versions()`](#ActorClient+versions) ⇒ [<code>ActorVersionCollectionClient</code>](#ActorVersionCollectionClient)\n    * [`.webhooks()`](#ActorClient+webhooks) ⇒ [<code>WebhookCollectionClient</code>](#WebhookCollectionClient)\n\n\n* * *\n\n<a name=\"ActorClient+build\"></a>\n\n#### [](#ActorClient+build) `actorClient.build(versionNumber, [options])` ⇒ <code>Promise.&lt;Build&gt;</code>\n\nhttps://docs.apify.com/api/v2#/reference/actors/build-collection/build-actor\n\n\n| Param | Type |\n| --- | --- |\n| versionNumber | <code>string</code> | \n| [options] | <code>object</code> | \n| [options.betaPackages] | <code>boolean</code> | \n| [options.tag] | <code>string</code> | \n| [options.useCache] | <code>boolean</code> | \n| [options.waitForFinish] | <code>number</code> | \n\n\n* * *\n\n<a name=\"ActorClient+builds\"></a>\n\n#### [](#ActorClient+builds) `actorClient.builds()` ⇒ [<code>BuildCollectionClient</code>](#BuildCollectionClient)\n\nhttps://docs.apify.com/api/v2#/reference/actors/build-collection\n\n\n* * *\n\n<a name=\"ActorClient+call\"></a>\n\n#### [](#ActorClient+call) `actorClient.call([input], [options])` ⇒ <code>Promise.&lt;Run&gt;</code>\n\nStarts an actor and waits for it to finish before returning the Run object.\nIt waits indefinitely, unless the `waitSecs` option is provided.\nhttps://docs.apify.com/api/v2#/reference/actors/run-collection/run-actor\n\n\n| Param | Type |\n| --- | --- |\n| [input] | <code>\\*</code> | \n| [options] | <code>object</code> | \n| [options.build] | <code>string</code> | \n| [options.contentType] | <code>string</code> | \n| [options.memory] | <code>number</code> | \n| [options.timeout] | <code>number</code> | \n| [options.waitSecs] | <code>number</code> | \n| [options.webhooks] | <code>Array.&lt;object&gt;</code> | \n\n\n* * *\n\n<a name=\"ActorClient+delete\"></a>\n\n#### [](#ActorClient+delete) `actorClient.delete()` ⇒ <code>Promise.&lt;void&gt;</code>\n\nhttps://docs.apify.com/api/v2#/reference/actors/actor-object/delete-actor\n\n\n* * *\n\n<a name=\"ActorClient+get\"></a>\n\n#### [](#ActorClient+get) `actorClient.get()` ⇒ <code>Promise.&lt;?Actor&gt;</code>\n\nhttps://docs.apify.com/api/v2#/reference/actors/actor-object/get-actor\n\n\n* * *\n\n<a name=\"ActorClient+lastRun\"></a>\n\n#### [](#ActorClient+lastRun) `actorClient.lastRun([options])` ⇒ [<code>RunClient</code>](#RunClient)\n\nhttps://docs.apify.com/api/v2#/reference/actors/last-run-object-and-its-storages\n\n\n| Param | Type |\n| --- | --- |\n| [options] | <code>object</code> | \n| [options.status] | <code>string</code> | \n\n\n* * *\n\n<a name=\"ActorClient+runs\"></a>\n\n#### [](#ActorClient+runs) `actorClient.runs()` ⇒ [<code>RunCollectionClient</code>](#RunCollectionClient)\n\nhttps://docs.apify.com/api/v2#/reference/actors/run-collection\n\n\n* * *\n\n<a name=\"ActorClient+start\"></a>\n\n#### [](#ActorClient+start) `actorClient.start([input], [options])` ⇒ <code>Promise.&lt;Run&gt;</code>\n\nStarts an actor and immediately returns the Run object.\nhttps://docs.apify.com/api/v2#/reference/actors/run-collection/run-actor\n\n\n| Param | Type |\n| --- | --- |\n| [input] | <code>\\*</code> | \n| [options] | <code>object</code> | \n| [options.build] | <code>string</code> | \n| [options.contentType] | <code>string</code> | \n| [options.memory] | <code>number</code> | \n| [options.timeout] | <code>number</code> | \n| [options.waitForFinish] | <code>number</code> | \n| [options.webhooks] | <code>Array.&lt;object&gt;</code> | \n\n\n* * *\n\n<a name=\"ActorClient+update\"></a>\n\n#### [](#ActorClient+update) `actorClient.update(newFields)` ⇒ <code>Promise.&lt;Actor&gt;</code>\n\nhttps://docs.apify.com/api/v2#/reference/actors/actor-object/update-actor\n\n\n| Param | Type |\n| --- | --- |\n| newFields | <code>object</code> | \n\n\n* * *\n\n<a name=\"ActorClient+version\"></a>\n\n#### [](#ActorClient+version) `actorClient.version(versionNumber)` ⇒ [<code>ActorVersionClient</code>](#ActorVersionClient)\n\nhttps://docs.apify.com/api/v2#/reference/actors/version-object\n\n\n| Param | Type |\n| --- | --- |\n| versionNumber | <code>string</code> | \n\n\n* * *\n\n<a name=\"ActorClient+versions\"></a>\n\n#### [](#ActorClient+versions) `actorClient.versions()` ⇒ [<code>ActorVersionCollectionClient</code>](#ActorVersionCollectionClient)\n\nhttps://docs.apify.com/api/v2#/reference/actors/version-collection\n\n\n* * *\n\n<a name=\"ActorClient+webhooks\"></a>\n\n#### [](#ActorClient+webhooks) `actorClient.webhooks()` ⇒ [<code>WebhookCollectionClient</code>](#WebhookCollectionClient)\n\nhttps://docs.apify.com/api/v2#/reference/actors/webhook-collection\n\n\n* * *\n\n<a name=\"ActorCollectionClient\"></a>\n\n### [](#ActorCollectionClient) ActorCollectionClient\n\n\n* [ActorCollectionClient](#ActorCollectionClient)\n    * [`.create([actor])`](#ActorCollectionClient+create) ⇒ <code>Promise.&lt;Actor&gt;</code>\n    * [`.list([options])`](#ActorCollectionClient+list) ⇒ [<code>Promise.&lt;PaginationList&gt;</code>](#PaginationList)\n\n\n* * *\n\n<a name=\"ActorCollectionClient+create\"></a>\n\n#### [](#ActorCollectionClient+create) `actorCollectionClient.create([actor])` ⇒ <code>Promise.&lt;Actor&gt;</code>\n\nhttps://docs.apify.com/api/v2#/reference/actors/actor-collection/create-actor\n\n\n| Param | Type |\n| --- | --- |\n| [actor] | <code>object</code> | \n\n\n* * *\n\n<a name=\"ActorCollectionClient+list\"></a>\n\n#### [](#ActorCollectionClient+list) `actorCollectionClient.list([options])` ⇒ [<code>Promise.&lt;PaginationList&gt;</code>](#PaginationList)\n\nhttps://docs.apify.com/api/v2#/reference/actors/actor-collection/get-list-of-actors\n\n\n| Param | Type |\n| --- | --- |\n| [options] | <code>object</code> | \n| [options.my] | <code>boolean</code> | \n| [options.limit] | <code>number</code> | \n| [options.offset] | <code>number</code> | \n| [options.desc] | <code>boolean</code> | \n\n\n* * *\n\n<a name=\"ActorVersionClient\"></a>\n\n### [](#ActorVersionClient) ActorVersionClient\n\n\n* [ActorVersionClient](#ActorVersionClient)\n    * [`.delete()`](#ActorVersionClient+delete) ⇒ <code>Promise.&lt;void&gt;</code>\n    * [`.get()`](#ActorVersionClient+get) ⇒ <code>Promise.&lt;ActorVersion&gt;</code>\n    * [`.update(newFields)`](#ActorVersionClient+update) ⇒ <code>Promise.&lt;ActorVersion&gt;</code>\n\n\n* * *\n\n<a name=\"ActorVersionClient+delete\"></a>\n\n#### [](#ActorVersionClient+delete) `actorVersionClient.delete()` ⇒ <code>Promise.&lt;void&gt;</code>\n\nhttps://docs.apify.com/api/v2#/reference/actors/version-object/delete-version\n\n\n* * *\n\n<a name=\"ActorVersionClient+get\"></a>\n\n#### [](#ActorVersionClient+get) `actorVersionClient.get()` ⇒ <code>Promise.&lt;ActorVersion&gt;</code>\n\nhttps://docs.apify.com/api/v2#/reference/actors/version-object/get-version\n\n\n* * *\n\n<a name=\"ActorVersionClient+update\"></a>\n\n#### [](#ActorVersionClient+update) `actorVersionClient.update(newFields)` ⇒ <code>Promise.&lt;ActorVersion&gt;</code>\n\nhttps://docs.apify.com/api/v2#/reference/actors/version-object/update-version\n\n\n| Param | Type |\n| --- | --- |\n| newFields | <code>object</code> | \n\n\n* * *\n\n<a name=\"ActorVersionCollectionClient\"></a>\n\n### [](#ActorVersionCollectionClient) ActorVersionCollectionClient\n\n\n* [ActorVersionCollectionClient](#ActorVersionCollectionClient)\n    * [`.create([actorVersion])`](#ActorVersionCollectionClient+create) ⇒ <code>Promise.&lt;object&gt;</code>\n    * [`.list([options])`](#ActorVersionCollectionClient+list) ⇒ [<code>Promise.&lt;PaginationList&gt;</code>](#PaginationList)\n\n\n* * *\n\n<a name=\"ActorVersionCollectionClient+create\"></a>\n\n#### [](#ActorVersionCollectionClient+create) `actorVersionCollectionClient.create([actorVersion])` ⇒ <code>Promise.&lt;object&gt;</code>\n\nhttps://docs.apify.com/api/v2#/reference/actors/version-collection/create-version\n\n\n| Param | Type |\n| --- | --- |\n| [actorVersion] | <code>object</code> | \n\n\n* * *\n\n<a name=\"ActorVersionCollectionClient+list\"></a>\n\n#### [](#ActorVersionCollectionClient+list) `actorVersionCollectionClient.list([options])` ⇒ [<code>Promise.&lt;PaginationList&gt;</code>](#PaginationList)\n\nhttps://docs.apify.com/api/v2#/reference/actors/version-collection/get-list-of-versions\n\n\n| Param | Type |\n| --- | --- |\n| [options] | <code>object</code> | \n| [options.limit] | <code>number</code> | \n| [options.offset] | <code>number</code> | \n| [options.desc] | <code>boolean</code> | \n\n\n* * *\n\n<a name=\"BuildClient\"></a>\n\n### [](#BuildClient) BuildClient\n\n\n* [BuildClient](#BuildClient)\n    * [`.abort()`](#BuildClient+abort) ⇒ <code>Promise.&lt;Build&gt;</code>\n    * [`.get([options])`](#BuildClient+get) ⇒ <code>Promise.&lt;Build&gt;</code>\n    * [`.waitForFinish([options])`](#BuildClient+waitForFinish) ⇒ <code>Promise.&lt;Build&gt;</code>\n\n\n* * *\n\n<a name=\"BuildClient+abort\"></a>\n\n#### [](#BuildClient+abort) `buildClient.abort()` ⇒ <code>Promise.&lt;Build&gt;</code>\n\nhttps://docs.apify.com/api/v2#/reference/actor-builds/abort-build/abort-build\n\n\n* * *\n\n<a name=\"BuildClient+get\"></a>\n\n#### [](#BuildClient+get) `buildClient.get([options])` ⇒ <code>Promise.&lt;Build&gt;</code>\n\nhttps://docs.apify.com/api/v2#/reference/actor-builds/build-object/get-build\n\n\n| Param | Type |\n| --- | --- |\n| [options] | <code>object</code> | \n| [options.waitForFinish] | <code>number</code> | \n\n\n* * *\n\n<a name=\"BuildClient+waitForFinish\"></a>\n\n#### [](#BuildClient+waitForFinish) `buildClient.waitForFinish([options])` ⇒ <code>Promise.&lt;Build&gt;</code>\n\nReturns a promise that resolves with the finished Build object when the provided actor build finishes\nor with the unfinished Build object when the `waitSecs` timeout lapses. The promise is NOT rejected\nbased on run status. You can inspect the `status` property of the Build object to find out its status.\n\nThe difference between this function and the `waitForFinish` parameter of the `get` method\nis the fact that this function can wait indefinitely. Its use is preferable to the\n`waitForFinish` parameter alone, which it uses internally.\n\nThis is useful when you need to immediately start a run after a build finishes.\n\n\n| Param | Type | Description |\n| --- | --- | --- |\n| [options] | <code>object</code> |  |\n| [options.waitSecs] | <code>number</code> | Maximum time to wait for the build to finish, in seconds.  If the limit is reached, the returned promise is resolved to a build object that will have  status `READY` or `RUNNING`. If `waitSecs` omitted, the function waits indefinitely. |\n\n\n* * *\n\n<a name=\"BuildCollectionClient\"></a>\n\n### [](#BuildCollectionClient) BuildCollectionClient\n\n\n* * *\n\n<a name=\"BuildCollectionClient+list\"></a>\n\n#### [](#BuildCollectionClient+list) `buildCollectionClient.list([options])` ⇒ [<code>Promise.&lt;PaginationList&gt;</code>](#PaginationList)\n\nhttps://docs.apify.com/api/v2#/reference/actors/build-collection/get-list-of-builds\n\n\n| Param | Type |\n| --- | --- |\n| [options] | <code>object</code> | \n| [options.limit] | <code>number</code> | \n| [options.offset] | <code>number</code> | \n| [options.desc] | <code>boolean</code> | \n\n\n* * *\n\n<a name=\"DatasetClient\"></a>\n\n### [](#DatasetClient) DatasetClient\n\n\n* [DatasetClient](#DatasetClient)\n    * [`.delete()`](#DatasetClient+delete) ⇒ <code>Promise.&lt;void&gt;</code>\n    * [`.downloadItems(format, [options])`](#DatasetClient+downloadItems) ⇒ <code>Promise.&lt;Buffer&gt;</code>\n    * [`.get()`](#DatasetClient+get) ⇒ <code>Promise.&lt;Dataset&gt;</code>\n    * [`.listItems([options])`](#DatasetClient+listItems) ⇒ [<code>Promise.&lt;PaginationList&gt;</code>](#PaginationList)\n    * [`.pushItems(items)`](#DatasetClient+pushItems) ⇒ <code>Promise.&lt;void&gt;</code>\n    * [`.update(newFields)`](#DatasetClient+update) ⇒ <code>Promise.&lt;Dataset&gt;</code>\n\n\n* * *\n\n<a name=\"DatasetClient+delete\"></a>\n\n#### [](#DatasetClient+delete) `datasetClient.delete()` ⇒ <code>Promise.&lt;void&gt;</code>\n\nhttps://docs.apify.com/api/v2#/reference/datasets/dataset/delete-dataset\n\n\n* * *\n\n<a name=\"DatasetClient+downloadItems\"></a>\n\n#### [](#DatasetClient+downloadItems) `datasetClient.downloadItems(format, [options])` ⇒ <code>Promise.&lt;Buffer&gt;</code>\n\nUnlike `listItems` which returns a [PaginationList](#PaginationList) with an array of individual\ndataset items, `downloadItems` returns the items serialized to the provided format.\nhttps://docs.apify.com/api/v2#/reference/datasets/item-collection/get-items\n\n\n| Param | Type | Description |\n| --- | --- | --- |\n| format | <code>string</code> | One of json, jsonl, xml, html, csv, xlsx, rss |\n| [options] | <code>object</code> |  |\n| [options.attachment] | <code>boolean</code> |  |\n| [options.bom] | <code>boolean</code> |  |\n| [options.clean] | <code>boolean</code> |  |\n| [options.delimiter] | <code>string</code> |  |\n| [options.desc] | <code>boolean</code> |  |\n| [options.fields] | <code>Array.&lt;string&gt;</code> |  |\n| [options.omit] | <code>Array.&lt;string&gt;</code> |  |\n| [options.limit] | <code>number</code> |  |\n| [options.offset] | <code>number</code> |  |\n| [options.skipEmpty] | <code>boolean</code> |  |\n| [options.skipHeaderRow] | <code>boolean</code> |  |\n| [options.skipHidden] | <code>boolean</code> |  |\n| [options.unwind] | <code>string</code> |  |\n| [options.xmlRoot] | <code>string</code> |  |\n| [options.xmlRow] | <code>string</code> |  |\n\n\n* * *\n\n<a name=\"DatasetClient+get\"></a>\n\n#### [](#DatasetClient+get) `datasetClient.get()` ⇒ <code>Promise.&lt;Dataset&gt;</code>\n\nhttps://docs.apify.com/api/v2#/reference/datasets/dataset/get-dataset\n\n\n* * *\n\n<a name=\"DatasetClient+listItems\"></a>\n\n#### [](#DatasetClient+listItems) `datasetClient.listItems([options])` ⇒ [<code>Promise.&lt;PaginationList&gt;</code>](#PaginationList)\n\nhttps://docs.apify.com/api/v2#/reference/datasets/item-collection/get-items\n\n\n| Param | Type |\n| --- | --- |\n| [options] | <code>object</code> | \n| [options.clean] | <code>boolean</code> | \n| [options.desc] | <code>boolean</code> | \n| [options.fields] | <code>Array.&lt;string&gt;</code> | \n| [options.omit] | <code>Array.&lt;string&gt;</code> | \n| [options.limit] | <code>number</code> | \n| [options.offset] | <code>number</code> | \n| [options.skipEmpty] | <code>boolean</code> | \n| [options.skipHidden] | <code>boolean</code> | \n| [options.unwind] | <code>string</code> | \n\n\n* * *\n\n<a name=\"DatasetClient+pushItems\"></a>\n\n#### [](#DatasetClient+pushItems) `datasetClient.pushItems(items)` ⇒ <code>Promise.&lt;void&gt;</code>\n\nhttps://docs.apify.com/api/v2#/reference/datasets/item-collection/put-items\n\n\n| Param | Type |\n| --- | --- |\n| items | <code>object</code> \\| <code>string</code> \\| <code>Array.&lt;(object\\|string)&gt;</code> | \n\n\n* * *\n\n<a name=\"DatasetClient+update\"></a>\n\n#### [](#DatasetClient+update) `datasetClient.update(newFields)` ⇒ <code>Promise.&lt;Dataset&gt;</code>\n\nhttps://docs.apify.com/api/v2#/reference/datasets/dataset/update-dataset\n\n\n| Param | Type |\n| --- | --- |\n| newFields | <code>object</code> | \n\n\n* * *\n\n<a name=\"DatasetCollectionClient\"></a>\n\n### [](#DatasetCollectionClient) DatasetCollectionClient\n\n\n* [DatasetCollectionClient](#DatasetCollectionClient)\n    * [`.getOrCreate([name])`](#DatasetCollectionClient+getOrCreate) ⇒ <code>Promise.&lt;object&gt;</code>\n    * [`.list([options])`](#DatasetCollectionClient+list) ⇒ [<code>Promise.&lt;PaginationList&gt;</code>](#PaginationList)\n\n\n* * *\n\n<a name=\"DatasetCollectionClient+getOrCreate\"></a>\n\n#### [](#DatasetCollectionClient+getOrCreate) `datasetCollectionClient.getOrCreate([name])` ⇒ <code>Promise.&lt;object&gt;</code>\n\nhttps://docs.apify.com/api/v2#/reference/datasets/dataset-collection/create-dataset\n\n\n| Param | Type |\n| --- | --- |\n| [name] | <code>string</code> | \n\n\n* * *\n\n<a name=\"DatasetCollectionClient+list\"></a>\n\n#### [](#DatasetCollectionClient+list) `datasetCollectionClient.list([options])` ⇒ [<code>Promise.&lt;PaginationList&gt;</code>](#PaginationList)\n\nhttps://docs.apify.com/api/v2#/reference/datasets/dataset-collection/get-list-of-datasets\n\n\n| Param | Type |\n| --- | --- |\n| [options] | <code>object</code> | \n| [options.unnamed] | <code>boolean</code> | \n| [options.limit] | <code>number</code> | \n| [options.offset] | <code>number</code> | \n| [options.desc] | <code>boolean</code> | \n\n\n* * *\n\n<a name=\"KeyValueStoreClient\"></a>\n\n### [](#KeyValueStoreClient) KeyValueStoreClient\n\n\n* [KeyValueStoreClient](#KeyValueStoreClient)\n    * [`.delete()`](#KeyValueStoreClient+delete) ⇒ <code>Promise.&lt;void&gt;</code>\n    * [`.deleteRecord(key)`](#KeyValueStoreClient+deleteRecord) ⇒ <code>Promise.&lt;void&gt;</code>\n    * [`.get()`](#KeyValueStoreClient+get) ⇒ <code>Promise.&lt;KeyValueStore&gt;</code>\n    * [`.getRecord(key, [options])`](#KeyValueStoreClient+getRecord) ⇒ <code>Promise.&lt;(KeyValueStoreRecord\\|undefined)&gt;</code>\n    * [`.listKeys([options])`](#KeyValueStoreClient+listKeys) ⇒ <code>Promise.&lt;object&gt;</code>\n    * [`.setRecord(record)`](#KeyValueStoreClient+setRecord) ⇒ <code>Promise.&lt;void&gt;</code>\n    * [`.update(newFields)`](#KeyValueStoreClient+update) ⇒ <code>Promise.&lt;KeyValueStore&gt;</code>\n\n\n* * *\n\n<a name=\"KeyValueStoreClient+delete\"></a>\n\n#### [](#KeyValueStoreClient+delete) `keyValueStoreClient.delete()` ⇒ <code>Promise.&lt;void&gt;</code>\n\nhttps://docs.apify.com/api/v2#/reference/key-value-stores/store-object/delete-store\n\n\n* * *\n\n<a name=\"KeyValueStoreClient+deleteRecord\"></a>\n\n#### [](#KeyValueStoreClient+deleteRecord) `keyValueStoreClient.deleteRecord(key)` ⇒ <code>Promise.&lt;void&gt;</code>\n\nhttps://docs.apify.com/api/v2#/reference/key-value-stores/record/delete-record\n\n\n| Param | Type |\n| --- | --- |\n| key | <code>string</code> | \n\n\n* * *\n\n<a name=\"KeyValueStoreClient+get\"></a>\n\n#### [](#KeyValueStoreClient+get) `keyValueStoreClient.get()` ⇒ <code>Promise.&lt;KeyValueStore&gt;</code>\n\nhttps://docs.apify.com/api/v2#/reference/key-value-stores/store-object/get-store\n\n\n* * *\n\n<a name=\"KeyValueStoreClient+getRecord\"></a>\n\n#### [](#KeyValueStoreClient+getRecord) `keyValueStoreClient.getRecord(key, [options])` ⇒ <code>Promise.&lt;(KeyValueStoreRecord\\|undefined)&gt;</code>\n\nYou can use the `buffer` option to get the value in a Buffer (Node.js)\nor ArrayBuffer (browser) format. In Node.js (not in browser) you can also\nuse the `stream` option to get a Readable stream.\n\nWhen the record does not exist, the function resolves to `undefined`. It does\nNOT resolve to a `KeyValueStore` record with an `undefined` value.\nhttps://docs.apify.com/api/v2#/reference/key-value-stores/record/get-record\n\n\n| Param | Type |\n| --- | --- |\n| key | <code>string</code> | \n| [options] | <code>object</code> | \n| [options.buffer] | <code>boolean</code> | \n| [options.stream] | <code>boolean</code> | \n\n\n* * *\n\n<a name=\"KeyValueStoreClient+listKeys\"></a>\n\n#### [](#KeyValueStoreClient+listKeys) `keyValueStoreClient.listKeys([options])` ⇒ <code>Promise.&lt;object&gt;</code>\n\nhttps://docs.apify.com/api/v2#/reference/key-value-stores/key-collection/get-list-of-keys\n\n\n| Param | Type |\n| --- | --- |\n| [options] | <code>object</code> | \n| [options.limit] | <code>object</code> | \n| [options.exclusiveStartKey] | <code>string</code> | \n\n\n* * *\n\n<a name=\"KeyValueStoreClient+setRecord\"></a>\n\n#### [](#KeyValueStoreClient+setRecord) `keyValueStoreClient.setRecord(record)` ⇒ <code>Promise.&lt;void&gt;</code>\n\nhttps://docs.apify.com/api/v2#/reference/key-value-stores/record/put-record\n\n\n| Param | Type |\n| --- | --- |\n| record | [<code>KeyValueStoreRecord</code>](#KeyValueStoreRecord) | \n\n\n* * *\n\n<a name=\"KeyValueStoreClient+update\"></a>\n\n#### [](#KeyValueStoreClient+update) `keyValueStoreClient.update(newFields)` ⇒ <code>Promise.&lt;KeyValueStore&gt;</code>\n\nhttps://docs.apify.com/api/v2#/reference/key-value-stores/store-object/update-store\n\n\n| Param | Type |\n| --- | --- |\n| newFields | <code>object</code> | \n\n\n* * *\n\n<a name=\"KeyValueStoreCollectionClient\"></a>\n\n### [](#KeyValueStoreCollectionClient) KeyValueStoreCollectionClient\n\n\n* [KeyValueStoreCollectionClient](#KeyValueStoreCollectionClient)\n    * [`.getOrCreate([name])`](#KeyValueStoreCollectionClient+getOrCreate) ⇒ <code>Promise.&lt;object&gt;</code>\n    * [`.list([options])`](#KeyValueStoreCollectionClient+list) ⇒ [<code>Promise.&lt;PaginationList&gt;</code>](#PaginationList)\n\n\n* * *\n\n<a name=\"KeyValueStoreCollectionClient+getOrCreate\"></a>\n\n#### [](#KeyValueStoreCollectionClient+getOrCreate) `keyValueStoreCollectionClient.getOrCreate([name])` ⇒ <code>Promise.&lt;object&gt;</code>\n\nhttps://docs.apify.com/api/v2#/reference/key-value-stores/store-collection/create-key-value-store\n\n\n| Param | Type |\n| --- | --- |\n| [name] | <code>string</code> | \n\n\n* * *\n\n<a name=\"KeyValueStoreCollectionClient+list\"></a>\n\n#### [](#KeyValueStoreCollectionClient+list) `keyValueStoreCollectionClient.list([options])` ⇒ [<code>Promise.&lt;PaginationList&gt;</code>](#PaginationList)\n\nhttps://docs.apify.com/api/v2#/reference/key-value-stores/store-collection/get-list-of-key-value-stores\n\n\n| Param | Type |\n| --- | --- |\n| [options] | <code>object</code> | \n| [options.unnamed] | <code>boolean</code> | \n| [options.limit] | <code>number</code> | \n| [options.offset] | <code>number</code> | \n| [options.desc] | <code>boolean</code> | \n\n\n* * *\n\n<a name=\"KeyValueStoreRecord\"></a>\n\n### [](#KeyValueStoreRecord) `KeyValueStoreRecord` : <code>object</code>\n\n**Properties**\n\n| Name | Type |\n| --- | --- |\n| key | <code>string</code> | \n| value | <code>null</code> \\| <code>string</code> \\| <code>number</code> \\| <code>object</code> | \n| [contentType] | <code>string</code> | \n\n\n* * *\n\n<a name=\"LogClient\"></a>\n\n### [](#LogClient) LogClient\n\n\n* [LogClient](#LogClient)\n    * [`.get()`](#LogClient+get) ⇒ <code>Promise.&lt;?string&gt;</code>\n    * [`.stream()`](#LogClient+stream) ⇒ <code>Promise.&lt;?Readable&gt;</code>\n\n\n* * *\n\n<a name=\"LogClient+get\"></a>\n\n#### [](#LogClient+get) `logClient.get()` ⇒ <code>Promise.&lt;?string&gt;</code>\n\nhttps://docs.apify.com/api/v2#/reference/logs/log/get-log\n\n\n* * *\n\n<a name=\"LogClient+stream\"></a>\n\n#### [](#LogClient+stream) `logClient.stream()` ⇒ <code>Promise.&lt;?Readable&gt;</code>\n\nGets the log in a Readable stream format. Only works in Node.js.\nhttps://docs.apify.com/api/v2#/reference/logs/log/get-log\n\n\n* * *\n\n<a name=\"PaginationList\"></a>\n\n### [](#PaginationList) `PaginationList` : <code>object</code>\n\n**Properties**\n\n| Name | Type | Description |\n| --- | --- | --- |\n| items | <code>Array.&lt;object&gt;</code> | List of returned objects |\n| total | <code>number</code> | Total number of objects |\n| offset | <code>number</code> | Number of objects that were skipped |\n| count | <code>number</code> | Number of returned objects |\n| limit | <code>number</code> | Requested limit |\n\n\n* * *\n\n<a name=\"RequestQueueClient\"></a>\n\n### [](#RequestQueueClient) RequestQueueClient\n\n\n* [RequestQueueClient](#RequestQueueClient)\n    * [`.addRequest(request, [options])`](#RequestQueueClient+addRequest) ⇒ <code>Promise.&lt;object&gt;</code>\n    * [`.delete()`](#RequestQueueClient+delete) ⇒ <code>Promise.&lt;void&gt;</code>\n    * [`.deleteRequest(id)`](#RequestQueueClient+deleteRequest) ⇒ <code>Promise.&lt;void&gt;</code>\n    * [`.get()`](#RequestQueueClient+get) ⇒ <code>Promise.&lt;RequestQueue&gt;</code>\n    * [`.getRequest(id)`](#RequestQueueClient+getRequest) ⇒ <code>Promise.&lt;?object&gt;</code>\n    * [`.listHead([options])`](#RequestQueueClient+listHead) ⇒ <code>Promise.&lt;object&gt;</code>\n    * [`.update(newFields)`](#RequestQueueClient+update) ⇒ <code>Promise.&lt;RequestQueue&gt;</code>\n    * [`.updateRequest(request, [options])`](#RequestQueueClient+updateRequest) ⇒ <code>Promise.&lt;\\*&gt;</code>\n\n\n* * *\n\n<a name=\"RequestQueueClient+addRequest\"></a>\n\n#### [](#RequestQueueClient+addRequest) `requestQueueClient.addRequest(request, [options])` ⇒ <code>Promise.&lt;object&gt;</code>\n\nhttps://docs.apify.com/api/v2#/reference/request-queues/request-collection/add-request\n\n\n| Param | Type |\n| --- | --- |\n| request | <code>object</code> | \n| [options] | <code>object</code> | \n| [options.forefront] | <code>boolean</code> | \n\n\n* * *\n\n<a name=\"RequestQueueClient+delete\"></a>\n\n#### [](#RequestQueueClient+delete) `requestQueueClient.delete()` ⇒ <code>Promise.&lt;void&gt;</code>\n\nhttps://docs.apify.com/api/v2#/reference/request-queues/queue/delete-request-queue\n\n\n* * *\n\n<a name=\"RequestQueueClient+deleteRequest\"></a>\n\n#### [](#RequestQueueClient+deleteRequest) `requestQueueClient.deleteRequest(id)` ⇒ <code>Promise.&lt;void&gt;</code>\n\n\n| Param | Type |\n| --- | --- |\n| id | <code>string</code> | \n\n\n* * *\n\n<a name=\"RequestQueueClient+get\"></a>\n\n#### [](#RequestQueueClient+get) `requestQueueClient.get()` ⇒ <code>Promise.&lt;RequestQueue&gt;</code>\n\nhttps://docs.apify.com/api/v2#/reference/request-queues/queue/get-request-queue\n\n\n* * *\n\n<a name=\"RequestQueueClient+getRequest\"></a>\n\n#### [](#RequestQueueClient+getRequest) `requestQueueClient.getRequest(id)` ⇒ <code>Promise.&lt;?object&gt;</code>\n\nhttps://docs.apify.com/api/v2#/reference/request-queues/request/get-request\n\n\n| Param | Type |\n| --- | --- |\n| id | <code>string</code> | \n\n\n* * *\n\n<a name=\"RequestQueueClient+listHead\"></a>\n\n#### [](#RequestQueueClient+listHead) `requestQueueClient.listHead([options])` ⇒ <code>Promise.&lt;object&gt;</code>\n\nhttps://docs.apify.com/api/v2#/reference/request-queues/queue-head/get-head\n\n\n| Param | Type |\n| --- | --- |\n| [options] | <code>object</code> | \n| [options.limit] | <code>number</code> | \n\n\n* * *\n\n<a name=\"RequestQueueClient+update\"></a>\n\n#### [](#RequestQueueClient+update) `requestQueueClient.update(newFields)` ⇒ <code>Promise.&lt;RequestQueue&gt;</code>\n\nhttps://docs.apify.com/api/v2#/reference/request-queues/queue/update-request-queue\n\n\n| Param | Type |\n| --- | --- |\n| newFields | <code>object</code> | \n\n\n* * *\n\n<a name=\"RequestQueueClient+updateRequest\"></a>\n\n#### [](#RequestQueueClient+updateRequest) `requestQueueClient.updateRequest(request, [options])` ⇒ <code>Promise.&lt;\\*&gt;</code>\n\nhttps://docs.apify.com/api/v2#/reference/request-queues/request/update-request\n\n\n| Param | Type |\n| --- | --- |\n| request | <code>object</code> | \n| [options] | <code>object</code> | \n| [options.forefront] | <code>boolean</code> | \n\n\n* * *\n\n<a name=\"RequestQueueCollection\"></a>\n\n### [](#RequestQueueCollection) RequestQueueCollection\n\n\n* [RequestQueueCollection](#RequestQueueCollection)\n    * [`.getOrCreate([name])`](#RequestQueueCollection+getOrCreate) ⇒ <code>Promise.&lt;RequestQueue&gt;</code>\n    * [`.list([options])`](#RequestQueueCollection+list) ⇒ [<code>Promise.&lt;PaginationList&gt;</code>](#PaginationList)\n\n\n* * *\n\n<a name=\"RequestQueueCollection+getOrCreate\"></a>\n\n#### [](#RequestQueueCollection+getOrCreate) `requestQueueCollection.getOrCreate([name])` ⇒ <code>Promise.&lt;RequestQueue&gt;</code>\n\nhttps://docs.apify.com/api/v2#/reference/request-queues/queue-collection/create-request-queue\n\n\n| Param | Type |\n| --- | --- |\n| [name] | <code>string</code> | \n\n\n* * *\n\n<a name=\"RequestQueueCollection+list\"></a>\n\n#### [](#RequestQueueCollection+list) `requestQueueCollection.list([options])` ⇒ [<code>Promise.&lt;PaginationList&gt;</code>](#PaginationList)\n\nhttps://docs.apify.com/api/v2#/reference/request-queues/queue-collection/get-list-of-request-queues\n\n\n| Param | Type |\n| --- | --- |\n| [options] | <code>object</code> | \n| [options.unnamed] | <code>boolean</code> | \n| [options.limit] | <code>number</code> | \n| [options.offset] | <code>number</code> | \n| [options.desc] | <code>boolean</code> | \n\n\n* * *\n\n<a name=\"RunClient\"></a>\n\n### [](#RunClient) RunClient\n\n\n* [RunClient](#RunClient)\n    * [`.abort()`](#RunClient+abort) ⇒ <code>Promise.&lt;Run&gt;</code>\n    * [`.dataset()`](#RunClient+dataset) ⇒ [<code>DatasetClient</code>](#DatasetClient)\n    * [`.get([options])`](#RunClient+get) ⇒ <code>Promise.&lt;Run&gt;</code>\n    * [`.keyValueStore()`](#RunClient+keyValueStore) ⇒ [<code>KeyValueStoreClient</code>](#KeyValueStoreClient)\n    * [`.log()`](#RunClient+log) ⇒ [<code>LogClient</code>](#LogClient)\n    * [`.metamorph(targetActorId, [input], [options])`](#RunClient+metamorph) ⇒ <code>Promise.&lt;Run&gt;</code>\n    * [`.requestQueue()`](#RunClient+requestQueue) ⇒ [<code>RequestQueueClient</code>](#RequestQueueClient)\n    * [`.resurrect([options])`](#RunClient+resurrect) ⇒ <code>Promise.&lt;Run&gt;</code>\n    * [`.waitForFinish([options])`](#RunClient+waitForFinish) ⇒ <code>Promise.&lt;Run&gt;</code>\n\n\n* * *\n\n<a name=\"RunClient+abort\"></a>\n\n#### [](#RunClient+abort) `runClient.abort()` ⇒ <code>Promise.&lt;Run&gt;</code>\n\nhttps://docs.apify.com/api/v2#/reference/actor-runs/abort-run/abort-run\n\n\n* * *\n\n<a name=\"RunClient+dataset\"></a>\n\n#### [](#RunClient+dataset) `runClient.dataset()` ⇒ [<code>DatasetClient</code>](#DatasetClient)\n\nhttps://docs.apify.com/api/v2#/reference/actor-runs/run-object-and-its-storages\n\nThis also works through `actorClient.lastRun().dataset()`.\nhttps://docs.apify.com/api/v2#/reference/actors/last-run-object-and-its-storages\n\n\n* * *\n\n<a name=\"RunClient+get\"></a>\n\n#### [](#RunClient+get) `runClient.get([options])` ⇒ <code>Promise.&lt;Run&gt;</code>\n\nhttps://docs.apify.com/api/v2#/reference/actor-runs/run-object/get-run\n\n\n| Param | Type |\n| --- | --- |\n| [options] | <code>object</code> | \n| [options.waitForFinish] | <code>number</code> | \n\n\n* * *\n\n<a name=\"RunClient+keyValueStore\"></a>\n\n#### [](#RunClient+keyValueStore) `runClient.keyValueStore()` ⇒ [<code>KeyValueStoreClient</code>](#KeyValueStoreClient)\n\nhttps://docs.apify.com/api/v2#/reference/actor-runs/run-object-and-its-storages\n\nThis also works through `actorClient.lastRun().keyValueStore()`.\nhttps://docs.apify.com/api/v2#/reference/actors/last-run-object-and-its-storages\n\n\n* * *\n\n<a name=\"RunClient+log\"></a>\n\n#### [](#RunClient+log) `runClient.log()` ⇒ [<code>LogClient</code>](#LogClient)\n\nhttps://docs.apify.com/api/v2#/reference/actor-runs/run-object-and-its-storages\n\nThis also works through `actorClient.lastRun().log()`.\nhttps://docs.apify.com/api/v2#/reference/actors/last-run-object-and-its-storages\n\n\n* * *\n\n<a name=\"RunClient+metamorph\"></a>\n\n#### [](#RunClient+metamorph) `runClient.metamorph(targetActorId, [input], [options])` ⇒ <code>Promise.&lt;Run&gt;</code>\n\nhttps://docs.apify.com/api/v2#/reference/actor-runs/metamorph-run/metamorph-run\n\n\n| Param | Type |\n| --- | --- |\n| targetActorId | <code>string</code> | \n| [input] | <code>\\*</code> | \n| [options] | <code>object</code> | \n| [options.contentType] | <code>object</code> | \n| [options.build] | <code>object</code> | \n\n\n* * *\n\n<a name=\"RunClient+requestQueue\"></a>\n\n#### [](#RunClient+requestQueue) `runClient.requestQueue()` ⇒ [<code>RequestQueueClient</code>](#RequestQueueClient)\n\nhttps://docs.apify.com/api/v2#/reference/actor-runs/run-object-and-its-storages\n\nThis also works through `actorClient.lastRun().requestQueue()`.\nhttps://docs.apify.com/api/v2#/reference/actors/last-run-object-and-its-storages\n\n\n* * *\n\n<a name=\"RunClient+resurrect\"></a>\n\n#### [](#RunClient+resurrect) `runClient.resurrect([options])` ⇒ <code>Promise.&lt;Run&gt;</code>\n\nhttps://docs.apify.com/api/v2#/reference/actor-runs/resurrect-run/resurrect-run\n\n\n| Param | Type |\n| --- | --- |\n| [options] | <code>object</code> | \n| [options.build] | <code>string</code> | \n| [options.memory] | <code>number</code> | \n| [options.timeout] | <code>number</code> | \n\n\n* * *\n\n<a name=\"RunClient+waitForFinish\"></a>\n\n#### [](#RunClient+waitForFinish) `runClient.waitForFinish([options])` ⇒ <code>Promise.&lt;Run&gt;</code>\n\nReturns a promise that resolves with the finished Run object when the provided actor run finishes\nor with the unfinished Run object when the `waitSecs` timeout lapses. The promise is NOT rejected\nbased on run status. You can inspect the `status` property of the Run object to find out its status.\n\nThe difference between this function and the `waitForFinish` parameter of the `get` method\nis the fact that this function can wait indefinitely. Its use is preferable to the\n`waitForFinish` parameter alone, which it uses internally.\n\nThis is useful when you need to chain actor executions. Similar effect can be achieved\nby using webhooks, so be sure to review which technique fits your use-case better.\n\n\n| Param | Type | Description |\n| --- | --- | --- |\n| [options] | <code>object</code> |  |\n| [options.waitSecs] | <code>number</code> | Maximum time to wait for the run to finish, in seconds.  If the limit is reached, the returned promise is resolved to a run object that will have  status `READY` or `RUNNING`. If `waitSecs` omitted, the function waits indefinitely. |\n\n\n* * *\n\n<a name=\"RunCollectionClient\"></a>\n\n### [](#RunCollectionClient) RunCollectionClient\n\n\n* * *\n\n<a name=\"RunCollectionClient+list\"></a>\n\n#### [](#RunCollectionClient+list) `runCollectionClient.list([options])` ⇒ [<code>Promise.&lt;PaginationList&gt;</code>](#PaginationList)\n\nhttps://docs.apify.com/api/v2#/reference/actors/run-collection/get-list-of-runs\n\n\n| Param | Type |\n| --- | --- |\n| [options] | <code>object</code> | \n| [options.limit] | <code>number</code> | \n| [options.offset] | <code>number</code> | \n| [options.desc] | <code>boolean</code> | \n| [options.status] | <code>boolean</code> | \n\n\n* * *\n\n<a name=\"ScheduleClient\"></a>\n\n### [](#ScheduleClient) ScheduleClient\n\n\n* [ScheduleClient](#ScheduleClient)\n    * [`.delete()`](#ScheduleClient+delete) ⇒ <code>Promise.&lt;void&gt;</code>\n    * [`.get()`](#ScheduleClient+get) ⇒ <code>Promise.&lt;?Schedule&gt;</code>\n    * [`.getLog()`](#ScheduleClient+getLog) ⇒ <code>Promise.&lt;?string&gt;</code>\n    * [`.update(newFields)`](#ScheduleClient+update) ⇒ <code>Promise.&lt;Schedule&gt;</code>\n\n\n* * *\n\n<a name=\"ScheduleClient+delete\"></a>\n\n#### [](#ScheduleClient+delete) `scheduleClient.delete()` ⇒ <code>Promise.&lt;void&gt;</code>\n\nhttps://docs.apify.com/api/v2#/reference/schedules/schedule-object/delete-schedule\n\n\n* * *\n\n<a name=\"ScheduleClient+get\"></a>\n\n#### [](#ScheduleClient+get) `scheduleClient.get()` ⇒ <code>Promise.&lt;?Schedule&gt;</code>\n\nhttps://docs.apify.com/api/v2#/reference/schedules/schedule-object/get-schedule\n\n\n* * *\n\n<a name=\"ScheduleClient+getLog\"></a>\n\n#### [](#ScheduleClient+getLog) `scheduleClient.getLog()` ⇒ <code>Promise.&lt;?string&gt;</code>\n\nhttps://docs.apify.com/api/v2#/reference/schedules/schedule-log/get-schedule-log\n\n\n* * *\n\n<a name=\"ScheduleClient+update\"></a>\n\n#### [](#ScheduleClient+update) `scheduleClient.update(newFields)` ⇒ <code>Promise.&lt;Schedule&gt;</code>\n\nhttps://docs.apify.com/api/v2#/reference/schedules/schedule-object/update-schedule\n\n\n| Param | Type |\n| --- | --- |\n| newFields | <code>object</code> | \n\n\n* * *\n\n<a name=\"ScheduleCollectionClient\"></a>\n\n### [](#ScheduleCollectionClient) ScheduleCollectionClient\n\n\n* [ScheduleCollectionClient](#ScheduleCollectionClient)\n    * [`.create([schedule])`](#ScheduleCollectionClient+create) ⇒ <code>Promise.&lt;Schedule&gt;</code>\n    * [`.list([options])`](#ScheduleCollectionClient+list) ⇒ [<code>Promise.&lt;PaginationList&gt;</code>](#PaginationList)\n\n\n* * *\n\n<a name=\"ScheduleCollectionClient+create\"></a>\n\n#### [](#ScheduleCollectionClient+create) `scheduleCollectionClient.create([schedule])` ⇒ <code>Promise.&lt;Schedule&gt;</code>\n\nhttps://docs.apify.com/api/v2#/reference/schedules/schedules-collection/create-schedule\n\n\n| Param | Type |\n| --- | --- |\n| [schedule] | <code>object</code> | \n\n\n* * *\n\n<a name=\"ScheduleCollectionClient+list\"></a>\n\n#### [](#ScheduleCollectionClient+list) `scheduleCollectionClient.list([options])` ⇒ [<code>Promise.&lt;PaginationList&gt;</code>](#PaginationList)\n\nhttps://docs.apify.com/api/v2#/reference/schedules/schedules-collection/get-list-of-schedules\n\n\n| Param | Type |\n| --- | --- |\n| [options] | <code>object</code> | \n| [options.limit] | <code>number</code> | \n| [options.offset] | <code>number</code> | \n| [options.desc] | <code>boolean</code> | \n\n\n* * *\n\n<a name=\"TaskClient\"></a>\n\n### [](#TaskClient) TaskClient\n\n\n* [TaskClient](#TaskClient)\n    * [`.call([input], [options])`](#TaskClient+call) ⇒ <code>Promise.&lt;Run&gt;</code>\n    * [`.delete()`](#TaskClient+delete) ⇒ <code>Promise.&lt;void&gt;</code>\n    * [`.get()`](#TaskClient+get) ⇒ <code>Promise.&lt;?Task&gt;</code>\n    * [`.getInput()`](#TaskClient+getInput) ⇒ <code>Promise.&lt;?object&gt;</code>\n    * [`.lastRun(options)`](#TaskClient+lastRun) ⇒ [<code>RunClient</code>](#RunClient)\n    * [`.runs()`](#TaskClient+runs) ⇒ [<code>RunCollectionClient</code>](#RunCollectionClient)\n    * [`.start([input], [options])`](#TaskClient+start) ⇒ <code>Promise.&lt;Run&gt;</code>\n    * [`.update(newFields)`](#TaskClient+update) ⇒ <code>Promise.&lt;Task&gt;</code>\n    * [`.updateInput()`](#TaskClient+updateInput) ⇒ <code>Promise.&lt;object&gt;</code>\n    * [`.webhooks()`](#TaskClient+webhooks) ⇒ [<code>WebhookCollectionClient</code>](#WebhookCollectionClient)\n\n\n* * *\n\n<a name=\"TaskClient+call\"></a>\n\n#### [](#TaskClient+call) `taskClient.call([input], [options])` ⇒ <code>Promise.&lt;Run&gt;</code>\n\nStarts a task and waits for it to finish before returning the Run object.\nIt waits indefinitely, unless the `waitSecs` option is provided.\nhttps://docs.apify.com/api/v2#/reference/actor-tasks/run-collection/run-task\n\n\n| Param | Type |\n| --- | --- |\n| [input] | <code>object</code> | \n| [options] | <code>object</code> | \n| [options.build] | <code>string</code> | \n| [options.memory] | <code>number</code> | \n| [options.timeout] | <code>number</code> | \n| [options.waitSecs] | <code>number</code> | \n| [options.webhooks] | <code>Array.&lt;object&gt;</code> | \n\n\n* * *\n\n<a name=\"TaskClient+delete\"></a>\n\n#### [](#TaskClient+delete) `taskClient.delete()` ⇒ <code>Promise.&lt;void&gt;</code>\n\nhttps://docs.apify.com/api/v2#/reference/actor-tasks/task-object/delete-task\n\n\n* * *\n\n<a name=\"TaskClient+get\"></a>\n\n#### [](#TaskClient+get) `taskClient.get()` ⇒ <code>Promise.&lt;?Task&gt;</code>\n\nhttps://docs.apify.com/api/v2#/reference/actor-tasks/task-object/get-task\n\n\n* * *\n\n<a name=\"TaskClient+getInput\"></a>\n\n#### [](#TaskClient+getInput) `taskClient.getInput()` ⇒ <code>Promise.&lt;?object&gt;</code>\n\nhttps://docs.apify.com/api/v2#/reference/actor-tasks/task-input-object/get-task-input\n\n\n* * *\n\n<a name=\"TaskClient+lastRun\"></a>\n\n#### [](#TaskClient+lastRun) `taskClient.lastRun(options)` ⇒ [<code>RunClient</code>](#RunClient)\n\nhttps://docs.apify.com/api/v2#/reference/actor-tasks/last-run-object-and-its-storages\n\n\n| Param | Type |\n| --- | --- |\n| options | <code>object</code> | \n| options.status | <code>string</code> | \n\n\n* * *\n\n<a name=\"TaskClient+runs\"></a>\n\n#### [](#TaskClient+runs) `taskClient.runs()` ⇒ [<code>RunCollectionClient</code>](#RunCollectionClient)\n\nhttps://docs.apify.com/api/v2#/reference/actor-tasks/run-collection\n\n\n* * *\n\n<a name=\"TaskClient+start\"></a>\n\n#### [](#TaskClient+start) `taskClient.start([input], [options])` ⇒ <code>Promise.&lt;Run&gt;</code>\n\nStarts a task and immediately returns the Run object.\nhttps://docs.apify.com/api/v2#/reference/actor-tasks/run-collection/run-task\n\n\n| Param | Type |\n| --- | --- |\n| [input] | <code>object</code> | \n| [options] | <code>object</code> | \n| [options.build] | <code>string</code> | \n| [options.memory] | <code>number</code> | \n| [options.timeout] | <code>number</code> | \n| [options.waitForFinish] | <code>number</code> | \n| [options.webhooks] | <code>Array.&lt;object&gt;</code> | \n\n\n* * *\n\n<a name=\"TaskClient+update\"></a>\n\n#### [](#TaskClient+update) `taskClient.update(newFields)` ⇒ <code>Promise.&lt;Task&gt;</code>\n\nhttps://docs.apify.com/api/v2#/reference/actor-tasks/task-object/update-task\n\n\n| Param | Type |\n| --- | --- |\n| newFields | <code>object</code> | \n\n\n* * *\n\n<a name=\"TaskClient+updateInput\"></a>\n\n#### [](#TaskClient+updateInput) `taskClient.updateInput()` ⇒ <code>Promise.&lt;object&gt;</code>\n\nhttps://docs.apify.com/api/v2#/reference/actor-tasks/task-input-object/update-task-input\n\n\n* * *\n\n<a name=\"TaskClient+webhooks\"></a>\n\n#### [](#TaskClient+webhooks) `taskClient.webhooks()` ⇒ [<code>WebhookCollectionClient</code>](#WebhookCollectionClient)\n\nhttps://docs.apify.com/api/v2#/reference/actor-tasks/webhook-collection\n\n\n* * *\n\n<a name=\"TaskCollectionClient\"></a>\n\n### [](#TaskCollectionClient) TaskCollectionClient\n\n\n* [TaskCollectionClient](#TaskCollectionClient)\n    * [`.create([task])`](#TaskCollectionClient+create) ⇒ <code>Promise.&lt;Task&gt;</code>\n    * [`.list([options])`](#TaskCollectionClient+list) ⇒ [<code>Promise.&lt;PaginationList&gt;</code>](#PaginationList)\n\n\n* * *\n\n<a name=\"TaskCollectionClient+create\"></a>\n\n#### [](#TaskCollectionClient+create) `taskCollectionClient.create([task])` ⇒ <code>Promise.&lt;Task&gt;</code>\n\nhttps://docs.apify.com/api/v2#/reference/actor-tasks/task-collection/create-task\n\n\n| Param | Type |\n| --- | --- |\n| [task] | <code>object</code> | \n\n\n* * *\n\n<a name=\"TaskCollectionClient+list\"></a>\n\n#### [](#TaskCollectionClient+list) `taskCollectionClient.list([options])` ⇒ [<code>Promise.&lt;PaginationList&gt;</code>](#PaginationList)\n\nhttps://docs.apify.com/api/v2#/reference/actor-tasks/task-collection/get-list-of-tasks\n\n\n| Param | Type |\n| --- | --- |\n| [options] | <code>object</code> | \n| [options.limit] | <code>number</code> | \n| [options.offset] | <code>number</code> | \n| [options.desc] | <code>boolean</code> | \n\n\n* * *\n\n<a name=\"UserClient\"></a>\n\n### [](#UserClient) UserClient\n\n\n* * *\n\n<a name=\"UserClient+get\"></a>\n\n#### [](#UserClient+get) `userClient.get()` ⇒ <code>Promise.&lt;?User&gt;</code>\n\nDepending on whether ApifyClient was created with a token,\nthe method will either return public or private user data.\nhttps://docs.apify.com/api/v2#/reference/users\n\n\n* * *\n\n<a name=\"WebhookClient\"></a>\n\n### [](#WebhookClient) WebhookClient\n\n\n* [WebhookClient](#WebhookClient)\n    * [`.delete()`](#WebhookClient+delete) ⇒ <code>Promise.&lt;void&gt;</code>\n    * [`.dispatches()`](#WebhookClient+dispatches) ⇒ [<code>WebhookDispatchCollectionClient</code>](#WebhookDispatchCollectionClient)\n    * [`.get()`](#WebhookClient+get) ⇒ <code>Promise.&lt;?Webhook&gt;</code>\n    * [`.update(newFields)`](#WebhookClient+update) ⇒ <code>Promise.&lt;Webhook&gt;</code>\n\n\n* * *\n\n<a name=\"WebhookClient+delete\"></a>\n\n#### [](#WebhookClient+delete) `webhookClient.delete()` ⇒ <code>Promise.&lt;void&gt;</code>\n\nhttps://docs.apify.com/api/v2#/reference/webhooks/webhook-object/delete-webhook\n\n\n* * *\n\n<a name=\"WebhookClient+dispatches\"></a>\n\n#### [](#WebhookClient+dispatches) `webhookClient.dispatches()` ⇒ [<code>WebhookDispatchCollectionClient</code>](#WebhookDispatchCollectionClient)\n\nhttps://docs.apify.com/api/v2#/reference/webhooks/dispatches-collection\n\n\n* * *\n\n<a name=\"WebhookClient+get\"></a>\n\n#### [](#WebhookClient+get) `webhookClient.get()` ⇒ <code>Promise.&lt;?Webhook&gt;</code>\n\nhttps://docs.apify.com/api/v2#/reference/webhooks/webhook-object/get-webhook\n\n\n* * *\n\n<a name=\"WebhookClient+update\"></a>\n\n#### [](#WebhookClient+update) `webhookClient.update(newFields)` ⇒ <code>Promise.&lt;Webhook&gt;</code>\n\nhttps://docs.apify.com/api/v2#/reference/webhooks/webhook-object/update-webhook\n\n\n| Param | Type |\n| --- | --- |\n| newFields | <code>object</code> | \n\n\n* * *\n\n<a name=\"WebhookCollectionClient\"></a>\n\n### [](#WebhookCollectionClient) WebhookCollectionClient\n\n\n* [WebhookCollectionClient](#WebhookCollectionClient)\n    * [`.create([webhook])`](#WebhookCollectionClient+create) ⇒ <code>Promise.&lt;Webhook&gt;</code>\n    * [`.list([options])`](#WebhookCollectionClient+list) ⇒ [<code>Promise.&lt;PaginationList&gt;</code>](#PaginationList)\n\n\n* * *\n\n<a name=\"WebhookCollectionClient+create\"></a>\n\n#### [](#WebhookCollectionClient+create) `webhookCollectionClient.create([webhook])` ⇒ <code>Promise.&lt;Webhook&gt;</code>\n\nhttps://docs.apify.com/api/v2#/reference/webhooks/webhook-collection/create-webhook\n\n\n| Param | Type |\n| --- | --- |\n| [webhook] | <code>object</code> | \n\n\n* * *\n\n<a name=\"WebhookCollectionClient+list\"></a>\n\n#### [](#WebhookCollectionClient+list) `webhookCollectionClient.list([options])` ⇒ [<code>Promise.&lt;PaginationList&gt;</code>](#PaginationList)\n\nhttps://docs.apify.com/api/v2#/reference/webhooks/webhook-collection/get-list-of-webhooks\n\n\n| Param | Type |\n| --- | --- |\n| [options] | <code>object</code> | \n| [options.limit] | <code>number</code> | \n| [options.offset] | <code>number</code> | \n| [options.desc] | <code>boolean</code> | \n\n\n* * *\n\n<a name=\"WebhookDispatchClient\"></a>\n\n### [](#WebhookDispatchClient) WebhookDispatchClient\n\n\n* * *\n\n<a name=\"WebhookDispatchClient+get\"></a>\n\n#### [](#WebhookDispatchClient+get) `webhookDispatchClient.get()` ⇒ <code>Promise.&lt;?WebhookDispatch&gt;</code>\n\nhttps://docs.apify.com/api/v2#/reference/webhook-dispatches/webhook-dispatch-object/get-webhook-dispatch\n\n\n* * *\n\n<a name=\"WebhookDispatchCollectionClient\"></a>\n\n### [](#WebhookDispatchCollectionClient) WebhookDispatchCollectionClient\n\n\n* * *\n\n<a name=\"WebhookDispatchCollectionClient+list\"></a>\n\n#### [](#WebhookDispatchCollectionClient+list) `webhookDispatchCollectionClient.list([options])` ⇒ [<code>Promise.&lt;PaginationList&gt;</code>](#PaginationList)\n\nhttps://docs.apify.com/api/v2#/reference/webhook-dispatches/webhook-dispatches-collection/get-list-of-webhook-dispatches\n\n\n| Param | Type |\n| --- | --- |\n| [options] | <code>object</code> | \n| [options.limit] | <code>number</code> | \n| [options.offset] | <code>number</code> | \n| [options.desc] | <code>boolean</code> | \n\n\n* * *\n\n","readmeFilename":"README.md"}