{"_id":"500px-api","_rev":"4-95485727918c4625741dbf137e2f63e0","name":"500px-api","dist-tags":{"next":"0.0.2-0","latest":"0.0.4"},"versions":{"0.0.2-0":{"name":"500px-api","description":"A package that interacts with the 500px private API to fetch information about Photos, Camera equipments, and Users.","version":"0.0.2-0","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/Scrip7/500px-api.git"},"bugs":{"url":"https://github.com/Scrip7/500px-api/issues"},"homepage":"https://github.com/Scrip7/500px-api#readme","author":{"name":"Hooman Hassanzadeh","url":"https://github.com/Scrip7"},"license":"MIT","scripts":{"build":"tsc --build ./tsconfig.build.json","format":"prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"","lint":"eslint \"{src,examples,tests}/**/*.ts\"","lint:fix":"eslint \"{src,examples,tests}/**/*.ts\" --fix","test":"jest --no-cache","test:watch":"jest --watch","test:cov":"jest --coverage","commit":"cz","changelog":"conventional-changelog -p angular -i RELEASE_CHANGELOG.md -s"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"jest":{"moduleFileExtensions":["js","ts"],"rootDir":"./","roots":["src","tests"],"testRegex":"./tests/.*.spec.ts$","transform":{"^.+\\.ts$":"ts-jest"},"collectCoverageFrom":["**/*.ts"],"coverageDirectory":"./coverage","testEnvironment":"node"},"dependencies":{"axios":"^0.21.1"},"devDependencies":{"@types/jest":"^26.0.24","@types/node":"^16.3.2","@typescript-eslint/eslint-plugin":"^4.28.3","@typescript-eslint/parser":"^4.28.3","commitizen":"^4.2.4","conventional-changelog-cli":"^2.1.1","cz-conventional-changelog":"^3.3.0","eslint":"^7.30.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^3.4.0","jest":"^27.0.6","prettier":"^2.3.2","ts-jest":"^27.0.3","typescript":"^4.3.5"},"keywords":["500px","api","photography","photo","camera","image","wallpaper"],"licenseText":"MIT License\n\nCopyright (c) 2021 Hooman Hassanzadeh\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.","_id":"500px-api@0.0.2-0","dist":{"shasum":"1e7dc40fbcfe7f802b3248726ce8843cc7bfd47b","integrity":"sha512-yNW+UyXq4YkW3NDJSlUvfsKVVnq23S3aUdMceKJKEOdOPPMaWkVU+ZmAtt2Q2izu0bBFLqFYld6k4NsX5kcBxA==","tarball":"https://registry.npmjs.org/500px-api/-/500px-api-0.0.2-0.tgz","fileCount":10,"unpackedSize":4838,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg8hhgCRA9TVsSAnZWagAAYskQAJHVcTgXgdnRYgVtyk/6\nLA/BwUCZzbEZy8ODqaHaw+ZzPVRvq6kJxpEV4nVQk23nSkE9HDkOiNo1MnUu\nmcA0c1CEBWaiWpkLERwe6n3lJvSqMHccycqASXI6h3b/KPNdRG7fNPT4EQaV\nLt8SNlDdCfyLlvbe+X/79AmwgLS8iS98yvovXDUYZOSYdszZdGO52JH3934V\nHmn9ka2s2uO+BAjwjMWa7ATiFoxwUjBkjqqIRZkAWrlfmWXRbw2uK4tQ+tKv\nbyLa31ylk4Q+m60YzH+qneTRZBDnFZwmgpmTOoY7Y0jxdRBkRxBDxuQtptjd\nGnNbggRDMWGgzfIe5JHTqfw/h4ILYAoYtrNjvCboBTEAKBUgYMU1J00gJEV9\nnrJXSSD4qZ637vDB/9bdyS49Mz3pSGlW1YuflmzAaIcPEHlYBRm0QGvb58QF\nVpBMpk8RnKT/z0rvnytuzpS/g/B0rSQsQQ+4ajgqjAFZOn27g84CPgT0xTbH\nY+gpsvB+QSPcROWMf31Gh5Rs89F0WOp5seCl3l0KBCxwzilkMj3N2ZsBe7GE\n4ynJqb/7zGgOCOuvZ4EqMPh9iXdj6n4zGvfbYlVBjYqXJhLLrUPbVuXb0nOD\nS9IbDZgE04YwbGZGfejdgE7sjnATCFFFgXBPMXxnCjQv03VC8nCNMV68WpVh\nV6Oq\r\n=VSHM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDeLIBYtN5VCtobM0ADFdCSzHZQ3bxvk15we+dS/SdC8wIgT3rM7Zhl7g4TtW/BQ5c2lxqx9KWZxQLi40joRprhwZs="}]},"_npmUser":{"name":"scrip7","email":"mr.subscript@gmail.com"},"directories":{},"maintainers":[{"name":"scrip7","email":"mr.subscript@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/500px-api_0.0.2-0_1626478688145_0.47920511880303707"},"_hasShrinkwrap":false},"0.0.2":{"name":"500px-api","description":"This is an unofficial package to fetch photos, users, photographers, camera equipment details, and other information from the 500px.com website.","version":"0.0.2","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/Scrip7/500px-api.git"},"bugs":{"url":"https://github.com/Scrip7/500px-api/issues"},"homepage":"https://github.com/Scrip7/500px-api#readme","author":{"name":"Hooman Hassanzadeh","url":"https://github.com/Scrip7"},"license":"MIT","scripts":{"build":"tsc --build ./tsconfig.build.json","format":"prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"","lint":"eslint \"{src,examples,tests}/**/*.ts\"","lint:fix":"eslint \"{src,examples,tests}/**/*.ts\" --fix","test":"jest --runInBand --no-cache","test:watch":"jest --runInBand --watch","test:cov":"jest --runInBand --verbose --coverage","commit":"cz","changelog":"conventional-changelog -p angular -i RELEASE_CHANGELOG.md -s"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"dependencies":{"axios":"^0.21.1","random-useragent":"^0.5.0"},"devDependencies":{"@types/jest":"^26.0.24","@types/node":"^16.4.3","@types/random-useragent":"^0.3.0","@typescript-eslint/eslint-plugin":"^4.28.4","@typescript-eslint/parser":"^4.28.3","commitizen":"^4.2.4","conventional-changelog-cli":"^2.1.1","cz-conventional-changelog":"^3.3.0","eslint":"^7.31.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^3.4.0","jest":"^27.0.6","prettier":"^2.3.2","ts-jest":"^27.0.4","ts-node":"^10.1.0","typescript":"^4.3.5"},"keywords":["500px","api","photography","photo","camera","image","wallpaper"],"licenseText":"MIT License\n\nCopyright (c) 2021 Hooman Hassanzadeh\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.","_id":"500px-api@0.0.2","dist":{"shasum":"47ce26ad8d1dbcba50304ce15a76c118aa0624a1","integrity":"sha512-naZhG3dQZUYNCjz5az4XobzrmXme6EFzOlhSaN5fzut7ZAIS/q/TYBks7uWZ85Jd7gEoYeiUtZyaXd4QmhkJNA==","tarball":"https://registry.npmjs.org/500px-api/-/500px-api-0.0.2.tgz","fileCount":39,"unpackedSize":52784,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg/qnSCRA9TVsSAnZWagAAVbcP/1euKCm3aHr18epq27RE\nLCQtXSHjE71Q3iFuqjCiFF2q7DzUDJLEjwWAIaDMXi+zPzPoQ4JuPKK/qrsx\nnwJRGn8+A3p2STaqwXIpRf6cjV3uPzv0cCQGzUnX5JQZY3sCBQ2phiZRnTpn\nfj+/SNFXwkyPPEyMVQ2R7pbZYGRhay+jl6O/vKfdLsq44RVehfBYd+LJsKCp\nNOMA683FO3U5o51TDrzwvlR3JuZuEFtVPRzy+cGgQH88ag2ewSw+VJz/KsqO\nFenpzPJpZucgqCzYCZNjoIFOyBmZGll3aVa8yjm1ut6JcQ6r8R4wemdK/0Wu\nVw7+/52Qz0dG0scXqnQ05xUN0/UUKBtqXyf3DP7yjrx7XbN5ZLTmZHi31596\nPXA21AQJ+VHeaapIaQgRoG6DIicSD1Oj1SxOFBJcx72ZH8qNdOvM6ZwsmHj8\ngDXj4LV68FD4FMKGgzDQ+JjU5I2NWu/ruPHhVUqmjSBFUvbujmBkLViyLL48\n8KdDW8Qeb6CXrYoCEgI9lJxgicVh1jgy0KSl5I/2cHRgF489DePPmaheDHcH\nl6GvJiFhT192wBurhEuF4P3q3xxAQVImhfCrF6DjjFOZHsu/CWP9XAoyIebv\nJjCyJuhBIWkrerZ5yhGjXfR/v/8qcH3FVQGFgumeWkeHivQGfXh9LIpnruPI\nAFeC\r\n=Jjc+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCinIdTFl6fBgAexmGzfBE5QIe5IgcdQPQZZAHuZrO4UAIgIxjNqTm/Hnr3wlm5IAX55pYFOH9sugctQ3HEonRvHWs="}]},"_npmUser":{"name":"scrip7","email":"mr.subscript@gmail.com"},"directories":{},"maintainers":[{"name":"scrip7","email":"mr.subscript@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/500px-api_0.0.2_1627302353881_0.21301377106018426"},"_hasShrinkwrap":false},"0.0.3":{"name":"500px-api","description":"This is an unofficial package to fetch photos, users, photographers, camera equipment details, and other information from the 500px.com website.","version":"0.0.3","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/Scrip7/500px-api.git"},"bugs":{"url":"https://github.com/Scrip7/500px-api/issues"},"homepage":"https://github.com/Scrip7/500px-api#readme","author":{"name":"Hooman Hassanzadeh","url":"https://github.com/Scrip7"},"license":"MIT","scripts":{"build":"tsc --build ./tsconfig.build.json","format":"prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"","lint":"eslint \"{src,examples,tests}/**/*.ts\"","lint:fix":"eslint \"{src,examples,tests}/**/*.ts\" --fix","test":"jest --runInBand --no-cache","test:watch":"jest --runInBand --watch","test:cov":"jest --runInBand --verbose --coverage","commit":"cz","changelog":"conventional-changelog -p angular -i RELEASE_CHANGELOG.md -s"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"dependencies":{"axios":"^0.21.3","random-useragent":"^0.5.0"},"devDependencies":{"@types/jest":"^27.0.0","@types/node":"^16.4.3","@types/random-useragent":"^0.3.0","@typescript-eslint/eslint-plugin":"^4.28.4","@typescript-eslint/parser":"^4.28.3","commitizen":"^4.2.4","conventional-changelog-cli":"^2.1.1","cz-conventional-changelog":"^3.3.0","eslint":"^7.31.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.0.0","jest":"^27.0.6","prettier":"^2.3.2","ts-jest":"^27.0.4","ts-node":"^10.1.0","typescript":"^4.3.5"},"keywords":["500px","api","photography","photo","camera","image","wallpaper"],"licenseText":"MIT License\n\nCopyright (c) 2021 Hooman Hassanzadeh\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.","_id":"500px-api@0.0.3","dist":{"shasum":"66d3e62719238283582803edf1bb36afb6012b52","integrity":"sha512-qdxD1mtC0GrOGlUcVNWEAWQPuHonSdUNo1RQ4+0htIKd1aDCGIaxuHtr8WmV/i2eUDfZUkj9aRaOopD9S6xOag==","tarball":"https://registry.npmjs.org/500px-api/-/500px-api-0.0.3.tgz","fileCount":39,"unpackedSize":52788,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhOgFFCRA9TVsSAnZWagAAG1MP/jwjIYBJxjoCHg1aYxmA\nIEcDHIF9QbBzEJSkoulBovcSYie/Xg20ZoGS6GVPHRi4CUBaMpHfsiGwKcBo\n7CPCErCBW7I0fsZPFnKuDUm39Vz2Tjv29mka9+jAos7ZBsbnv0FuR7+WbHeL\n3l+AMfCv7jifaWffB6+171y09puRZs/AASUPDRZGa0TIHi9f7BNH+qAZhO9P\naSDavuB46qxydBUe6SU5UQFQmutkBf/rGN+Zm7dFk42B++cDqaW4ZODZpNiQ\nznJ520TszjPoqUl6yiKpCOxPZ/0dL8c2pyhO/ZkzjSbECENc+PJNNet1quq0\nZB4XW7Xl/5Fp5xcu3n94ixuAy6Mn99f8eE0B4bX40WVB/7y2qzrUdQxpIwqs\nV/syR1A985HD++cxycx6of378TNqwp+mk2CnX7P4/BsphGsIv2JxnYrXnOcw\njmfxwPUceuWjQECH8L5Ov4DQKp33c4Fhbb/Eil9KvicBjquWh4PvspRtQ23Y\nI+b6B0t+5SxQHjuvI5l35KbwlFwOfAbN2T2juwG4z166jXNFGmXxOl82n5RW\nfwHaWG29ijoWja3yb8kTXlm14SNbDBrHKS95mlZtzUmr4jyXxqUs1bRdla76\nwf04yCQYuYx5xgjOalQKaPdmReRxV5mlZQAfVWIYGKkWD/IwnKSVRtureFAE\nAGTZ\r\n=1eyA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCs3RqsEfmtwgJtdbQS5K5+fo+nZzGQhDxXgdmrKTrO5QIgUd7YpAGEGTlXRXwhSEMSfSLRDwyOQYeYRyDAvSOmz5c="}]},"_npmUser":{"name":"scrip7","email":"mr.subscript@gmail.com"},"directories":{},"maintainers":[{"name":"scrip7","email":"mr.subscript@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/500px-api_0.0.3_1631191365337_0.7566300019243293"},"_hasShrinkwrap":false},"0.0.4":{"name":"500px-api","description":"This is an unofficial package to fetch photos, users, photographers, camera equipment details, and other information from the 500px.com website.","version":"0.0.4","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/Scrip7/500px-api.git"},"bugs":{"url":"https://github.com/Scrip7/500px-api/issues"},"homepage":"https://github.com/Scrip7/500px-api#readme","author":{"name":"Hooman Hassanzadeh","url":"https://github.com/Scrip7"},"license":"MIT","scripts":{"build":"tsc --build ./tsconfig.build.json","format":"prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"","lint":"eslint \"{src,examples,tests}/**/*.ts\"","lint:fix":"eslint \"{src,examples,tests}/**/*.ts\" --fix","test":"jest --runInBand --no-cache","test:watch":"jest --runInBand --watch","test:cov":"jest --runInBand --verbose --coverage","commit":"cz","changelog":"conventional-changelog -p angular -i RELEASE_CHANGELOG.md -s"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"dependencies":{"axios":"^0.21.3","random-useragent":"^0.5.0"},"devDependencies":{"@types/jest":"^27.0.0","@types/node":"^16.4.3","@types/random-useragent":"^0.3.0","@typescript-eslint/eslint-plugin":"^4.28.4","@typescript-eslint/parser":"^4.28.3","commitizen":"^4.2.4","conventional-changelog-cli":"^2.1.1","cz-conventional-changelog":"^3.3.0","eslint":"^7.31.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.0.0","jest":"^27.0.6","prettier":"^2.3.2","ts-jest":"^27.0.4","ts-node":"^10.1.0","typescript":"^4.3.5"},"keywords":["500px","api","photography","photo","camera","image","wallpaper"],"licenseText":"MIT License\n\nCopyright (c) 2021 Hooman Hassanzadeh\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.","_id":"500px-api@0.0.4","dist":{"shasum":"56788600c2649decb2251fd969babd2771b65843","integrity":"sha512-PWQnIOrt3XICbTZM2U7Cgi2g+rKlheI61tOxam2bIv7+DSHL2L5QSJ+0r5qqDAU6E5QWZ/lT4a7z7uj2hvlafA==","tarball":"https://registry.npmjs.org/500px-api/-/500px-api-0.0.4.tgz","fileCount":39,"unpackedSize":52950,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhobGUCRA9TVsSAnZWagAAnSMP/j2UK/P+MIB7y/DjwGuJ\nHwxUEhxLMPWqT02wD5nbn/SnUQZipA63VUal1WPKdMmqFXBRYd5l9AbWXiEQ\nHccZZWQI23KVIsx9fzNKvgMkghIBA9/lY98UMz5xrUc8HlH3j9AkdQUBJXLB\nWprSKscm66IBm/PBdzRcZw/3INxNlpfLnGCE32O4XVhrLjA7DJQOP4rH4vXo\n+h2E9FvPnVf+c+sPcJxDMrnlPieKTXCyPTN62ArlHqQ+YUeW2E8sJyew/7VB\nYtcC+oHazjjIoYbJ2BycZTaM1+3axuHGuO+6mGP+o5hVQz/JgMmwvG2T4HtZ\no4AmDaOXMSXAHGYW40A6X9YvmKhBbDTPWjggN5m6MAzE/sWtcE162usHvIZ9\nKUASGmGkZxYzFs+n4W82C1JsnC6CSfzSDQ1q50MIfi0NzYmHrrA1TiQKKI1Z\nXwzbg0zE5FViRvOba4QbwlNJuO3KfjMdN+E6gpXVInSxx9mcqqo9R+uFZjde\nMUffVILlWzecZwkIy2/u5ewwWZIxKMYaMsZPxM2aXr4Prv8VcpZ4TZvpGDqB\nRdjfhFv9vo0ocnOGj1MVQbyXpXD3CwDIwkiThvJXgEfk82zapxkoPKgAZQUE\nHQTexT2epzzDtBvpBiq47I2y4koWq9EFVPZrFuSZIoJGXbh4kv5OAj7D1xtV\nqc3R\r\n=ZC0g\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBEZKyd5wYl8nKbDk2B40r7fIcFiVWqNk2Nf59wk+pQOAiEAzGDkK2foun49R2wp+JZmBTAMHCAlrQUERUXOFX3yxmU="}]},"_npmUser":{"name":"scrip7","email":"mr.subscript@gmail.com"},"directories":{},"maintainers":[{"name":"scrip7","email":"mr.subscript@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/500px-api_0.0.4_1637986708516_0.39597273521543497"},"_hasShrinkwrap":false}},"time":{"created":"2021-07-16T23:38:08.145Z","0.0.2-0":"2021-07-16T23:38:08.252Z","modified":"2022-04-04T10:22:56.819Z","0.0.2":"2021-07-26T12:25:54.020Z","0.0.3":"2021-09-09T12:42:45.465Z","0.0.4":"2021-11-27T04:18:28.686Z"},"maintainers":[{"name":"scrip7","email":"mr.subscript@gmail.com"}],"description":"This is an unofficial package to fetch photos, users, photographers, camera equipment details, and other information from the 500px.com website.","homepage":"https://github.com/Scrip7/500px-api#readme","keywords":["500px","api","photography","photo","camera","image","wallpaper"],"repository":{"type":"git","url":"git+https://github.com/Scrip7/500px-api.git"},"author":{"name":"Hooman Hassanzadeh","url":"https://github.com/Scrip7"},"bugs":{"url":"https://github.com/Scrip7/500px-api/issues"},"license":"MIT","readme":"# 500px-API\n\n<!-- [START badges] -->\n<p>\n  <!-- [GitHub Workflow] -->\n  <a href=\"https://github.com/Scrip7/500px-api/actions/workflows/ci.yml\"><img src=\"https://img.shields.io/github/workflow/status/Scrip7/500px-api/CI?color=2fb54c&label=CI&logo=github&logoColor=d9ecde\" alt=\"CI\"></a>\n  <!-- [Code coverage] -->\n  <a href=\"https://codecov.io/gh/Scrip7/500px-api\"><img src=\"https://img.shields.io/codecov/c/github/scrip7/500px-api?color=2fb54c\" alt=\"Code Coverage\"></a>\n  <!-- [NPM package downloads] -->\n  <a href=\"https://npmjs.com/package/500px-api\"><img src=\"https://img.shields.io/npm/dy/500px-api?color=2fb54c\" alt=\"NPM Downloads\"></a>\n  <!-- [NPM package version] -->\n  <a href=\"https://npmjs.com/package/500px-api\"><img src=\"https://img.shields.io/npm/v/500px-api.svg\" alt=\"NPM\"></a>\n  <!-- [GitHub license] -->\n  <a href=\"https://github.com/Scrip7/discord-redgifs-bot/blob/main/LICENSE\"><img src=\"https://img.shields.io/github/license/Scrip7/500px-api?color=blue\" alt=\"License\"></a>\n<br />\n  <!-- [CodeFactor grade] -->\n  <a href=\"https://codefactor.io/repository/github/scrip7/500px-api\"><img src=\"https://img.shields.io/codefactor/grade/github/scrip7/500px-api?color=2fb54c&label=Codefactor\" alt=\"CodeFactor\"></a>\n  <!-- [CodeClimate maintainability] -->\n  <a href=\"https://codeclimate.com/github/Scrip7/500px-api/maintainability\"><img src=\"https://img.shields.io/codeclimate/maintainability/Scrip7/500px-api?color=2fb54c\" alt=\"Maintainability\"></a>\n  <!-- [Vulnerabilities] -->\n  <a href=\"https://snyk.io/test/github/scrip7/500px-api?targetFile=package.json\"><img src=\"https://img.shields.io/snyk/vulnerabilities/github/scrip7/500px-api?color=2fb54c\" alt=\"Known Vulnerabilities\"></a>\n  <!-- [Commitizen friendly] -->\n  <a href=\"http://commitizen.github.io/cz-cli/\"><img src=\"https://img.shields.io/badge/commitizen-friendly-2fb54c.svg?color=d9ecde\" alt=\"Commitizen friendly\"></a>\n  <!-- [PRs welcome] -->\n  <a href=\"https://github.com/Scrip7/500px-api/blob/main/CONTRIBUTING.md\"><img src=\"https://img.shields.io/badge/PRs-welcome-blue.svg?color=d9ecde\" alt=\"Contributing\"></a>\n</p>\n<!-- [END badges] -->\n\n<!-- [START description] -->\n\n<a href=\"https://github.com/Scrip7/500px-api/\">\n  <img src=\"https://raw.githubusercontent.com/Scrip7/500px-api/main/images/500px_logo.svg\" width=\"260\" align=\"right\">\n</a>\n\n> [500px API](https://npmjs.com/package/500px-api) is an unofficial package to fetch photos, users, photographers, camera equipment details, and other information from the 500px.com website!\n\n<!-- [END description] -->\n\n## When will it be ready?\n\n![Who knows?](https://i.imgur.com/6xfbPzs.gif)\n\n## Table of contents\n\n-   [What is 500px?](#what-is-500px)\n-   [Why 500px-api?](#why-500px-api)\n-   [Features](#features)\n-   [Coverage](#coverage)\n-   [Installing](#installing)\n-   [Get started](#get-started)\n-   [Method options](#method-options)\n    -   [Categories](#categories)\n        -   [Hidden categories](#hidden-categories)\n    -   [Image sizes](#image-sizes)\n        -   [Standard sizes](#standard-sizes)\n        -   [Longest edge sizes](#longest-edge-sizes)\n        -   [Cropped sizes](#cropped-sizes)\n-   [Contributing](#contributing)\n-   [Resources](#resources)\n\n## What is 500px?\n\n[500px](https://500px.com/) (pronounced \"five hundred p-x\") is a photography community where you can get immediate exposure with your first upload, connect and share your photos with the world, and grow as a photographer from anywhere.\n\n## Why 500px-api?\n\nAccording to [this support post](https://support.500px.com/hc/en-us/articles/360002435653-API), they no longer provide official API to third-parties.\n\n> The history of 500px has always encouraged creative development, but as of January 24th 2018, 500px will no longer be offering free access to our API.\n> This decision was made in order to protect our assets and improve our website's performance.\n> On June 15th, access to the API was shut down.\n> This is part of a larger strategic shift focusing our energy on continuing to build the world’s best photography community at 500px.com.\n\nThat's the main reason I developed and publish this package.\n\n[🔼 jump to the top](#table-of-contents)\n\n## Features\n\n-   Proxy support\n-   Random `User-Agent` header for each `Client`\n\n## Coverage\n\n-   Photo\n    -   Discover\n    -   Search\n    -   Comments\n\n## Installing\n\nUsing yarn (recommended):\n\n```bash\nyarn add 500px-api\n```\n\nUsing npm:\n\n```bash\nnpm install 500px-api\n```\n\n## Get started\n\nSee the [examples](https://github.com/Scrip7/500px-api/tree/main/examples) subdirectory for simple API calls.\n\n> If you have a use-case in mind which isn't well-represented by the examples, please [create an issue](https://github.com/Scrip7/500px-api/issues/new) or [submit a Pull Request](https://github.com/Scrip7/500px-api/blob/main/CONTRIBUTING.md).\n\n[🔼 jump to the top](#table-of-contents)\n\n## Method Options\n\nEach method has a lot of options, and **some of them** require pre-context.\n\nFirst, I'll describe what those options are and the best practices to use them in your application.\n\n[🔼 jump to the top](#table-of-contents)\n\n### Categories\n\nCategories of photos may be specified by their ID or string name, depending on the API method.\n\n> Avoid [hard coding](https://en.wikipedia.org/wiki/Hard_coding) these **IDs** and **names** in your application! ⚠️\n\nThe best practice to use them in method options, is using [`Category`](https://github.com/Scrip7/500px-api/blob/main/src/constants/enums.ts) enum.\n\nIf you use this coding approach, in case if we change their values in the future, you no longer need to update your code, and this further ensures the **stability** of your code.\n\n```TypeScript\nimport { Category } from '500px-api';\n\n/**\n * Return the String name of the category.\n */\nconsole.log(Category.FAMILY); // Family\n```\n\nSometimes after sending an API call, you might want to convert the category's numeric IDs to human-readable names, by using [`CategoriesHelper`](https://github.com/Scrip7/500px-api/blob/main/src/helpers/categories.ts) class.\n\n```TypeScript\nimport { CategoriesHelper } from '500px-api';\n\n/**\n * Converts Numeric category ID to it's name.\n */\nconsole.log(CategoriesHelper.convertIdToName(20)); // Family\n```\n\nID | Name                  | Enum Usage\n---|-----------------------|--------------------\n10 | `Abstract`            | `Category.ABSTRACT`\n29 | `Aerial`              | `Category.AERIAL`\n11 | `Animals`             | `Category.ANIMALS`\n5  | `Black and White`     | `Category.BLACK_AND_WHITE`\n1  | `Celebrities`         | `Category.CELEBRITIES`\n15 | `Commercial`          | `Category.COMMERCIAL`\n16 | `Concert`             | `Category.CONCERT`\n20 | `Family`              | `Category.FAMILY`\n14 | `Fashion`             | `Category.FASHION`\n2  | `Film`                | `Category.FILM`\n24 | `Fine Art`            | `Category.FINE_ART`\n23 | `Food`                | `Category.FOOD`\n3  | `Journalism`          | `Category.JOURNALISM`\n8  | `Landscapes`          | `Category.LANDSCAPES`\n12 | `Macro`               | `Category.MACRO`\n18 | `Nature`              | `Category.NATURE`\n30 | `Night`               | `Category.NIGHT`\n7  | `People`              | `Category.PEOPLE`\n19 | `Performing Arts`     | `Category.PERFORMING_ARTS`\n9  | `City & Architecture` | `Category.CITY_AND_ARCHITECTURE`\n17 | `Sport`               | `Category.SPORT`\n6  | `Still Life`          | `Category.STILL_LIFE`\n21 | `Street`              | `Category.STREET`\n26 | `Transportation`      | `Category.TRANSPORTATION`\n13 | `Travel`              | `Category.TRAVEL`\n22 | `Underwater`          | `Category.UNDERWATER`\n27 | `Urban Exploration`   | `Category.URBAN_EXPLORATION`\n25 | `Wedding`             | `Category.WEDDING`\n0  | `Uncategorized`       | `Category.UNCATEGORIZED`\n\n[🔼 jump to the top](#table-of-contents)\n\n#### Hidden categories\n\nFor several reasons, such as the type of audience or having an NSFW tag, the 500px.com website keeps these categories hidden from the public eye.\n\nYou can use these **IDs** and **names** the same way as usual [categories](#categories), but you have to be aware the content is for mature users.\n\nID | Name      | Enum Usage\n---|-----------|-------------------------\n31 | `Boudoir` | `Category.BOUDOIR`\n4  | `Nude`    | `Category.NUDE`\n\n[🔼 jump to the top](#table-of-contents)\n\n### Image sizes\n\nTo fetch images of different sizes, you have to provide an array of numeric IDs as a method option. Each of these IDs represents different image sizes.\n\n> Avoid [hard coding](https://en.wikipedia.org/wiki/Hard_coding) these **IDs** in your application! ⚠️\n\nThe best practice to use them in method options, is using [`ImageSize`](https://github.com/Scrip7/500px-api/blob/main/src/constants/enums.ts) enum.\n\n```TypeScript\nimport { ImageSize } from '500px-api';\n\nconsole.log(ImageSize.STANDARD_WIDTH_4096); // 15\n```\n\n> I have no idea what the **K**, and **S** columns are stands for, but I implemented them in this package and the documentation anyway. If you have any more information about them, feel free to [open a new issue](https://github.com/Scrip7/500px-api/issues/new) to explain them.\n\n[🔼 jump to the top](#table-of-contents)\n\n#### Standard sizes\n\nIf the width or height is empty, it means that they'll be calculated automatically (consider it as `auto`).\n\n```TypeScript\nimport { ImageSize } from '500px-api';\n\nconst sizes = [\n  // Standard width\n  ImageSize.STANDARD_WIDTH_1000_Q50,\n  ImageSize.STANDARD_WIDTH_2000_Q75,\n  ImageSize.STANDARD_WIDTH_4096,\n\n  // Standard height\n  ImageSize.STANDARD_HEIGHT_300_Q80,\n  ImageSize.STANDARD_HEIGHT_300,\n  ImageSize.STANDARD_HEIGHT_450_Q80,\n  ImageSize.STANDARD_HEIGHT_450_Q50,\n  ImageSize.STANDARD_HEIGHT_600_Q80,\n  ImageSize.STANDARD_HEIGHT_600,\n  ImageSize.STANDARD_HEIGHT_1080,\n];\n```\n\nID     | Width  | Height | Quality | K  | S  | Watermark | Enum Usage\n-------|:------:|:------:|:-------:|:--:|:--:|:---------:|------------------------------------\n**23** | `1000` |        |  `50`   |    |    |    ✖️     | `ImageSize.STANDARD_WIDTH_1000_Q50`\n**24** | `2000` |        |  `75`   |    |    |    ✖️     | `ImageSize.STANDARD_WIDTH_2000_Q75`\n**15** | `4096` |        |         |    | ✔️ |    ✖️     | `ImageSize.STANDARD_WIDTH_4096`\n**32** |        | `300`  |  `80`   |    |    |    ✖️     | `ImageSize.STANDARD_HEIGHT_300_Q80`\n**20** |        | `300`  |         |    |    |    ✖️     | `ImageSize.STANDARD_HEIGHT_300`\n**31** |        | `450`  |  `80`   |    |    |    ✖️     | `ImageSize.STANDARD_HEIGHT_450_Q80`\n**22** |        | `450`  |  `50`   |    |    |    ✖️     | `ImageSize.STANDARD_HEIGHT_450_Q50`\n**33** |        | `600`  |  `80`   | ✔️ |    |    ✖️     | `ImageSize.STANDARD_HEIGHT_600_Q80`\n**21** |        | `600`  |         | ✔️ |    |    ✖️     | `ImageSize.STANDARD_HEIGHT_600`\n**6**  |        | `1080` |         | ✔️ |    |    ✖️     | `ImageSize.STANDARD_HEIGHT_1080`\n\n[🔼 jump to the top](#table-of-contents)\n\n#### Longest edge sizes\n\nDepending on the overall height and width of the image, the longest edge of the image will be set to the **Longest Edge** column's value, and the other edge will be considered as `auto`.\n\n```TypeScript\nimport { ImageSize } from '500px-api';\n\nconst sizes = [\n  // Longest edge\n  ImageSize.LONGEST_EDGE_256,\n  ImageSize.LONGEST_EDGE_900,\n  ImageSize.LONGEST_EDGE_900_WATERMARK,\n  ImageSize.LONGEST_EDGE_1000_Q80,\n  ImageSize.LONGEST_EDGE_1080,\n  ImageSize.LONGEST_EDGE_1170,\n  ImageSize.LONGEST_EDGE_1500_Q80,\n  ImageSize.LONGEST_EDGE_1600,\n  ImageSize.LONGEST_EDGE_2000_Q80,\n  ImageSize.LONGEST_EDGE_2048,\n  ImageSize.LONGEST_EDGE_4096,\n];\n```\n\nID       | Longest Edge | Quality | K  | S  | Watermark | Enum Usage\n---------|:------------:|:-------:|:--:|:--:|:---------:|------------------------------------\n**30**   |    `256`     |         |    |    |    ✖️     | `ImageSize.LONGEST_EDGE_256`\n**4**    |    `900`     |         |    |    |    ✖️     | `ImageSize.LONGEST_EDGE_900`\n**14**   |    `900`     |         | ✔️ | ✔️ |    ✔️     | `ImageSize.LONGEST_EDGE_900_WATERMARK`\n**34**   |    `1000`    |  `80`   | ✔️ |    |    ✖️     | `ImageSize.LONGEST_EDGE_1000_Q80`\n**1080** |    `1080`    |         | ✔️ |    |    ✖️     | `ImageSize.LONGEST_EDGE_1080`\n**5**    |    `1170`    |         | ✔️ |    |    ✖️     | `ImageSize.LONGEST_EDGE_1170`\n**35**   |    `1500`    |  `80`   | ✔️ |    |    ✖️     | `ImageSize.LONGEST_EDGE_1500_Q80`\n**1600** |    `1600`    |         | ✔️ |    |    ✖️     | `ImageSize.LONGEST_EDGE_1600`\n**36**   |    `2000`    |  `80`   | ✔️ |    |    ✖️     | `ImageSize.LONGEST_EDGE_2000_Q80`\n**2048** |    `2048`    |         | ✔️ |    |    ✖️     | `ImageSize.LONGEST_EDGE_2048`\n**4096** |    `4096`    |         | ✔️ |    |    ✖️     | `ImageSize.LONGEST_EDGE_4096`\n\n[🔼 jump to the top](#table-of-contents)\n\n#### Cropped sizes\n\nRegardless of the original size of the photo, they will be cropped and will never be larger than the specified size.\n\n```TypeScript\nimport { ImageSize } from '500px-api';\n\nconst sizes = [\n  // Cropped\n  ImageSize.CROPPED_70x70,\n  ImageSize.CROPPED_100x100,\n  ImageSize.CROPPED_140x140_Q50,\n  ImageSize.CROPPED_200x200,\n  ImageSize.CROPPED_280x280,\n  ImageSize.CROPPED_440x440,\n  ImageSize.CROPPED_580x580,\n  ImageSize.CROPPED_600x600,\n  ImageSize.CROPPED_680x680,\n];\n```\n\nID      | Width | Height | Quality | S  | Watermark | Enum Usage\n--------|:-----:|:------:|:-------:|:--:|:---------:|--------------------------------\n**1**   | `70`  |  `70`  |         |    |    ✖️     | `ImageSize.CROPPED_70x70`\n**100** | `100` | `100`  |         |    |    ✖️     | `ImageSize.CROPPED_100x100`\n**2**   | `140` | `140`  |  `50`   |    |    ✖️     | `ImageSize.CROPPED_140x140_Q50`\n**200** | `200` | `200`  |         |    |    ✖️     | `ImageSize.CROPPED_200x200`\n**3**   | `280` | `280`  |         |    |    ✖️     | `ImageSize.CROPPED_280x280`\n**440** | `440` | `440`  |         |    |    ✖️     | `ImageSize.CROPPED_440x440`\n**11**  | `580` | `580`  |         | ✔️ |    ✖️     | `ImageSize.CROPPED_580x580`\n**600** | `600` | `600`  |         |    |    ✖️     | `ImageSize.CROPPED_600x600`\n**13**  | `680` | `680`  |         | ✔️ |    ✖️     | `ImageSize.CROPPED_680x680`\n\n[🔼 jump to the top](#table-of-contents)\n\n## Contributing\n\nPlease read the [CONTRIBUTING.md](https://github.com/Scrip7/500px-api/blob/main/CONTRIBUTING.md) file for details on our code of conduct, the process of running tests, and submitting pull requests to us.\n\n[🔼 jump to the top](#table-of-contents)\n\n## Resources\n\n-   [500px Legacy API](https://github.com/500px/legacy-api-documentation)\n\n[🔼 jump to the top](#table-of-contents)\n","readmeFilename":"README.md"}