{"_id":"yelp","_rev":"20-795020869e64ca1168d99cf3b01d8363","name":"yelp","description":"Library for interfacing with Yelp's API v2.0.","dist-tags":{"latest":"1.0.2"},"versions":{"0.1.0":{"name":"yelp","description":"Library for interfacing with Yelp's API v2.0.","version":"0.1.0","directories":{"lib":"./lib"},"main":"index","author":{"name":"Olivier Lalonde","email":"olalonde@gmail.com","url":"http://www.syskall.com/"},"repository":{"type":"git","url":"https://github.com/olalonde/node-yelp.git"},"homepage":"https://github.com/olalonde/node-yelp","dependencies":{"oauth":">=0.9.0 <1.0.0"},"_id":"yelp@0.1.0","engines":{"node":"*"},"_nodeSupported":true,"_npmVersion":"0.2.10-1","_nodeVersion":"v0.5.0-pre","dist":{"shasum":"58ea3d0ae23246e8533deeb1f2904cf07b22b268","tarball":"https://registry.npmjs.org/yelp/-/yelp-0.1.0.tgz","integrity":"sha512-hAyAc3zSBXYNqJkVzLVI8KENS4sAUUCiEEb7G6plERqqNG56Te0bqTSDm0WFdPcdoI+OKZnWUEKNz2buRClgdA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICWMxgPtFE9iRZMn6tC25IopHzSbKgI67ymdHQMVED0CAiBQJSCO03Y/5C/Vy2Un6Ap3Z5PtF5AoLdIrDb5jIGf0Ww=="}]}},"0.1.1":{"name":"yelp","description":"Library for interfacing with Yelp's API v2.0.","version":"0.1.1","directories":{"lib":"./lib"},"main":"index.js","author":{"name":"Olivier Lalonde","email":"olalonde@gmail.com","url":"http://www.syskall.com/"},"repository":{"type":"git","url":"git://github.com/olalonde/node-yelp.git"},"homepage":"https://github.com/olalonde/node-yelp","dependencies":{"oauth":">=0.9.0 <1.0.0"},"_npmUser":{"name":"olalonde","email":"olalonde@gmail.com"},"_id":"yelp@0.1.1","devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.0-2","_nodeVersion":"v0.6.8","_defaultsLoaded":true,"dist":{"shasum":"a7daf861970d6e0ab451f9ae056236c51c59b157","tarball":"https://registry.npmjs.org/yelp/-/yelp-0.1.1.tgz","integrity":"sha512-4QNP/iawm6xJ1l102LN5o4M10JXSu51CLlPVNSBHZWi0BBR+bqC14sNLgnko4KSbhD5oVjiHbLad5JzPPgP8eQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDf0c6kq72vvIMZz2fN4e+JPpyVB22SDytpl9O5SIS8/AiEAuG12tjeofKLZz9BTgjc7mZCG7lL9NG59FJ1MqGXXuss="}]},"maintainers":[{"name":"olalonde","email":"olalonde@gmail.com"}]},"0.2.0":{"name":"yelp","description":"Library for interfacing with Yelp's API v2.0.","version":"0.2.0","directories":{"lib":"./lib"},"main":"index.js","author":{"name":"Olivier Lalonde","email":"olalonde@gmail.com","url":"http://www.syskall.com/"},"repository":{"type":"git","url":"https://github.com/olalonde/node-yelp.git"},"homepage":"https://github.com/olalonde/node-yelp","dependencies":{"oauth":">=0.9.0 <1.0.0"},"gitHead":"26795d654b28d88a9b1f6e93af4498343f876c33","bugs":{"url":"https://github.com/olalonde/node-yelp/issues"},"_id":"yelp@0.2.0","scripts":{},"_shasum":"4529c3b2deec4b1c60082346b3a81a599d126e6e","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"olalonde","email":"olalonde@gmail.com"},"maintainers":[{"name":"olalonde","email":"olalonde@gmail.com"}],"dist":{"shasum":"4529c3b2deec4b1c60082346b3a81a599d126e6e","tarball":"https://registry.npmjs.org/yelp/-/yelp-0.2.0.tgz","integrity":"sha512-pt1pzpViKm/rd5ihgKabnW2oByqZ0VqdeVAngVay2tBiapTn6+yWN7RBuQYY8udGV1rwNcinlb4D/eiVxKG0cQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICzS78l+vkzMFCvC8I/MAzRWp82F83l7xG3Vu9mDQrV0AiBly5t4COSmnXCLx/Wm+XOuOlsjs68qv5wr5IVdO8RUtw=="}]}},"1.0.0":{"name":"yelp","description":"Library for interfacing with Yelp's API v2.0.","version":"1.0.0","main":"./lib","scripts":{"lint":"eslint ./src ./test","build":"babel ./src --out-dir ./lib --copy-files","clean":"rimraf ./lib","pretest":"npm run lint","test":"babel-node test/*.js","preversion":"npm test","version:auto":"npm version $(conventional-recommended-bump --preset=angular)","postversion":"git push --tags && git push","release":"npm run version:auto && npm publish","prepublish":"npm run build"},"engines":{"node":"> 0.8"},"author":{"name":"Olivier Lalonde","email":"olalonde@gmail.com","url":"http://www.syskall.com/"},"repository":{"type":"git","url":"git+https://github.com/olalonde/node-yelp.git"},"homepage":"https://github.com/olalonde/node-yelp","dependencies":{"oauth":">=0.9.0 <1.0.0"},"license":"MIT","devDependencies":{"babel-cli":"^6.1.18","babel-eslint":"^4.1.5","babel-preset-es2015":"^6.1.18","blue-tape":"^0.1.10","conventional-recommended-bump":"0.0.3","cz-conventional-changelog":"^1.1.4","eslint":"^1.9.0","eslint-config-airbnb":"^1.0.0","rimraf":"^2.4.3"},"config":{"commitizen":{"path":"node_modules/cz-conventional-changelog/"}},"gitHead":"213052bfc7d7f29a454e3b3648fffdac1a6e82d4","bugs":{"url":"https://github.com/olalonde/node-yelp/issues"},"_id":"yelp@1.0.0","_shasum":"fdfecb822d70b1aa33756735f2c7fbfa8eb75fda","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"olalonde","email":"olalonde@gmail.com"},"dist":{"shasum":"fdfecb822d70b1aa33756735f2c7fbfa8eb75fda","tarball":"https://registry.npmjs.org/yelp/-/yelp-1.0.0.tgz","integrity":"sha512-5m2UKDtWdX+pqakHdpEHpqICj+AwwH8f6M/txbi+G/r8WjHqOJko1BcIau7zccrFX5N+kjKkR85IlCXFTasZcA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDTTs4/Z7bYf+pECnITkTpEzW9AVRWPLBYHZRLBsGs6YAIhAOM+O8LODkeUKiyU6xVvoJy5gxqs7AJRe37U8t2vu5Qi"}]},"maintainers":[{"name":"olalonde","email":"olalonde@gmail.com"}]},"1.0.1":{"name":"yelp","description":"Library for interfacing with Yelp's API v2.0.","version":"1.0.1","main":"./index.js","scripts":{"lint":"eslint ./src ./test","build":"babel ./src --out-dir ./lib --copy-files","clean":"rimraf ./lib","pretest":"npm run lint","test":"babel-node test/*.js","preversion":"npm test","version:auto":"npm version $(conventional-recommended-bump --preset=angular)","postversion":"git push --tags && git push","release":"npm run version:auto && npm publish","prepublish":"npm run build"},"engines":{"node":"> 0.8"},"author":{"name":"Olivier Lalonde","email":"olalonde@gmail.com","url":"http://www.syskall.com/"},"repository":{"type":"git","url":"git+https://github.com/olalonde/node-yelp.git"},"homepage":"https://github.com/olalonde/node-yelp","dependencies":{"oauth":">=0.9.0 <1.0.0"},"license":"MIT","devDependencies":{"babel-cli":"^6.1.18","babel-eslint":"^4.1.5","babel-preset-es2015":"^6.1.18","blue-tape":"^0.1.10","conventional-recommended-bump":"0.0.3","cz-conventional-changelog":"^1.1.4","eslint":"^1.9.0","eslint-config-airbnb":"^1.0.0","rimraf":"^2.4.3"},"config":{"commitizen":{"path":"node_modules/cz-conventional-changelog/"}},"gitHead":"ba245939bebb23f4dd8e327c58d8cbbc7f885113","bugs":{"url":"https://github.com/olalonde/node-yelp/issues"},"_id":"yelp@1.0.1","_shasum":"94ec7f7ae162a5394aaa22cd631971b82828a7ae","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"olalonde","email":"olalonde@gmail.com"},"dist":{"shasum":"94ec7f7ae162a5394aaa22cd631971b82828a7ae","tarball":"https://registry.npmjs.org/yelp/-/yelp-1.0.1.tgz","integrity":"sha512-yMByAq9ufJ2dWc+7vL7+Ka67lEXB/n9y2v2QGFNdWYQxlj7nBh/51cBmoOzc7odhs+yLuCJuAJ08hDuOLhjntw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDCznT+XnXbZwBJV7MvzMUdRMIbY2n1uKdQvkg1sHa2mQIhANXgsCy0gy7hR+vaoyOSRdWw04jUepMhn8DNiA5XrEt5"}]},"maintainers":[{"name":"olalonde","email":"olalonde@gmail.com"}]},"1.0.2":{"name":"yelp","description":"Library for interfacing with Yelp's API v2.0.","version":"1.0.2","main":"./index.js","scripts":{"lint":"eslint ./src ./test","build":"babel ./src --out-dir ./lib --copy-files","clean":"rimraf ./lib","pretest":"npm run lint","test":"babel-node test/*.js","preversion":"npm test","version:auto":"npm version $(conventional-recommended-bump --preset=angular)","postversion":"git push --tags && git push","release":"npm run version:auto && npm publish","prepublish":"npm run build"},"engines":{"node":"> 0.8"},"author":{"name":"Olivier Lalonde","email":"olalonde@gmail.com","url":"http://www.syskall.com/"},"repository":{"type":"git","url":"git+https://github.com/olalonde/node-yelp.git"},"homepage":"https://github.com/olalonde/node-yelp","dependencies":{"oauth":">=0.9.0 <1.0.0"},"license":"MIT","devDependencies":{"babel-cli":"^6.1.18","babel-eslint":"^4.1.5","babel-preset-es2015":"^6.1.18","blue-tape":"^0.1.10","conventional-recommended-bump":"0.0.3","cz-conventional-changelog":"^1.1.4","eslint":"^1.9.0","eslint-config-airbnb":"^1.0.0","rimraf":"^2.4.3"},"config":{"commitizen":{"path":"node_modules/cz-conventional-changelog/"}},"gitHead":"805d024137fc7645caed0e722d03a0eb6008f24c","bugs":{"url":"https://github.com/olalonde/node-yelp/issues"},"_id":"yelp@1.0.2","_shasum":"cb15f0784652311e2df85e83dabcda61eaf1da3f","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.6.0","_npmUser":{"name":"olalonde","email":"olalonde@gmail.com"},"dist":{"shasum":"cb15f0784652311e2df85e83dabcda61eaf1da3f","tarball":"https://registry.npmjs.org/yelp/-/yelp-1.0.2.tgz","integrity":"sha512-pLcncuz8IGelzi4IlZQwkDIkA+/xYF/u6LdMUbDmLXKJoj2rORnUObSWVJ2GPk5odERgOZ50aolQIWQYnOsB+A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHlOWw5lip0xuB9zgtvT6FeK6x/t4wIckOyJVLibBA0lAiAPZeST0DzlReH00Xd3bXRWllWlrsG/KuQ07CIw1bkRpg=="}]},"maintainers":[{"name":"olalonde","email":"olalonde@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/yelp-1.0.2.tgz_1481335790868_0.17496551829390228"}}},"maintainers":[{"name":"olalonde","email":"olalonde@gmail.com"}],"time":{"modified":"2022-06-29T07:21:40.703Z","created":"2011-05-14T23:48:07.433Z","0.1.0":"2011-05-14T23:48:13.587Z","0.1.1":"2012-02-07T06:27:13.138Z","0.2.0":"2015-03-26T16:47:02.568Z","1.0.0":"2015-11-17T06:17:59.265Z","1.0.1":"2015-11-21T08:08:19.701Z","1.0.2":"2016-12-10T02:09:51.127Z"},"author":{"name":"Olivier Lalonde","email":"olalonde@gmail.com","url":"http://www.syskall.com/"},"repository":{"type":"git","url":"git+https://github.com/olalonde/node-yelp.git"},"users":{"jordanskole":true,"parkerproject":true,"erikvold":true,"flpms":true},"readme":"[![Build Status](https://travis-ci.org/olalonde/node-yelp.svg?branch=master)](https://travis-ci.org/olalonde/node-yelp) [![NPM version](https://badge.fury.io/js/yelp.png)](http://badge.fury.io/js/yelp)\n\nNode.js module for interfacing with [Yelp](http://www.yelp.com)'s API\nv2.0. Supports both promises and callbacks.\n\n# Install\n\n```\nnpm install --save yelp\n```\n\n# Usage\n\n```javascript\n// Request API access: http://www.yelp.com/developers/getting_started/api_access\nvar Yelp = require('yelp');\n\nvar yelp = new Yelp({\n  consumer_key: 'consumer-key',\n  consumer_secret: 'consumer-secret',\n  token: 'token',\n  token_secret: 'token-secret',\n});\n\n// See http://www.yelp.com/developers/documentation/v2/search_api\nyelp.search({ term: 'food', location: 'Montreal' })\n.then(function (data) {\n  console.log(data);\n})\n.catch(function (err) {\n  console.error(err);\n});\n\n// See http://www.yelp.com/developers/documentation/v2/business\nyelp.business('yelp-san-francisco')\n  .then(console.log)\n  .catch(console.error);\n\nyelp.phoneSearch({ phone: '+15555555555' })\n  .then(console.log)\n  .catch(console.error);\n\n// A callback based API is also available:\nyelp.business('yelp-san-francisco', function(err, data) {\n  if (err) return console.log(error);\n  console.log(data);\n});\n```\n\nSee [./test](./test) for more usage examples.\n\n# References\n\n- [Search API](http://www.yelp.com/developers/documentation/v2/search_api)\n- [Business API](http://www.yelp.com/developers/documentation/v2/business)\n\n# Test\n\n```bash\nCONSUMER_KEY=\"\" CONSUMER_SECRET=\"\" TOKEN=\"\" TOKEN_SECRET=\"\" npm test\n```\n\n# License\n\nCopyright (c) 2012 Olivier Lalonde <olalonde@gmail.com>\n\nPermission is hereby granted, free of charge, to any person obtaining a\ncopy 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 included\nin all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\nOR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","homepage":"https://github.com/olalonde/node-yelp","bugs":{"url":"https://github.com/olalonde/node-yelp/issues"},"readmeFilename":"README.md","license":"MIT"}