{"_id":"500px","_rev":"19-30263f8a713cea1dfeeb79bfe37394ea","name":"500px","description":"A wrapper for the 500px.com API","dist-tags":{"latest":"0.5.1"},"versions":{"0.2.0":{"name":"500px","description":"A wrapper for the 500px.com API","keywords":["api","500px"],"version":"0.2.0","homepage":"http://github.com/ro-ka/node-500px","repository":{"type":"git","url":"git://github.com/ro-ka/node-500px.git"},"author":{"name":"Robert Katzki","email":"robert@katzki.de","url":"http://katzki.de/"},"main":"./lib/api500px.js","dependencies":{},"engines":{"node":">= 0.4.0"},"licenses":[{"type":"MIT","url":"http://github.com/ro-ka/node-500px/raw/master/LICENSE"}],"_npmUser":{"name":"roka","email":"robert@katzki.de"},"_id":"500px@0.2.0","devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.104","_nodeVersion":"v0.6.0","_defaultsLoaded":true,"dist":{"shasum":"0f26398e3f0d8619d79507fe69d86cfd32ae6044","tarball":"https://registry.npmjs.org/500px/-/500px-0.2.0.tgz","integrity":"sha512-/jslDdjDDk5nMw0TMsIipn8NgbSwvFBBl5Y18NKCZ58xkjjlqnDgCJkPtr6eX+eYCqZ3sEVzo8Rlqt6Rw/lufA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICw0aqo0FMILsgy0KPX3+YWskEdclpBFa2n07erJ9RG3AiEAg9TTAv4pJ2ycZddwACnQj70EHgUhryFqxdaWq46jebE="}]},"maintainers":[{"name":"roka","email":"robert@katzki.de"}]},"0.3.0":{"name":"500px","description":"A wrapper for the 500px.com API","keywords":["api","500px"],"version":"0.3.0","homepage":"http://github.com/ro-ka/node-500px","repository":{"type":"git","url":"git://github.com/ro-ka/node-500px.git"},"author":{"name":"Robert Katzki","email":"robert@katzki.de","url":"http://katzki.de/"},"main":"./lib/api500px.js","dependencies":{},"engines":{"node":">= 0.4.0"},"licenses":[{"type":"MIT","url":"http://github.com/ro-ka/node-500px/raw/master/LICENSE"}],"_npmUser":{"name":"roka","email":"robert@katzki.de"},"_id":"500px@0.3.0","devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.104","_nodeVersion":"v0.6.0","_defaultsLoaded":true,"dist":{"shasum":"b71a2caeec03b51cd8160db8edb1caef46a3bb3f","tarball":"https://registry.npmjs.org/500px/-/500px-0.3.0.tgz","integrity":"sha512-xEjBtLnqLDOjZqa2Ca+7UL7XXUTeNUsqPAeLhsULMZFBDZvYk2k6F9fKUvCudOigzta5ah8WNjA9jK5HzQ6mLA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAj82RWCd3vW/yIE1cat21WS9M1aKq8roJTsBccUKkNGAiEAiHNUIH1t/N1wGdH7K+lKhJDRFIT+BYq5Fga2CDAHKg4="}]},"maintainers":[{"name":"roka","email":"robert@katzki.de"}]},"0.3.1":{"name":"500px","description":"A wrapper for the 500px.com API","keywords":["api","500px"],"version":"0.3.1","homepage":"http://github.com/ro-ka/node-500px","repository":{"type":"git","url":"git://github.com/ro-ka/node-500px.git"},"author":{"name":"Robert Katzki","email":"robert@katzki.de","url":"http://katzki.de/"},"main":"./lib/api500px.js","scripts":{"test":"make test"},"dependencies":{},"engines":{"node":">= 0.4.0"},"licenses":[{"type":"MIT","url":"http://github.com/ro-ka/node-500px/raw/master/LICENSE"}],"_npmUser":{"name":"roka","email":"robert@katzki.de"},"_id":"500px@0.3.1","devDependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.16","_nodeVersion":"v0.6.15","_defaultsLoaded":true,"dist":{"shasum":"e5adf004a281936529a12a78007bcfd2618032c4","tarball":"https://registry.npmjs.org/500px/-/500px-0.3.1.tgz","integrity":"sha512-+woRvdNqunVEIZjybt/E7BQLwSTgRwCu24r5Az9MGsb1HKkGlYSffRBg44mxeteJk8o8ihwuBBNUakbT2Elb5Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC3uPXyBDbFZXwLyzcALcT9B/1ot1y7qr2SOvZSFh6TiQIgXHgqBPcR+OM8mGu9uX2R0IEEj+eDMhTgxsVGb0cmiNE="}]},"maintainers":[{"name":"roka","email":"robert@katzki.de"}]},"0.3.2":{"name":"500px","description":"A wrapper for the 500px.com API","keywords":["api","500px"],"version":"0.3.2","homepage":"http://ro-ka.github.com/node-500px/","repository":{"type":"git","url":"git://github.com/ro-ka/node-500px.git"},"author":{"name":"Robert Katzki","email":"robert@katzki.de","url":"http://katzki.de/"},"main":"./lib/api500px.js","scripts":{"test":"make test"},"devDependencies":{"mocha":"1.0.x","should":"0.6.x"},"dependencies":{},"engines":{"node":">= 0.4.0"},"licenses":[{"type":"MIT","url":"http://github.com/ro-ka/node-500px/raw/master/LICENSE"}],"bugs":{"url":"https://github.com/ro-ka/node-500px/issues"},"_id":"500px@0.3.2","dist":{"shasum":"631f083fa2ead06bef0be2e60d4cb805fde7cb4d","tarball":"https://registry.npmjs.org/500px/-/500px-0.3.2.tgz","integrity":"sha512-XUzE3wZCJhEGnAawSfQfN3lObW9QbgyzWENbkbR/56a6PrH2ByAXdUaaHHkUdxmPJ4BTQXaphTvKZDAKcMTyAA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCD2e3/6mmT++Jg704kicb21j9iLSJPfijsDO64yknJQAIgT2z4G1dJlGrKEoOTfb2bnJaSYmc2asn8uqZ/KNcZs9o="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"roka","email":"robert@katzki.de"},"maintainers":[{"name":"roka","email":"robert@katzki.de"}]},"0.4.0":{"name":"500px","description":"A wrapper for the 500px.com API","keywords":["api","500px"],"version":"0.4.0","homepage":"http://ro-ka.github.com/node-500px/","repository":{"type":"git","url":"git://github.com/ro-ka/node-500px.git"},"author":{"name":"Robert Katzki","email":"robert@katzki.de","url":"http://katzki.de/"},"main":"./lib/api500px.js","scripts":{"lint":"jshint .","pretest":"npm run-script lint","test":"istanbul cover ./node_modules/.bin/_mocha test","posttest":"istanbul check-coverage && rm -rf coverage","prepublish":"npm test && npm prune"},"devDependencies":{"istanbul":"^0.3.0","jshint":"^2.5.5","mocha":"^1.21.4","should":"^4.0.4"},"dependencies":{},"engines":{"node":">= 0.4.0"},"licenses":[{"type":"MIT","url":"http://github.com/ro-ka/node-500px/raw/master/LICENSE"}],"gitHead":"3ae9222adad160021d21d46b026e45887025b9ba","bugs":{"url":"https://github.com/ro-ka/node-500px/issues"},"_id":"500px@0.4.0","_shasum":"9af78d96f2c4156d2fe9bd455f8d3f59e3f4f747","_from":".","_npmVersion":"2.0.0-beta.0","_npmUser":{"name":"roka","email":"robert@katzki.de"},"maintainers":[{"name":"roka","email":"robert@katzki.de"}],"dist":{"shasum":"9af78d96f2c4156d2fe9bd455f8d3f59e3f4f747","tarball":"https://registry.npmjs.org/500px/-/500px-0.4.0.tgz","integrity":"sha512-aC01klHj8jEqC/8bcqHSHtX+m8nmjiLo+JMdoPRMMeCsypw+WWVd5VpV+G+9S0q5dh1xCtSH+/IQ+KGXUYoxRA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDUNJPrj/9C4MezOc0HxVY3iaZRw0xoJBMZi+arePXH7AIgFedLFxwNKg+jbmZlzNxAmrOl22gsvDZSpSEXkyfyBf8="}]}},"0.4.1":{"name":"500px","description":"A wrapper for the 500px.com API","keywords":["api","500px"],"version":"0.4.1","homepage":"http://ro-ka.github.com/node-500px/","repository":{"type":"git","url":"git://github.com/ro-ka/node-500px.git"},"author":{"name":"Robert Katzki","email":"robert@katzki.de","url":"http://katzki.de/"},"main":"./lib/api500px.js","scripts":{"lint":"jshint .","pretest":"npm run-script lint","test":"istanbul cover ./node_modules/.bin/_mocha test","posttest":"istanbul check-coverage && rm -rf coverage","prepublish":"npm test && npm prune"},"devDependencies":{"istanbul":"^0.3.0","jshint":"^2.5.5","mocha":"^1.21.4","should":"^4.0.4"},"dependencies":{},"engines":{"node":">= 0.4.0"},"licenses":[{"type":"MIT","url":"http://github.com/ro-ka/node-500px/raw/master/LICENSE"}],"gitHead":"ab25d257e4c7392c039fbfb56b04485c9bf551e2","bugs":{"url":"https://github.com/ro-ka/node-500px/issues"},"_id":"500px@0.4.1","_shasum":"79f2f43d8478245bc9c0af79a838a7baf6dd0e65","_from":".","_npmVersion":"2.1.6","_nodeVersion":"0.10.33","_npmUser":{"name":"roka","email":"robert@katzki.de"},"maintainers":[{"name":"roka","email":"robert@katzki.de"}],"dist":{"shasum":"79f2f43d8478245bc9c0af79a838a7baf6dd0e65","tarball":"https://registry.npmjs.org/500px/-/500px-0.4.1.tgz","integrity":"sha512-0ixQ3DB6wAUD37JiO2ilrnExK7xUt5tOY7BaMpuzPup8yY5+EtlMT8vyHAuO/biNeVQEckvZE8pSE38wF5Vjbg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBJ6iILWISW/PtdTG1bpcdPSqmpvLYOJouGRJ2jgzibUAiEAg5tmN8a/wdHYhpWmhTekGlnLegosXlwRmbMsCn/5IgE="}]}},"0.5.0":{"name":"500px","description":"A wrapper for the 500px.com API","keywords":["api","500px"],"version":"0.5.0","homepage":"http://ro-ka.github.com/node-500px/","repository":{"type":"git","url":"git://github.com/ro-ka/node-500px.git"},"author":{"name":"Robert Katzki","email":"robert@katzki.de","url":"http://katzki.de/"},"main":"./lib/api500px.js","scripts":{"lint":"jshint .","pretest":"npm run-script lint","test":"istanbul cover ./node_modules/.bin/_mocha test","posttest":"istanbul check-coverage && rm -rf coverage","prepublish":"npm test && npm prune"},"devDependencies":{"istanbul":"^0.3.0","jshint":"^2.5.5","mocha":"^1.21.4","should":"^4.0.4"},"dependencies":{},"engines":{"node":">= 0.4.0"},"licenses":[{"type":"MIT","url":"http://github.com/ro-ka/node-500px/raw/master/LICENSE"}],"gitHead":"0befd8c003a864e1bfaf3107abbb7f987c3f83cb","bugs":{"url":"https://github.com/ro-ka/node-500px/issues"},"_id":"500px@0.5.0","_shasum":"480c979efcf0a318e77f1fd3b8990a8289b7149d","_from":".","_npmVersion":"2.1.10","_nodeVersion":"0.10.33","_npmUser":{"name":"roka","email":"robert@katzki.de"},"maintainers":[{"name":"roka","email":"robert@katzki.de"}],"dist":{"shasum":"480c979efcf0a318e77f1fd3b8990a8289b7149d","tarball":"https://registry.npmjs.org/500px/-/500px-0.5.0.tgz","integrity":"sha512-ctCPU93i9M8f93gXcPWLdoEN23HFB9OtyZJbJHYvp1J3CpnqdRTzl6fPxYTbiVD4XSZnQpbFf9fczYcK8Z3igg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHeBwOlLu3rhcZuxuTdv+jvyyGRGM0D+71mpifCsMBqVAiAYlIrkNVLVPBD2MKSW4ukImgUVe33GWi17q1PjnjgDBA=="}]}},"0.5.1":{"name":"500px","description":"A wrapper for the 500px.com API","keywords":["api","500px"],"version":"0.5.1","homepage":"http://ro-ka.github.com/node-500px/","repository":{"type":"git","url":"git://github.com/ro-ka/node-500px.git"},"author":{"name":"Robert Katzki","email":"robert@katzki.de","url":"http://katzki.de/"},"main":"./lib/api500px.js","scripts":{"lint":"jshint .","pretest":"npm run-script lint","test":"istanbul cover ./node_modules/.bin/_mocha test","posttest":"istanbul check-coverage && rm -rf coverage","prepublish":"npm test && npm prune"},"devDependencies":{"istanbul":"^0.3.0","jshint":"^2.5.5","mocha":"^1.21.4","should":"^4.0.4"},"dependencies":{},"engines":{"node":">= 0.4.0"},"licenses":[{"type":"MIT","url":"http://github.com/ro-ka/node-500px/raw/master/LICENSE"}],"gitHead":"03014f25fb11539d77d4053bf7d7257e9e7ccd14","bugs":{"url":"https://github.com/ro-ka/node-500px/issues"},"_id":"500px@0.5.1","_shasum":"c8bedbdcd1442e1b68f541fc88589ab901c69a69","_from":".","_npmVersion":"2.1.18","_nodeVersion":"0.10.35","_npmUser":{"name":"roka","email":"robert@katzki.de"},"maintainers":[{"name":"roka","email":"robert@katzki.de"}],"dist":{"shasum":"c8bedbdcd1442e1b68f541fc88589ab901c69a69","tarball":"https://registry.npmjs.org/500px/-/500px-0.5.1.tgz","integrity":"sha512-R8HyqE67H3jOouOydk0dzSZbgzwMa7JaypVBafLkJZyKJ4jO3lkzK8kISabahFbvob/nqFufSx9vtHGPiFlV1w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDOjQ5RSWWu0yDi0w2MKFIxyuO+VJ39izrX3OY3TlPqrAiEAlSsbAjimjTUVjK8jomu8vTmZhezfJPcHYsDoHuVt77Y="}]}}},"readme":"# node-500px\n\n[![NPM version](https://badge.fury.io/js/500px.png)](http://badge.fury.io/js/500px)\n\nThis plugin is a wrapper for the API of [500px.com](http://500px.com). To get more details on what the API offers, go to [developer.500px.com](http://developer.500px.com/).\n\n## Install\n\nThe easiest way is to install through npm:\n\n```bash\nnpm install 500px\n```\n\nOf course you can also clone via git or download the .zip or .tar.gz via the links above.\n\n## Getting started\n\nInclude the module in your project and initialize it. **Important**: Use the consumer key provided by 500px, not the JavaScript SDK key, as that is different!\n\n```javascript\nvar API500px = require('500px'),\n    api500px = new API500px(consumer_key);\n```\n\nNow you are ready to do some calls to the 500px.com API!\n\n## GET photos\n\nTo retrieve photos, just do the following:\n\n```javascript\napi500px.photos.getPopular({'sort': 'created_at', 'rpp': '100'},  function(error, results) {\n  if (error) {\n    // Error!\n    return;\n  }\n\n  // Do something\n});\n```\n\nChoose on of the funtions to get photos:\n\n* `getById (photo_id, arguments, callback)`\n* `getByUsername (username, arguments, callback)`\n* `getByUserId (user_id, arguments, callback)`\n* `getFavoritesByUsername (username, arguments, callback)`\n* `getFavoritesByUserId (user_id, arguments, callback)`\n* `getFriendsByUsername (username, arguments, callback)`\n* `getFriendsByUserId (user_id, arguments, callback)`\n* `getPopular (arguments, callback)`\n* `getUpcoming (arguments, callback)`\n* `getEditorsChoice (arguments, callback)`\n* `getFreshToday (arguments, callback)`\n* `getFreshYesterday (arguments, callback)`\n* `getFreshWeek (arguments, callback)`\n* `searchByTag (tag, arguments, callback)`\n* `searchByTerm (term, arguments, callback)`\n* `searchByGeo (geo, arguments, callback)`\n\nFor more information on the possible arguments, please check the [500px.com photos API](http://developer.500px.com/docs/photos-index)\n\n## GET users\n\nTo retrieve users, just do the following:\n\n```javascript\napi500px.users.getById(1234,  function(error, results) {\n  if (error) {\n    // Error!\n    return;\n  }\n\n  // Do something\n});\n```\n\nChoose on of the funtions to get users:\n\n* `getById (id, callback)`\n* `getByName (username, callback)`\n* `getByEmail (email, callback)`\n* `getFriendsById (id, arguments, callback)`\n\nFor more information on the possible arguments, please check the [500px.com users API](http://developer.500px.com/docs/users-index)\n\n## GET blogs\n\nTo retrieve blogs, just do the following:\n\n```javascript\napi500px.blogs.getFresh({rpp: 50},  function(error, results) {\n  if (error) {\n    // Error!\n    return;\n  }\n\n  // Do something\n});\n```\n\nChoose on of the funtions to get blogs:\n\n* `getById (id, arguments, callback)`\n* `getCommentsById (id, arguments, callback)`\n* `getFresh (arguments, callback)`\n* `getByUsername (username, arguments, callback)`\n* `getByUserId (user_id, arguments, callback)`\n\nFor more information on the possible arguments, please check the [500px.com blogs API](http://developer.500px.com/docs/blogs-index)\n\n## LICENSE\n\n(MIT License)\n\nCopyright (c) 2011 Robert Katzki <robert@katzki.de>\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","maintainers":[{"name":"roka","email":"robert@katzki.de"}],"time":{"modified":"2022-06-12T14:07:55.303Z","created":"2011-11-07T16:10:38.222Z","0.2.0":"2011-11-07T16:10:40.378Z","0.3.0":"2011-11-07T21:12:25.711Z","0.3.1":"2012-04-23T12:45:05.288Z","0.3.2":"2014-03-30T18:19:22.380Z","0.4.0":"2014-09-04T06:25:13.717Z","0.4.1":"2014-10-31T15:45:40.962Z","0.5.0":"2014-12-19T07:29:15.778Z","0.5.1":"2015-01-21T10:26:08.603Z"},"author":{"name":"Robert Katzki","email":"robert@katzki.de","url":"http://katzki.de/"},"repository":{"type":"git","url":"git://github.com/ro-ka/node-500px.git"},"homepage":"http://ro-ka.github.com/node-500px/","keywords":["api","500px"],"bugs":{"url":"https://github.com/ro-ka/node-500px/issues"},"readmeFilename":"README.md"}