{"_id":"4sq","_rev":"18-adc8033b07bbef7f4dec3445322079e4","name":"4sq","description":"A wrapper for the Foursquare API","dist-tags":{"latest":"0.1.6"},"versions":{"0.0.1":{"name":"4sq","version":"0.0.1","homepage":"http://github.com/meritt/node-4sq","author":{"name":"Alexey Simonenko","email":"alexey@simonenko.su"},"description":"Wrapper for the Foursquare API","keywords":["foursquare","4sq","api","wrapper"],"repository":{"type":"git","url":"git://github.com/meritt/node-4sq.git"},"main":"./lib/foursquare","engines":{"node":">=0.6.0 <0.7.0"},"dependencies":{"request":">=2.9.200"},"devDependencies":{"coffee-script":">=1.3.0","everyauth":">=0.2.32","express":">=2.5.9","ejs":">=0.7.1"},"_npmUser":{"name":"meritt","email":"alexey@simonenko.su"},"_id":"4sq@0.0.1","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.24","_nodeVersion":"v0.6.19","_defaultsLoaded":true,"dist":{"shasum":"cfe226886d24de846fb26d3ca75c4f520bc23e99","tarball":"https://registry.npmjs.org/4sq/-/4sq-0.0.1.tgz","integrity":"sha512-zBK8Svm0652r0aIGnQ2u+Z41H/w8DDZmVXlWE5TWsrMJOs3YNNC5QxY8t9cpAjHWkxxxgr3pRNudVr4lafA87A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD1HWWsPLj+0m2SmiSAMraZBoRdi/sz77Y7z6Nk9ST3qgIhAOyKJ6RYUvn83NzrM5RE5RHcBgjWCOInA3nDQXa4F55D"}]},"maintainers":[{"name":"meritt","email":"alexey@simonenko.su"}],"directories":{}},"0.1.0":{"name":"4sq","version":"0.1.0","description":"Wrapper for the Foursquare API","keywords":["foursquare","4sq","api","wrapper"],"author":{"name":"Alexey Simonenko","email":"alexey@simonenko.su"},"homepage":"http://simonenko.su/projects/node-4sq","main":"./lib/foursquare","repository":{"type":"git","url":"https://github.com/meritt/node-4sq.git"},"engines":{"node":">=0.6.0 <0.9.0"},"dependencies":{"request":"2.12.x"},"devDependencies":{"coffee-script":"1.4.x","everyauth":"0.2.x","express":"2.5.x","ejs":"0.7.x"},"_id":"4sq@0.1.0","dist":{"shasum":"48483a44f23f54a68fdae3167f921d16ae476853","tarball":"https://registry.npmjs.org/4sq/-/4sq-0.1.0.tgz","integrity":"sha512-7k4cGyH7vALoxAWKe3T8W8ydft1BHrkIZMhwVAC3U3Hb3ipZXw5q0bPTbBdFS+6ciWDHUOUprFnnEHFohSPQSw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDLWmxoIkuiBkNCKqxkeCFboRWCK6GKqDOttJvgK/QIrAiEAztYmyoJqG6BHELDbRHZRpLbpu6VQXilyG0d/UXHcDvc="}]},"_npmVersion":"1.1.69","_npmUser":{"name":"meritt","email":"alexey@simonenko.su"},"maintainers":[{"name":"meritt","email":"alexey@simonenko.su"}],"directories":{}},"0.1.1":{"name":"4sq","version":"0.1.1","description":"Wrapper for the Foursquare API","keywords":["foursquare","4sq","api","wrapper"],"author":{"name":"Alexey Simonenko","email":"alexey@simonenko.su"},"homepage":"http://simonenko.su/projects/node-4sq","main":"./lib/foursquare","repository":{"type":"git","url":"https://github.com/meritt/node-4sq.git"},"engines":{"node":">=0.8.0 <0.11.0"},"dependencies":{"request":"2.14.x"},"devDependencies":{"coffee-script":"1.6.x","everyauth":"0.2.x","express":"2.5.x","ejs":"0.7.x"},"_id":"4sq@0.1.1","dist":{"shasum":"a8c261a5e001fcc03afeac0649bcb410a30937a8","tarball":"https://registry.npmjs.org/4sq/-/4sq-0.1.1.tgz","integrity":"sha512-kaSWsqxeBhM2Op/rziepmWEVyR4EsTsAYy//MvQxeBcLtARvo7JkNP+t8hBtFJATMO1MNLXpUz86MssqHMgs+A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDXjdlBnmPdzHnlR3PNv4cpOLz2sRMqiftx0JUOnH1VpQIhAIHoF483/S9QT9uRYdhHBuNNJYNsFmfEkhj03g1S4CV4"}]},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"meritt","email":"alexey@simonenko.su"},"maintainers":[{"name":"meritt","email":"alexey@simonenko.su"}],"directories":{}},"0.1.2":{"name":"4sq","version":"0.1.2","description":"Wrapper for the Foursquare API","keywords":["foursquare","4sq","api","wrapper"],"author":{"name":"Alexey Simonenko","email":"alexey@simonenko.su"},"homepage":"http://simonenko.su/projects/node-4sq","main":"./lib/foursquare","repository":{"type":"git","url":"https://github.com/meritt/node-4sq.git"},"engines":{"node":">=0.8.0 <0.11.0"},"dependencies":{"request":"2.21.x"},"devDependencies":{"coffee-script":"1.6.x","everyauth":"0.2.x","express":"2.5.x","ejs":"0.7.x"},"_id":"4sq@0.1.2","dist":{"shasum":"57a1483d48cdac1fe381a0ec897f627465c74a46","tarball":"https://registry.npmjs.org/4sq/-/4sq-0.1.2.tgz","integrity":"sha512-44FHHLpYvjgFxDrDA3psgna892N78tqQIe5kwCXjPOZiXUsCVkkWrujLtu+GnJu0L7NrZGYp/o6sFs1YQNJR6g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCe2upmEoRwlGct1HRZ4D083NLm91nVqwMTnI08hMtlCQIhANfFU0/DN7StcUVzslZUSL2VumLZ5ZC5S9tyTm8hXxOQ"}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"meritt","email":"alexey@simonenko.su"},"maintainers":[{"name":"meritt","email":"alexey@simonenko.su"}],"directories":{}},"0.1.3":{"name":"4sq","version":"0.1.3","description":"Wrapper for the Foursquare API","keywords":["foursquare","4sq","api","wrapper"],"author":{"name":"Alexey Simonenko","email":"alexey@simonenko.su"},"homepage":"http://simonenko.su/projects/node-4sq","main":"./lib/foursquare","repository":{"type":"git","url":"https://github.com/meritt/node-4sq.git"},"engines":{"node":">=0.8.0 <0.11.0"},"dependencies":{"request":"2.27.x"},"devDependencies":{"coffee-script":"1.6.x","everyauth":"0.2.x","express":"2.5.x","ejs":"0.7.x"},"bugs":{"url":"https://github.com/meritt/node-4sq/issues"},"_id":"4sq@0.1.3","dist":{"shasum":"f9120a5f6cfd39e4e9c00d83c55edea7a5f9c996","tarball":"https://registry.npmjs.org/4sq/-/4sq-0.1.3.tgz","integrity":"sha512-GJ6PaydC7L38pX5UOdxVhQQRNfEiEzFivkjZBvrnfTmx/KC/lGUtO43ESMY3DHjkEDYsfrdrFKuYfPRfan1Dcg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCJz4JVoIY3+obY+NPN6hccSnKcjfY2pUTRM4R8+9t9aAIhAN6kUVuytsCmVAppUmNsx8nwDEDNNjpH8h8nbXedYg0Y"}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"meritt","email":"alexey@simonenko.su"},"maintainers":[{"name":"meritt","email":"alexey@simonenko.su"}],"directories":{}},"0.1.4":{"name":"4sq","version":"0.1.4","description":"Wrapper for the Foursquare API","keywords":["foursquare","4sq","api","wrapper"],"author":{"name":"Alexey Simonenko","email":"alexey@simonenko.su"},"homepage":"http://simonenko.su/projects/node-4sq","main":"./lib/foursquare","repository":{"type":"git","url":"https://github.com/meritt/node-4sq.git"},"engines":{"node":">=0.8.0 <0.11.0"},"dependencies":{"request":"2.27.x"},"devDependencies":{"coffee-script":"1.6.x","everyauth":"0.2.x","express":"2.5.x","ejs":"0.7.x"},"bugs":{"url":"https://github.com/meritt/node-4sq/issues"},"_id":"4sq@0.1.4","dist":{"shasum":"de57256dcb9c0d56a9d7b109f7277926eaf025af","tarball":"https://registry.npmjs.org/4sq/-/4sq-0.1.4.tgz","integrity":"sha512-q6enwF7HOyHf9mBYkjTf4RtIhTlJCUfJ+2boAqi+9Xgk0lIgxQ7WsEuRtUxGNCFaitjA8OrhwHa7aOa9dIWPTw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBKOtpOCBrQ51ZftV5v6WslvEs02UoaXuii6pV57UCGgAiEAwQExdMKsDXR1YC3yCy2JKFFbczZeqnrahl1Ueo6J1tQ="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"meritt","email":"alexey@simonenko.su"},"maintainers":[{"name":"meritt","email":"alexey@simonenko.su"}],"directories":{}},"0.1.5":{"name":"4sq","version":"0.1.5","description":"A wrapper for the Foursquare API","keywords":["foursquare","4sq","api","wrapper"],"author":{"name":"Alexey Simonenko","email":"alexey@simonenko.su"},"homepage":"http://simonenko.su/projects/node-4sq","main":"./lib/foursquare","repository":{"type":"git","url":"https://github.com/meritt/node-4sq.git"},"engines":{"node":">=0.8.0"},"dependencies":{"request":"2.x"},"devDependencies":{"coffee-script":"1.6.x","everyauth":"0.2.x","express":"2.5.x","ejs":"0.7.x"},"license":"MIT","bugs":{"url":"https://github.com/meritt/node-4sq/issues"},"_id":"4sq@0.1.5","dist":{"shasum":"cf022206a67b9996f1514973950f8de502d0292d","tarball":"https://registry.npmjs.org/4sq/-/4sq-0.1.5.tgz","integrity":"sha512-BlfXIPTcaxHfiYntkJvZuPovRB1l199Z62lVTexIQXrdXaoWM5Y0v4ycyb+ECiUPoKjeimW5RvPh7b8ZwnkJRg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCeyRhc41jYUXiG/r5qwO41v6P39nIa2gtE021/pG9m1QIhANl+c5jChUeKn03bUTcqJFRpD4vWg/cF5QzJNOJaOaeA"}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"meritt","email":"alexey@simonenko.su"},"maintainers":[{"name":"meritt","email":"alexey@simonenko.su"}]},"0.1.6":{"name":"4sq","version":"0.1.6","description":"A wrapper for the Foursquare API","keywords":["foursquare","4sq","api","wrapper"],"author":{"name":"Alexey Simonenko","email":"alexey@simonenko.su"},"homepage":"http://simonenko.su/projects/node-4sq","main":"./lib/foursquare","repository":{"type":"git","url":"https://github.com/meritt/node-4sq.git"},"engines":{"node":">=0.10"},"dependencies":{"request":"2.x"},"devDependencies":{"coffee-script":"~1.7.1","everyauth":"0.2.x","express":"2.5.x","ejs":"0.7.x"},"scripts":{"build":"coffee -c -o lib/ src/"},"license":"MIT","bugs":{"url":"https://github.com/meritt/node-4sq/issues"},"_id":"4sq@0.1.6","dist":{"shasum":"23714627fba9311c5547015cdfe5eae82708beed","tarball":"https://registry.npmjs.org/4sq/-/4sq-0.1.6.tgz","integrity":"sha512-8/P780SJhzxhZ+Rgzc7iuzgyJHfTB1H3j9iw080qEtEsci/hj8sxFZAgNHILAMZ9ltKTEqTNWrrgbyHRU4LngA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFu2KgIIBPeuhddmYj273Guh2SZmvA8TEOQmKDere5eXAiBa3voXVKv0CMYqN+wDkK4aY0mv9EiKbMKAePTtsqn1fA=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"meritt","email":"alexey@simonenko.su"},"maintainers":[{"name":"meritt","email":"alexey@simonenko.su"}]}},"readme":"# 4sq\n\n[![NPM version](https://badge.fury.io/js/4sq.svg)](http://badge.fury.io/js/4sq) [![Dependency Status](https://david-dm.org/meritt/node-4sq.svg?theme=shields.io)](https://david-dm.org/meritt/node-4sq)\n\nA node.js wrapper for the [Foursquare API](https://developer.foursquare.com/overview/).\n\n## Installation\n\n```bash\n$ npm install 4sq\n```\n\n## Examples\n\n```js\nvar Foursquare = require('4sq');\n\nvar fsq = new Foursquare({\n  token: 'OAuth2 access_token'\n});\n\nfsq.checkins('self', {limit: 5}, function(error, data) {\n  if (error) {\n    throw new Error(error);\n  }\n\n  console.log(data);\n});\n```\n\n```coffeescript\nFoursquare = require '4sq'\n\nfsq = new Foursquare token: 'OAuth2 access_token'\n\nfsq.checkins 'self', limit: 5, (error, data) ->\n  throw new Error error if error\n  console.log data\n```\n\n## How to retrieve foursquare OAuth2 access_token\n\nGrab latest source code and install all dev dependencies\n\n```bash\n$ npm link\n```\n\nChange your host, client id, client secret in [examples/get-access-token.coffee](http://github.com/meritt/node-4sq/blob/master/examples/get-access-token.coffee) and after that run [examples/get-access-token.coffee](http://github.com/meritt/node-4sq/blob/master/examples/get-access-token.coffee)\n\n```bash\n$ coffee examples/get-access-token.coffee\n```\n\n## API\n\n* `user(user_id[, params], callback)`\n* `checkins(user_id[, params], callback)`\n* `badges(user_id[, params], callback)`\n\nBy default `user_id` set to `self`.\n\n## Author\n\n* [Alexey Simonenko](mailto:alexey@simonenko.su), [simonenko.su](http://simonenko.su)\n\n## License\n\nThe MIT License, see the included `license.md` file.\n\n[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/meritt/node-4sq/trend.png)](https://bitdeli.com/free \"Bitdeli Badge\")","maintainers":[{"name":"meritt","email":"alexey@simonenko.su"}],"time":{"modified":"2022-06-12T14:07:53.159Z","created":"2012-06-10T20:30:10.765Z","0.0.1":"2012-06-10T20:30:12.717Z","0.1.0":"2013-01-08T17:48:28.245Z","0.1.1":"2013-03-16T16:21:53.354Z","0.1.2":"2013-05-18T22:35:41.280Z","0.1.3":"2013-11-03T16:45:23.530Z","0.1.4":"2013-11-03T16:50:31.206Z","0.1.5":"2013-12-24T23:48:05.912Z","0.1.6":"2014-04-03T09:43:37.679Z"},"author":{"name":"Alexey Simonenko","email":"alexey@simonenko.su"},"repository":{"type":"git","url":"https://github.com/meritt/node-4sq.git"},"homepage":"http://simonenko.su/projects/node-4sq","keywords":["foursquare","4sq","api","wrapper"],"bugs":{"url":"https://github.com/meritt/node-4sq/issues"},"license":"MIT","readmeFilename":"readme.md"}