{"_id":"@amin.mirzaee/instagram-private-api","_rev":"5-2aa6d7608c21804434afef4712f320c8","name":"@amin.mirzaee/instagram-private-api","dist-tags":{"latest":"1.43.7"},"versions":{"1.43.3":{"name":"@amin.mirzaee/instagram-private-api","description":"Instagram private API wrapper for full access to instagram","version":"1.43.3","main":"dist/index.js","types":"dist/index.d.ts","license":"MIT","engines":{"node":">=8.0.0"},"bugs":{"url":"https://github.com/dilame/instagram-private-api/issues","email":"dilame.nickolson@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/dilame/instagram-private-api.git"},"homepage":"https://github.com/dilame/instagram-private-api","scripts":{"build":"rimraf dist && tsc -p tsconfig.build.json","format":"prettier --write \"src/**/*.ts\"","lint":"tslint -p tsconfig.json -c tslint.json","typecheck":"tsc -p tsconfig.build.json --noEmit","prepare":"npm run build","test":"mocha --inline-diffs --timeout 1000000 tests/run.js","generate-interface":"ts-node ./tools/response-to-interface.ts","generate-docs":"ts-node ./tools/docs-generator.ts"},"husky":{"hooks":{"pre-commit":"pretty-quick --staged"}},"dependencies":{"@lifeomic/attempt":"^3.0.0","@types/chance":"^1.0.2","@types/request-promise":"^4.1.43","bluebird":"^3.7.1","chance":"^1.0.18","class-transformer":"^0.3.1","debug":"^4.1.1","image-size":"^0.7.3","json-bigint":"^0.3.0","lodash":"^4.17.20","luxon":"^1.12.1","reflect-metadata":"^0.1.13","request":"^2.88.0","request-promise":"^4.2.4","rxjs":"^6.5.2","snakecase-keys":"^3.1.0","tough-cookie":"^2.5.0","ts-custom-error":"^2.2.2","ts-xor":"^1.0.6","url-regex-safe":"^1.0.2","utility-types":"^3.10.0"},"devDependencies":{"@types/bluebird":"^3.5.26","@types/lodash":"^4.14.123","@types/luxon":"^1.12.0","@types/node":"^10.14.5","@types/tough-cookie":"^2.3.5","dotenv":"^6.2.0","husky":"^1.3.1","inquirer":"^1.1.2","json-ts":"^1.6.4","prettier":"^1.19.1","pretty-quick":"^1.10.0","rimraf":"^2.6.3","ts-node":"^8.1.0","tslint":"^5.16.0","typedoc":"^0.15.0","typedoc-plugin-markdown":"^2.0.11","typescript":"^3.7.2"},"directories":{"doc":"docs","example":"examples"},"author":"","gitHead":"60bd2a9ed4f262106e555baf20b62d3eb2e2f058","_id":"@amin.mirzaee/instagram-private-api@1.43.3","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-QQIW5e4n5hcahLSulLVuHIDLAtKilhjqAHawwHUoh+2hDTPkBHZrmQYKYlhB6Mqdt9krgD0chWXzeSuJs8zMCQ==","shasum":"921675e29a9a634fa0e27b5c68072f2a7cd2a79a","tarball":"https://registry.npmjs.org/@amin.mirzaee/instagram-private-api/-/instagram-private-api-1.43.3.tgz","fileCount":801,"unpackedSize":940189,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgNif+CRA9TVsSAnZWagAAW78P+QFa73SN5xGlUZyqbYwn\nQiYVJIes742IgvSKyokULBvjqjDp+0jDxQupNQJmUMlsIe6ab7xrfWHh8dPw\nNEmL0sw+oMNwj8Svlf47w2wxBXEcz7IYOCaD8u6HguyukcoQmW5gl+S4RuYP\nxn1NWZ4SnrSZC25p/y7RyIo6UskXn6HDAOUpPbq7YOCSl9F5si/JCsMTIg7N\nAiQ8csTTi5iFbL+O4dOhYvmU+mQi7QfdftPrYS10mEyTDc9qT4OvdF9cQwPi\nFbcINZAMvumHkR5hoLsyLDWCAaL4wEimu2FzOlOrMYKszpSWhMd058wpwFOy\n7Hq1VLGXYn/TDcTZfjwdBDox4oK2VW2jQPccD/tfZ/mcTF8MryP+UNZII8xT\nt+YACex8VFA7oh7YcBWSo1AY1ZQEVhR41abTpSRwSHCp8BWu4pXlGqs36lRM\n7DMVLhKRubiucAPIpKiZOMEnQFzFicdikMu/TPuziljgDY2NJn0ZubxmZ3q9\n6ECgsuoRAX3yrwQDt0cRrm8tG5DccJgyrBK+2vG1OyxUaWEkfKQHLfJgwrPg\nJGlp43HF2w4IpqOLm9Lv11uHRFIWXJnhG9bHfYUOv1t4sm9yMmudcCqK10jj\nJzOZ4MkPYZtGmKogajlbufziwC9hCboyEJnJs0bpKE0kKA7TE9qrtmW1wzhH\nbV4P\r\n=hdkL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEuyPO2n+wEKjy2nFJRXk1rBbTIt2Z82cVlGmCFpLmYGAiAOAPV+sXf5IUF/1XFqYfX0sT2a77lIJg65BBGm0uKoqg=="}]},"_npmUser":{"name":"amin.mirzaee","email":"hifeamin@gmail.com"},"maintainers":[{"name":"amin.mirzaee","email":"hifeamin@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/instagram-private-api_1.43.3_1614161917638_0.05830500168908359"},"_hasShrinkwrap":false},"1.43.4":{"name":"@amin.mirzaee/instagram-private-api","description":"Instagram private API wrapper for full access to instagram","version":"1.43.4","main":"dist/index.js","types":"dist/index.d.ts","license":"MIT","engines":{"node":">=8.0.0"},"bugs":{"url":"https://github.com/dilame/instagram-private-api/issues","email":"dilame.nickolson@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/dilame/instagram-private-api.git"},"homepage":"https://github.com/dilame/instagram-private-api","scripts":{"build":"rimraf dist && tsc -p tsconfig.build.json","format":"prettier --write \"src/**/*.ts\"","lint":"tslint -p tsconfig.json -c tslint.json","typecheck":"tsc -p tsconfig.build.json --noEmit","prepare":"npm run build","test":"mocha --inline-diffs --timeout 1000000 tests/run.js","generate-interface":"ts-node ./tools/response-to-interface.ts","generate-docs":"ts-node ./tools/docs-generator.ts"},"husky":{"hooks":{"pre-commit":"pretty-quick --staged"}},"dependencies":{"@lifeomic/attempt":"^3.0.0","@types/chance":"^1.0.2","@types/request-promise":"^4.1.43","bluebird":"^3.7.1","chance":"^1.0.18","class-transformer":"^0.3.1","debug":"^4.1.1","image-size":"^0.7.3","json-bigint":"^0.3.0","lodash":"^4.17.20","luxon":"^1.12.1","reflect-metadata":"^0.1.13","request":"^2.88.0","request-promise":"^4.2.4","rxjs":"^6.5.2","snakecase-keys":"^3.1.0","tough-cookie":"^2.5.0","ts-custom-error":"^2.2.2","ts-xor":"^1.0.6","url-regex-safe":"^1.0.2","utility-types":"^3.10.0"},"devDependencies":{"@types/bluebird":"^3.5.26","@types/lodash":"^4.14.123","@types/luxon":"^1.12.0","@types/node":"^10.14.5","@types/tough-cookie":"^2.3.5","dotenv":"^6.2.0","husky":"^1.3.1","inquirer":"^1.1.2","json-ts":"^1.6.4","prettier":"^1.19.1","pretty-quick":"^1.10.0","rimraf":"^2.6.3","ts-node":"^8.1.0","tslint":"^5.16.0","typedoc":"^0.15.0","typedoc-plugin-markdown":"^2.0.11","typescript":"^3.7.2"},"directories":{"doc":"docs","example":"examples"},"author":"","gitHead":"deb23c7dbd49f414012e7b29fc8f7eceb808d891","_id":"@amin.mirzaee/instagram-private-api@1.43.4","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-+q3cMCn9w8Ntjj8TU+mTXZLTyxd7EPQUnFINdy5il/AqmSgYynMdZCvCiRTHtowWC9T6IhyM7w5e8k9uA+IoLg==","shasum":"6caa80cd24cb2fda3e007df801c9bd8e628571ec","tarball":"https://registry.npmjs.org/@amin.mirzaee/instagram-private-api/-/instagram-private-api-1.43.4.tgz","fileCount":807,"unpackedSize":959732,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgO2+hCRA9TVsSAnZWagAAAoYP/0MLJLvEFQmzPqVZBylW\nXjl5Xuab63XI0PzcFRmHUIKgkxTu5/D16d/j+agMYg7tBdiiTwIxnPdPPLeY\nQ3VYscdR5ciQ4KBwAQnZ+rHaAmcU4a+9Uql0QO6aRSoSv7o456MXNdNo9RbJ\nQTnrNuE7rDM42+Y/TFcDPfNYjjwC0tUlW6eR4x51HXJl6GZ/BJwRhD7T6c8G\npWPbKjHdoo350hK6hotrBqJ4IQmWIqO+Qws4T8OTLlLTZn+YeIcbqq6K08KF\nY3TGggWr4fnI4P6TlQP+LH7wV04g1tuTZ+qO0uj7u66tnqwWMPQK3dt68kk/\noZhCc5V41aZlyKasntMV+342F5FsGWZP2Pj4Xv9w/sh0Wf3fSEGaVZnM0UvI\nf7pdlteTjSjADWHewEuCMcel/3rTGclaONkURnbIj1SxsRSTT19rU+VhXuzR\nwdAo+E1NlWm41EyRjsWll0NjRp32Tj4ubOzPDVXZnIltuAAAOT9r0yGzN/U8\n7rY3u9C74ejxYsaG4NtpRfQHN2UnIzf9rlssZHyaKYuVjU6e2nlg3+Ek6GA5\nqZCTn6GTFLSmxBYM+zor9dUARVBmaXUO6PSWJ6uNybqxsAg2TPf0zdRwtk6O\nAyWR7nkd0Ydi2ngfqu9Aserl+w7h3tyYOPdgFCEGpDmF6c9/okQkgTUeE4tl\ntu3z\r\n=w8DK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICxgKutEcU+DwJjujXu0ha/0652k1iJyId3ejtm0gHizAiEAgqMFLjh0GB/E5gK59DwDye9RjA15CLqCQFxlM6zQjFo="}]},"_npmUser":{"name":"amin.mirzaee","email":"hifeamin@gmail.com"},"maintainers":[{"name":"amin.mirzaee","email":"hifeamin@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/instagram-private-api_1.43.4_1614507937019_0.35885557913958777"},"_hasShrinkwrap":false},"1.43.5":{"name":"@amin.mirzaee/instagram-private-api","description":"Instagram private API wrapper for full access to instagram","version":"1.43.5","main":"dist/index.js","types":"dist/index.d.ts","license":"MIT","engines":{"node":">=8.0.0"},"bugs":{"url":"https://github.com/dilame/instagram-private-api/issues","email":"dilame.nickolson@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/dilame/instagram-private-api.git"},"homepage":"https://github.com/dilame/instagram-private-api","scripts":{"build":"rimraf dist && tsc -p tsconfig.build.json","format":"prettier --write \"src/**/*.ts\"","lint":"tslint -p tsconfig.json -c tslint.json","typecheck":"tsc -p tsconfig.build.json --noEmit","prepare":"npm run build","test":"mocha --inline-diffs --timeout 1000000 tests/run.js","generate-interface":"ts-node ./tools/response-to-interface.ts","generate-docs":"ts-node ./tools/docs-generator.ts"},"husky":{"hooks":{"pre-commit":"pretty-quick --staged"}},"dependencies":{"@lifeomic/attempt":"^3.0.0","@types/chance":"^1.0.2","@types/request-promise":"^4.1.43","bluebird":"^3.7.1","chance":"^1.0.18","class-transformer":"^0.3.1","debug":"^4.1.1","image-size":"^0.7.3","json-bigint":"^0.3.0","lodash":"^4.17.20","luxon":"^1.12.1","reflect-metadata":"^0.1.13","request":"^2.88.0","request-promise":"^4.2.4","rxjs":"^6.5.2","snakecase-keys":"^3.1.0","tough-cookie":"^2.5.0","ts-custom-error":"^2.2.2","ts-xor":"^1.0.6","url-regex-safe":"^1.0.2","utility-types":"^3.10.0"},"devDependencies":{"@types/bluebird":"^3.5.26","@types/lodash":"^4.14.123","@types/luxon":"^1.12.0","@types/node":"^10.14.5","@types/tough-cookie":"^2.3.5","dotenv":"^6.2.0","husky":"^1.3.1","inquirer":"^1.1.2","json-ts":"^1.6.4","prettier":"^1.19.1","pretty-quick":"^1.10.0","rimraf":"^2.6.3","ts-node":"^8.1.0","tslint":"^5.16.0","typedoc":"^0.15.0","typedoc-plugin-markdown":"^2.0.11","typescript":"^3.7.2"},"directories":{"doc":"docs","example":"examples"},"author":"","gitHead":"685a672e8dfac48c5dea2400f936353c89f92257","_id":"@amin.mirzaee/instagram-private-api@1.43.5","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-suCL2Xz4NWB0vo5m3pDdEsxkp2v/MBHcFBJ33/7UY3iGtVAh5shkbSzqjtJvnLd7A0Ijewh6cZ1hchuOnLwDhg==","shasum":"df3919808d032082321614f7bf580c142984188f","tarball":"https://registry.npmjs.org/@amin.mirzaee/instagram-private-api/-/instagram-private-api-1.43.5.tgz","fileCount":807,"unpackedSize":962042,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPPuYCRA9TVsSAnZWagAAuKwP/2vlt9f2D5I2T9JQOJOR\nQwyxwXYpi4yIpjqSAWgofWBOsV3h8iEyAERTRlGv1kUfCryoPmnPQAz8sgE+\nslgb+a0rJ1/iR4ZYNJMu1CNwFOl0ISwJpVH8B9n3yIJxafgPA8VtvNqpDFIK\n1Yy/V3s3orh0ByTTPgOm5pZyQAIU7xMHpQwhmxyL4ZKf41Q+ugKkLLZ1DkaP\nbm87hqL+phN8mo2qabbQlUva8FB0LFqT5Nrxt6BkwsFTOzJ+wY1uvDDEKxxu\nyrFZFz7/WMhGivZPj5OBXwT1VgHWshYcAoFBuAhhHAlceohF/goRdm93lbnS\nzjAGjl/UTZiM4Snashh0AUYo4QRlxnEwRBpQFV9YgNKlDAl+VUBB+omnUCL3\nJqAPxqMTd3OymC7muPi8gr3qM2KVdnPcAHe6X9Znm5JYEtKWaCw5cbmTXDp7\nmvsqqXWBs04sGWU1miFF+PsWXsR2MSWAtiuR64UtIL4f+dtOJbtSUdfuhtpO\nlt+l0Cf35fg6FRNpsniZLo7RVZS1TPL/FtzITyfDtyXD3QFHEZD8E3XStTSx\nRFW6ABsLXNX/CABVHQGHfJLUAmC+YAshTFEBDIXcrOjQNochdGV5lm1UsVc7\nyFler4xMOjACpUb/LmzwUF5eGTn2WQnovTX5KJa0h2NmRPA0XaHD2p48L69K\nAx0D\r\n=lJ2r\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDe/j6GtmUJFUzU4aUVbOMUF6+YnyrnJiWmFwr9708NYQIhAN4rdzOq47xDHgGeImzjFhCDP8BujHFUdj+vnMiHRQfP"}]},"_npmUser":{"name":"amin.mirzaee","email":"hifeamin@gmail.com"},"maintainers":[{"name":"amin.mirzaee","email":"hifeamin@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/instagram-private-api_1.43.5_1614609304007_0.6799751817424893"},"_hasShrinkwrap":false},"1.43.6":{"name":"@amin.mirzaee/instagram-private-api","description":"Instagram private API wrapper for full access to instagram","version":"1.43.6","main":"dist/index.js","types":"dist/index.d.ts","license":"MIT","engines":{"node":">=8.0.0"},"bugs":{"url":"https://github.com/dilame/instagram-private-api/issues","email":"dilame.nickolson@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/dilame/instagram-private-api.git"},"homepage":"https://github.com/dilame/instagram-private-api","scripts":{"build":"rimraf dist && tsc -p tsconfig.build.json","format":"prettier --write \"src/**/*.ts\"","lint":"tslint -p tsconfig.json -c tslint.json","typecheck":"tsc -p tsconfig.build.json --noEmit","prepare":"npm run build","test":"mocha --inline-diffs --timeout 1000000 tests/run.js","generate-interface":"ts-node ./tools/response-to-interface.ts","generate-docs":"ts-node ./tools/docs-generator.ts"},"husky":{"hooks":{"pre-commit":"pretty-quick --staged"}},"dependencies":{"@lifeomic/attempt":"^3.0.0","@types/chance":"^1.0.2","@types/request-promise":"^4.1.43","bluebird":"^3.7.1","chance":"^1.0.18","class-transformer":"^0.3.1","debug":"^4.1.1","image-size":"^0.7.3","json-bigint":"^0.3.0","lodash":"^4.17.20","luxon":"^1.12.1","reflect-metadata":"^0.1.13","request":"^2.88.0","request-promise":"^4.2.4","rxjs":"^6.5.2","snakecase-keys":"^3.1.0","tough-cookie":"^2.5.0","ts-custom-error":"^2.2.2","ts-xor":"^1.0.6","url-regex-safe":"^1.0.2","utility-types":"^3.10.0"},"devDependencies":{"@types/bluebird":"^3.5.26","@types/lodash":"^4.14.123","@types/luxon":"^1.12.0","@types/node":"^10.14.5","@types/tough-cookie":"^2.3.5","dotenv":"^6.2.0","husky":"^1.3.1","inquirer":"^1.1.2","json-ts":"^1.6.4","prettier":"^1.19.1","pretty-quick":"^1.10.0","rimraf":"^2.6.3","ts-node":"^8.1.0","tslint":"^5.16.0","typedoc":"^0.15.0","typedoc-plugin-markdown":"^2.0.11","typescript":"^3.7.2"},"directories":{"doc":"docs","example":"examples"},"author":"","gitHead":"685a672e8dfac48c5dea2400f936353c89f92257","_id":"@amin.mirzaee/instagram-private-api@1.43.6","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-lOJqTcVCItU2YJioVeBHe2uH7AdowRm5c5vntbNLAH70zHl0FExmPm/lUyA1ijOur6Pfol+/VvjYZ8fD6yHHUQ==","shasum":"4f510b64786615603e8c8a463b84b622f7a18629","tarball":"https://registry.npmjs.org/@amin.mirzaee/instagram-private-api/-/instagram-private-api-1.43.6.tgz","fileCount":807,"unpackedSize":961972,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPiQvCRA9TVsSAnZWagAAoVkP/j5OjA+gz7eXVjGfH9EH\nd8IhIHNEBUV+sj7kBvWUBm6ImDn7LFLlTlpiIAmCxT10EwJjWUZtfiv5xBrt\np2jFAgRhtHaz5oHUCuvOxY0L9LM26YTaE8jEPf0Krbg8kMcAbAiYpJDucRy3\n1cIxnR2MKXISRO18HNXHZc2WdbWUVh7+ed3XAGBmexC4jpS0ma8Dfa+/fiMn\nUyzo3Ly8LxWT8Lv2ncoTUxjh43FsmW7gb8RU8QCaDljjIDnEj834/jWQc4DS\nPCry46VtakYqY79ULGCJPzj7FaFMDub7odrEJvWlFQeBuaVVtpBmAhH2AmB0\nER3BIBgCFaBko64o0W5iqEeSO3WqCuG72ugFlk92jmSI2HJCdFESbZPmFfEf\nyEA8kg5ZOMVQht+XbokGTHMZAT1zL/aDHfzNZQO0jVdHcNnAeO8AcBy8j76C\nJ1FT6EOaNJ1pJ2nmme+LshieZgfkZvO6Qz9m54zaiAQHtPCEkbLbK3RGx5a8\nIZTCV49t2zjcFTEEt58irEiTwuPkqxkguF0mABj6iqPV8uGLnSxYeqiGexJn\nJDNISLW52oHD9jhXmCa6qfmnRDtkkitygSoshAma8vonA1KUnT76XThqyGhK\n7liL5JZaayHQf1m17Hd/L19CNs5Wx12I5BgfDLzUpBGren836om+qH18PG3H\nVn0N\r\n=po7c\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDKG6VszraL11IW/5n0duj0UVpFPsRUFE72o+S8m1J0XgIhAO4XoF6DXZaHMFjVGGsBxHhiBVDDF06lvsmdzu2xjTIi"}]},"_npmUser":{"name":"amin.mirzaee","email":"hifeamin@gmail.com"},"maintainers":[{"name":"amin.mirzaee","email":"hifeamin@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/instagram-private-api_1.43.6_1614685231284_0.5655807006491309"},"_hasShrinkwrap":false},"1.43.7":{"name":"@amin.mirzaee/instagram-private-api","description":"Instagram private API wrapper for full access to instagram","version":"1.43.7","main":"dist/index.js","types":"dist/index.d.ts","license":"MIT","engines":{"node":">=8.0.0"},"bugs":{"url":"https://github.com/dilame/instagram-private-api/issues","email":"dilame.nickolson@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/dilame/instagram-private-api.git"},"homepage":"https://github.com/dilame/instagram-private-api","scripts":{"build":"rimraf dist && tsc -p tsconfig.build.json","format":"prettier --write \"src/**/*.ts\"","lint":"tslint -p tsconfig.json -c tslint.json","typecheck":"tsc -p tsconfig.build.json --noEmit","prepare":"npm run build","test":"mocha --inline-diffs --timeout 1000000 tests/run.js","generate-interface":"ts-node ./tools/response-to-interface.ts","generate-docs":"ts-node ./tools/docs-generator.ts"},"husky":{"hooks":{"pre-commit":"pretty-quick --staged"}},"dependencies":{"@lifeomic/attempt":"^3.0.0","@types/chance":"^1.0.2","@types/request-promise":"^4.1.43","bluebird":"^3.7.1","chance":"^1.0.18","class-transformer":"^0.3.1","debug":"^4.1.1","image-size":"^0.7.3","json-bigint":"^0.3.0","lodash":"^4.17.20","luxon":"^1.12.1","reflect-metadata":"^0.1.13","request":"^2.88.0","request-promise":"^4.2.4","rxjs":"^6.5.2","snakecase-keys":"^3.1.0","tough-cookie":"^2.5.0","ts-custom-error":"^2.2.2","ts-xor":"^1.0.6","url-regex-safe":"^1.0.2","utility-types":"^3.10.0"},"devDependencies":{"@types/bluebird":"^3.5.26","@types/lodash":"^4.14.123","@types/luxon":"^1.12.0","@types/node":"^10.14.5","@types/tough-cookie":"^2.3.5","dotenv":"^6.2.0","husky":"^1.3.1","inquirer":"^1.1.2","json-ts":"^1.6.4","prettier":"^1.19.1","pretty-quick":"^1.10.0","rimraf":"^2.6.3","ts-node":"^8.1.0","tslint":"^5.16.0","typedoc":"^0.15.0","typedoc-plugin-markdown":"^2.0.11","typescript":"^3.7.2"},"directories":{"doc":"docs","example":"examples"},"author":"","gitHead":"685a672e8dfac48c5dea2400f936353c89f92257","_id":"@amin.mirzaee/instagram-private-api@1.43.7","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-WxDAIAFAz2MjcNpoPDhRXrTvBzQ1jevNcNdb8IgOnlIHP+OtBhdRxUBTxLPfM1kp669YdX+osuviz/1dWLOOWQ==","shasum":"d3eea198be3bff1f3f24cff091c6f476c13161cf","tarball":"https://registry.npmjs.org/@amin.mirzaee/instagram-private-api/-/instagram-private-api-1.43.7.tgz","fileCount":807,"unpackedSize":961889,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPkCYCRA9TVsSAnZWagAAitQQAI+SKvw+v2FdhIl+ouGl\n48GM1mMK3GLy2QGrTIcEAD0DkhFOV5EQwuVJhPKEH3SZof+QDenauA7Rqzhr\nDQpebdj7Pf0HH8Vd/eZDq6yJuYTzkUar0761FHDKsSa2kG8aO+8L0gdh39tQ\nrxt7Aa8Kh19rXPI3fs0vZjiHAp/2fLRqqjlEOGDMFOUO55nTJ6oCGSXfVOyj\n+0l/w5pQW/GsEUAHtTI+LFFUfE4Kqlxt3pzuzzoSX6uOfAhl93zIAbOXLrTh\n8mB+Nyjo6ub6TEYLMrXWdJMgNf6EdMEf0/XzpJ+mQotC0mRg+bD+d0BY+QHg\nDefozHrShLOBBmYzcJYXl+GULn3guVHY60VdfWYKOVqq4EVVc2KCtO7RAKU8\nku7Dmtp02NIzcaHSvTbLrDOnGfjifK3xbyyYWaosIOG0oAtbg607AiBvs2gA\nHRAgXjV0QUpyUxETqHEcHF09C85572AyxLFORFoLjJ+kn9j+uNw49Eaej5NR\nLhI+DMkBfCa3yxFcmFfWKElA6avouncCK7z905sXN2qOPLChKofdcovC5ZEe\nXBr5xfKzSK95gOR2zfrJCffQaOwBOhnVDiSldKIRKBHcc7TDG/No4Fa+b5Et\nHuaChHLElpAlyFvGbupHOZzINNPYjKaajOUsgBqPEW/BLF/hsr0r8bP3zFYg\njkh6\r\n=t7pw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDeGoR+JNVlkFjj2LPA0Ip1cZWgL8VU39gnxPu7PjbPrAIgeGFyPcdXomHcR3hpwQj55oIJ8VqB316zJQVQonWJX0s="}]},"_npmUser":{"name":"amin.mirzaee","email":"hifeamin@gmail.com"},"maintainers":[{"name":"amin.mirzaee","email":"hifeamin@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/instagram-private-api_1.43.7_1614692504119_0.676805266720139"},"_hasShrinkwrap":false}},"time":{"created":"2021-02-24T10:18:37.580Z","1.43.3":"2021-02-24T10:18:37.919Z","modified":"2022-04-04T13:49:07.006Z","1.43.4":"2021-02-28T10:25:37.235Z","1.43.5":"2021-03-01T14:35:04.210Z","1.43.6":"2021-03-02T11:40:31.519Z","1.43.7":"2021-03-02T13:41:44.330Z"},"maintainers":[{"name":"amin.mirzaee","email":"hifeamin@gmail.com"}],"description":"Instagram private API wrapper for full access to instagram","homepage":"https://github.com/dilame/instagram-private-api","repository":{"type":"git","url":"git+https://github.com/dilame/instagram-private-api.git"},"bugs":{"url":"https://github.com/dilame/instagram-private-api/issues","email":"dilame.nickolson@gmail.com"},"license":"MIT","readme":"# NodeJS Instagram private API client\r\n\r\n![logo](https://cloud.githubusercontent.com/assets/1809268/15931032/2792427e-2e56-11e6-831e-ffab238cc4a2.png)\r\n\r\n[![Telegram Chat](https://img.shields.io/badge/telegram-join%20chat-informational.svg)](https://t.me/igpapi)\r\n[![npm](https://img.shields.io/npm/dm/instagram-private-api.svg?maxAge=600)](https://www.npmjs.com/package/instagram-private-api)\r\n[![npm](https://img.shields.io/npm/l/instagram-private-api.svg?maxAge=600)](https://github.com/huttarichard/instagram-private-api/blob/master/LICENSE)\r\n[![Join the chat at https://gitter.im/instagram-private-api/Lobby](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/instagram-private-api/Lobby)\r\n\r\n---\r\n\r\n# Next major version\r\n\r\nMe and [Nerix](https://github.com/Nerixyz) are ready to announce the next 2.x.x version of this library.\r\nIt has extended feature list.\r\nIt's a big release.\r\nWe have significantly expanded the functionality and capabilities.\r\nThe library turned into a monorepository and now it's a set of libraries, connected in an ecosystem.\r\nIt consists of\r\n\r\n- Android API\r\n- Web API\r\n- FBNS, Realtime\r\n\r\nWe've done some work on design decisions.\r\nWe simplified the state management process.\r\nNow you can easily make a snapshot of account state, save it in a persistent storage and then restore a 1-to-1 copy with just 1 function call.\r\nWith new realtime features you can listen for new direct messages, notifications and any other events.\r\n\r\nThe new version is hosted in private repository. Access is paid.\r\nMembers get **basic** support for installation, configuration, and usage.\r\nWe also will try to react on your feature requests.\r\n\r\nYou can contact me in [telegram](https://t.me/bowzee) or [email](mailto:dilame.bowzee@gmail.com) for details.\r\n\r\n# AD: SaaS Instagram API\r\n\r\nExcited to announce SaaS Instagram API\r\nhttp://open.igpapi.com/\r\n\r\nIt uses OpenAPI specification, so you can generate SDK for any programming language in several minutes.\r\n\r\nYou can use it right in the browser without need to have a server. \r\n\r\nYou can even use it in React Native. Yes, without bridges.\r\n\r\nIt's free for a while, until it's stable. The function set is poor now, because, to be honest i'm not sure if there's a demand for it.\r\nSo if you would like to use it, have feature-requests or bug reports - please [contact me](https://t.me/bowzee) - i'll implement things you need very fast. \r\n\r\n# Table of Contents\r\n\r\n- [Install](#install)\r\n- [Support us](#support-us)\r\n- [Examples](#examples)\r\n- [Basic Concepts](#basic-concepts)\r\n  - [Feeds](#feeds)\r\n  - [Repositories](#repositories)\r\n  - [Services](#services)\r\n- [Contribution](#contribution)\r\n- [Useful Links](#useful-links)\r\n  - [Special Thanks](#special-thanks)\r\n  - [Thanks to Contributors](#thanks-to-contributors)\r\n  - [End User License Agreement (EULA)](#end-user-license-agreement-eula)\r\n\r\n# Install\r\n\r\nFrom npm\r\n\r\n```\r\nnpm install instagram-private-api\r\n```\r\n\r\nFrom github\r\n\r\n```\r\nnpm install github:dilame/instagram-private-api\r\n```\r\n\r\n# Support us\r\n\r\nIf you find this library useful for you, you can support it by donating any amount\r\n\r\nBTC: 1Dqnz9QuswAvD3t7Jsw7LhwprR6HAWprW6\r\n\r\n# Examples\r\n\r\nYou can find usage examples [here](examples)\r\n\r\n_Note for JavaScript users:_\r\nAs of Node v.13.5.0, there isn't support for ESModules and the 'import'-syntax.\r\nSo you have to read the imports in the examples like this:\r\n\r\n`import { A } from 'b'` ➡ `const { A } = require('b')`\r\n\r\n```typescript\r\nimport { IgApiClient } from './index';\r\nimport { sample } from 'lodash';\r\nconst ig = new IgApiClient();\r\n// You must generate device id's before login.\r\n// Id's generated based on seed\r\n// So if you pass the same value as first argument - the same id's are generated every time\r\nig.state.generateDevice(process.env.IG_USERNAME);\r\n// Optionally you can setup proxy url\r\nig.state.proxyUrl = process.env.IG_PROXY;\r\n(async () => {\r\n  // Execute all requests prior to authorization in the real Android application\r\n  // Not required but recommended\r\n  await ig.simulate.preLoginFlow();\r\n  const loggedInUser = await ig.account.login(process.env.IG_USERNAME, process.env.IG_PASSWORD);\r\n  // The same as preLoginFlow()\r\n  // Optionally wrap it to process.nextTick so we dont need to wait ending of this bunch of requests\r\n  process.nextTick(async () => await ig.simulate.postLoginFlow());\r\n  // Create UserFeed instance to get loggedInUser's posts\r\n  const userFeed = ig.feed.user(loggedInUser.pk);\r\n  const myPostsFirstPage = await userFeed.items();\r\n  // All the feeds are auto-paginated, so you just need to call .items() sequentially to get next page\r\n  const myPostsSecondPage = await userFeed.items();\r\n  await ig.media.like({\r\n    // Like our first post from first page or first post from second page randomly\r\n    mediaId: sample([myPostsFirstPage[0].id, myPostsSecondPage[0].id]),\r\n    moduleInfo: {\r\n      module_name: 'profile',\r\n      user_id: loggedInUser.pk,\r\n      username: loggedInUser.username,\r\n    },\r\n    d: sample([0, 1]),\r\n  });\r\n})();\r\n```\r\n\r\n# Basic concepts\r\n\r\n## Feeds\r\n\r\nFeed allows you to get data. Every feed is accessible via `ig.feed.feedName`. See [nice example](https://github.com/dilame/instagram-private-api/blob/master/examples/account-followers.feed.example.ts) and learn how to work with library feeds.\r\n\r\nAvailable feeds key list:\r\n\r\n`accountFollowers`, `accountFollowing`, `news`, `discover`, `pendingFriendships`, `blockedUsers`, `directInbox`, `directPending`, `directThread`, `user`, `tag`, `location`, `mediaComments`, `reelsMedia`, `reelsTray`, `timeline`, `musicTrending`, `musicSearch`, `musicGenre`, `musicMood`, `usertags`, `saved`\r\n\r\nMost of the feeds requires initialization parameter, like user pk. Check [autogenerated docs](https://github.com/dilame/instagram-private-api/tree/master/docs), every feed doc link starts with `feeds/` and contains constructor with argument if needed.\r\n\r\n## Repositories\r\n\r\nRepositories implements low-level atomic operations. Any repository method must make at most one api-request. There is repository listing below, so you can get information about methods of each repository from our autogenerated docs.\r\n\r\nKeys is a little hints, with it you will be able to get access to repository via `ig.key`.\r\n\r\n| Key              | Repository class documentation                                                                                                                                          |\r\n| ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\r\n| `account`        | [AccountRepository](https://github.com/dilame/instagram-private-api/blob/master/docs/classes/_repositories_account_repository_.accountrepository.md)                    |\r\n| `attribution`    | [AttributionRepository](https://github.com/dilame/instagram-private-api/blob/master/docs/classes/_repositories_attribution_repository_.attributionrepository.md)        |\r\n| `challenge`      | [ChallengeRepository](https://github.com/dilame/instagram-private-api/blob/master/docs/classes/_repositories_challenge_repository_.challengerepository.md)              |\r\n| `consent`        | [ConsentRepository](https://github.com/dilame/instagram-private-api/blob/master/docs/classes/_repositories_consent_repository_.consentrepository.md)                    |\r\n| `creatives`      | [CreativesRepository](https://github.com/dilame/instagram-private-api/blob/master/docs/classes/_repositories_creatives_repository_.creativesrepository.md)              |\r\n| `direct`         | [DirectRepository](https://github.com/dilame/instagram-private-api/blob/master/docs/classes/_repositories_direct_repository_.directrepository.md)                       |\r\n| `directThread`   | [DirectThreadRepository](https://github.com/dilame/instagram-private-api/blob/master/docs/classes/_repositories_direct_thread_repository_.directthreadrepository.md)    |\r\n| `discover`       | [DiscoverRepository](https://github.com/dilame/instagram-private-api/blob/master/docs/classes/_repositories_discover_repository_.discoverrepository.md)                 |\r\n| `fbsearch`       | [FbsearchRepository](https://github.com/dilame/instagram-private-api/blob/master/docs/classes/_repositories_fbsearch_repository_.fbsearchrepository.md)                 |\r\n| `friendship`     | [FriendshipRepository](https://github.com/dilame/instagram-private-api/blob/master/docs/classes/_repositories_friendship_repository_.friendshiprepository.md)           |\r\n| `launcher`       | [LauncherRepository](https://github.com/dilame/instagram-private-api/blob/master/docs/classes/_repositories_launcher_repository_.launcherrepository.md)                 |\r\n| `linkedAccount`  | [LinkedAccountRepository](https://github.com/dilame/instagram-private-api/blob/master/docs/classes/_repositories_linked_account_repository_.linkedaccountrepository.md) |\r\n| `live`           | [LiveRepository](https://github.com/dilame/instagram-private-api/blob/master/docs/classes/_repositories_live_repository_.liverepository.md)                             |\r\n| `location`       | [LocationRepository](https://github.com/dilame/instagram-private-api/blob/master/docs/classes/_repositories_location_repository_.locationrepository.md)                 |\r\n| `locationSearch` | [LocationSearch](https://github.com/dilame/instagram-private-api/blob/master/docs/classes/_repositories_location_search_repository_.locationsearch.md)                  |\r\n| `loom`           | [LoomRepository](https://github.com/dilame/instagram-private-api/blob/master/docs/classes/_repositories_loom_repository_.loomrepository.md)                             |\r\n| `media`          | [MediaRepository](https://github.com/dilame/instagram-private-api/blob/master/docs/classes/_repositories_media_repository_.mediarepository.md)                          |\r\n| `music`          | [MusicRepository](https://github.com/dilame/instagram-private-api/blob/master/docs/classes/_repositories_music_repository_.musicrepository.md)                          |\r\n| `news`           | [NewsRepository](https://github.com/dilame/instagram-private-api/blob/master/docs/classes/_repositories_news_repository_.newsrepository.md)                             |\r\n| `qe`             | [QeRepository](https://github.com/dilame/instagram-private-api/blob/master/docs/classes/_repositories_qe_repository_.qerepository.md)                                   |\r\n| `qp`             | [QpRepository](https://github.com/dilame/instagram-private-api/blob/master/docs/classes/_repositories_qp_repository_.qprepository.md)                                   |\r\n| `tag`            | [TagRepository](https://github.com/dilame/instagram-private-api/blob/master/docs/classes/_repositories_tag_repository_.tagrepository.md)                                |\r\n| `upload`         | [UploadRepository](https://github.com/dilame/instagram-private-api/blob/master/docs/classes/_repositories_upload_repository_.uploadrepository.md)                       |\r\n| `user`           | [UserRepository](https://github.com/dilame/instagram-private-api/blob/master/docs/classes/_repositories_user_repository_.userrepository.md)                             |\r\n| `zr`             | [ZrRepository](https://github.com/dilame/instagram-private-api/blob/master/docs/classes/_repositories_zr_repository_.zrrepository.md)                                   |\r\n\r\n## Services\r\n\r\nServices will help you to maintain some actions without calling a couple repositority methods or perform complex things like pre and postlogin flow simulations or photo/video publishing.\r\n\r\n| Key        | Service class documentation                                                                                                                |\r\n| ---------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\r\n| `publish`  | [PublishService](https://github.com/dilame/instagram-private-api/blob/master/docs/classes/_services_publish_service_.publishservice.md)    |\r\n| `search`   | [SearchService](https://github.com/dilame/instagram-private-api/blob/master/docs/classes/_services_search_service_.searchservice.md)       |\r\n| `simulate` | [SimulateService](https://github.com/dilame/instagram-private-api/blob/master/docs/classes/_services_simulate_service_.simulateservice.md) |\r\n| `story`    | [StoryService](https://github.com/dilame/instagram-private-api/blob/master/docs/classes/_services_story_service_.storyservice.md)          |\r\n\r\n# Debugging\r\n\r\nIn order to get debug infos provided by the library, you can enable debugging.\r\nThe prefix for this library is `ig`.\r\nTo get all debug logs (_recommended_) set the namespace to `ig:*`.\r\n\r\n#### Node\r\n\r\nIn node you only have to set the environment variable `DEBUG` to the desired namespace.\r\n[Further information](https://github.com/visionmedia/debug#environment-variables)\r\n\r\n#### Browser\r\n\r\nIn the browser you have to set `localStorage.debug` to the desired namespace.\r\n[Further information](https://github.com/visionmedia/debug#browser-support)\r\n\r\n# Contribution\r\n\r\nIf you need features that is not implemented - feel free to implement and create PRs!\r\n\r\nPlus we need some documentation, so if you are good in it - you are welcome.\r\n\r\nSetting up your environment is described [here](CONTRIBUTING.md).\r\n\r\n# Useful links\r\n\r\n[instagram-id-to-url-segment](https://www.npmjs.com/package/instagram-id-to-url-segment) - convert the image url fragment to the media ID\r\n\r\n## Special thanks\r\n\r\n- [Richard Hutta](https://github.com/huttarichard), original author of this library. Thanks to him for starting it.\r\n\r\n## Thanks to contributors\r\n\r\n- [Nerixyz](https://github.com/Nerixyz), for writing a huge amount of code for this library.\r\n","readmeFilename":"README.md"}