{"_id":"bandcamp","_rev":"50-c7918aa2b49c72aff3a44ce57ce80a6b","name":"bandcamp","description":"Library for rocking out with Bandcamp's API","dist-tags":{"latest":"0.0.7"},"versions":{"0.0.1":{"name":"bandcamp","description":"Library for rocking out with Bandcamp's API","version":"0.0.1","directories":{"lib":"./lib"},"main":"index.js","author":{"name":"Kelly Miyashiro","email":"miyashiro.kelly@gmail.com","url":"http://non-diligent.com"},"repository":{"type":"git","url":"git://github.com/kmiyashiro/node-bandcamp.git"},"homepage":"https://github.com/kmiyashiro/node-bandcamp","dependencies":{},"_npmJsonOpts":{"file":"/Users/Kelly/.npm/bandcamp/0.0.1/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"bandcamp@0.0.1","devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.15","_nodeVersion":"v0.4.9","_defaultsLoaded":true,"dist":{"shasum":"5a0c257613c5612255a6ed94c72f5af6cfc24248","tarball":"https://registry.npmjs.org/bandcamp/-/bandcamp-0.0.1.tgz","integrity":"sha512-Hwb1QnmA4CJM/0P7NMJNU032jNHlYPSjbWRhe5RYguXa6nl5uoCk7tY+sSiA9PosVzvnhNxLzENn3ZWGCDaMCQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICKK1lIXDqlG8YyPDepckOgSHHoSdXshAC04Z73fsjs/AiAUt4WzsTDfh0K/01rWQP90vQS3wqqib9IyzvM6cmJrNg=="}]},"scripts":{}},"0.0.4":{"name":"bandcamp","description":"Library for rocking out with Bandcamp's API","version":"0.0.4","directories":{"lib":"./lib","test":"./test"},"main":"index.js","keywords":["bandcamp","api","music"],"author":{"name":"Kelly Miyashiro","email":"miyashiro.kelly@gmail.com","url":"http://non-diligent.com"},"repository":{"type":"git","url":"git://github.com/kmiyashiro/node-bandcamp.git"},"homepage":"https://github.com/kmiyashiro/node-bandcamp","dependencies":{},"devDependencies":{"should":">= 0.2.1"},"_npmJsonOpts":{"file":"/Users/Kelly/.npm/bandcamp/0.0.4/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"bandcamp@0.0.4","engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.26","_nodeVersion":"v0.4.10","_defaultsLoaded":true,"dist":{"shasum":"694458692a27ceb5b45042423e21e7855af38435","tarball":"https://registry.npmjs.org/bandcamp/-/bandcamp-0.0.4.tgz","integrity":"sha512-o8/NbrR4IscvzIjbe0PTIiqCDmhh4hSItY/7L33X18KSfy7NHZNT88Wwt+2R+4BVwfp3iatygbwCfinU85KW1Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDVzhNpqnwLYx6W5pne782kMbJ5K9wui+/vKyFFo/1J3AIhAPhfX7XgvLJU5MOe1eoGdU8rh7vHYIc6vIiwRyhCvqjD"}]},"scripts":{},"maintainers":[{"name":"kmiyashiro","email":"miyashiro.kelly@gmail.com"}]},"0.0.5":{"name":"bandcamp","description":"Library for rocking out with Bandcamp's API","version":"0.0.5","directories":{"lib":"./lib","test":"./test"},"main":"index.js","keywords":["bandcamp","api","music"],"author":{"name":"Kelly Miyashiro","email":"miyashiro.kelly@gmail.com","url":"http://non-diligent.com"},"repository":{"type":"git","url":"git://github.com/kmiyashiro/node-bandcamp.git"},"homepage":"https://github.com/kmiyashiro/node-bandcamp","dependencies":{},"devDependencies":{"should":">= 0.2.1"},"_npmUser":{"name":"kmiyashiro","email":"miyashiro.kelly@gmail.com"},"_id":"bandcamp@0.0.5","engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.106","_nodeVersion":"v0.6.11","_defaultsLoaded":true,"dist":{"shasum":"6896cf96a96878a5604661890599f99010737d6c","tarball":"https://registry.npmjs.org/bandcamp/-/bandcamp-0.0.5.tgz","integrity":"sha512-NfNloe+UNT+rOgFq4/QLmuvp9LMGHSHIxySQLnJ4p/C2NLPZln+enw7CvqvOTwG96LSKjt/XVSz1/MFOj7VcOA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDDNbwKqaIvnADocPrS78p9kjVMoz/ivZGNTYaIxeG8iAiArety74LnVgD6k4uvL9HQjQIPOqo9mMbwEgwQdBozAmQ=="}]},"maintainers":[{"name":"kmiyashiro","email":"miyashiro.kelly@gmail.com"}]},"0.0.6":{"name":"bandcamp","description":"Library for rocking out with Bandcamp's API","version":"0.0.6","directories":{"lib":"./lib","test":"./test"},"main":"index.js","keywords":["bandcamp","api","music"],"author":{"name":"Kelly Miyashiro","email":"miyashiro.kelly@gmail.com","url":"http://non-diligent.com"},"repository":{"type":"git","url":"git://github.com/kmiyashiro/node-bandcamp.git"},"homepage":"https://github.com/kmiyashiro/node-bandcamp","dependencies":{},"devDependencies":{"mocha":"~1","chai":"~0"},"_npmUser":{"name":"kmiyashiro","email":"miyashiro.kelly@gmail.com"},"_id":"bandcamp@0.0.6","engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.106","_nodeVersion":"v0.6.17","_defaultsLoaded":true,"dist":{"shasum":"12fec4a5fc2c4d63785f3b20194206e30ffb525f","tarball":"https://registry.npmjs.org/bandcamp/-/bandcamp-0.0.6.tgz","integrity":"sha512-+YGAevPk8spMkzjVcAkXzmm5PHuobPLBW51hWDRIGrs/rrPa+KPiqxhrbxBGs9u+t+81TgAcRPYHma5+rGmJyw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHAyh75VukpH2BJot8q+KWvIjbVcz/A3YfQrUEH6Lh8+AiAhlfKtUoAeoXC1Y0Lu/IqND95p7S4ZF6nc7aiwSzGmsA=="}]},"maintainers":[{"name":"kmiyashiro","email":"miyashiro.kelly@gmail.com"}]},"0.0.7":{"name":"bandcamp","description":"Library for rocking out with Bandcamp's API","version":"0.0.7","directories":{"lib":"./lib","test":"./test"},"main":"index.js","keywords":["bandcamp","api","music"],"author":{"name":"Kelly Miyashiro","email":"miyashiro.kelly@gmail.com","url":"http://non-diligent.com"},"repository":{"type":"git","url":"git://github.com/kmiyashiro/node-bandcamp.git"},"homepage":"https://github.com/kmiyashiro/node-bandcamp","dependencies":{},"devDependencies":{"mocha":"~1","chai":"~0"},"_npmUser":{"name":"kmiyashiro","email":"miyashiro.kelly@gmail.com"},"_id":"bandcamp@0.0.7","optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.17","_defaultsLoaded":true,"dist":{"shasum":"57f6675d5aed8a13dd4c358b6c1799dbe3bda6c5","tarball":"https://registry.npmjs.org/bandcamp/-/bandcamp-0.0.7.tgz","integrity":"sha512-rLAHhllkidGjcGuEdXYrVgjh8b7zju3nMjUg7bItjITHggHfz5Bm0axL4nRH4nNQa287b+aXz599oSBGlrZfLg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDvOiJ4E59p9dxRQDxrD4FvZbxR8XDltyvUKEG6S3sHTQIhAKoPqly0Seh9jTE3X6q0ZRCn90P1z7yvdg+rCIlw1hxB"}]},"readme":"# Bandcamp Library for Node.js #\n\nA simple library to easily interact with the [Bandcamp API](http://bandcamp.com/developer).\n\n[Bandcamp](http://bandcamp.com) is an awesome platform for musicians, both physically large and small. You could be, like, tiny... or HUGE. It doesn't matter how big you are as long as you can use a computer. Just visit Bandcamp to setup your account and start selling music to your fans. It also does not discriminate against large or small fans, you just need a computer to listen to and buy music from Bandcamp. If you're a nerd, you can get uncompressed formats. The musician gets a large cut.\n\n## Installation\n\n```\nnpm install bandcamp\n```\n\n## Usage\n\n*View `test/test.js` for examples for every method.*\n\n```js\nvar key = 'yourbandcampAPIkey', // contact <support@bandcamp.com> to request one\n    bandcamp = require('bandcamp')(key),\n    i = require('util').inspect;\n    \nbandcamp.band.search('the internet', function(err, result, status) {\n    console.log(i(result));\n});\n```\n\nMost of the methods use the pattern: `module.method('search parameter', callback, optVersionOverride)`\n\nSee [Bandcamp API Documentation](http://bandcamp.com/developer) for details on all the calls and view `test/test.js` for examples for every method.\n\n## Options\n\nBandcamp split up different parts of their API into modules:\n\n* Band\n* Album\n* Track\n* URL\n\nEach module is versioned. You may pass a version object after your key to set custom versions of each module. In the future, I will update this library to always use the latest version of each module, so if you want to explicitly set the versions for your app and upgrade without fear, you can.\n\n```js\nvar versions = {\n    band: 3,\n    album: 2,\n    track: 1,\n    url: 1\n};\n\nvar key = 'yourbandcampAPIkey', // contact <support@bandcamp.com> to request one\n    bandcamp = require('bandcamp')(key, versions);\n```\n\n### Partial application/Curry\n\nYou may pass an arbitrary number of arguments after the 3 default ones (searchParam, Callback, [version]). For example:\n\n```js\n// Track module, default version (null), passed a URL\nbandcamp.track.search('1269403107', function(err, result, status, url) {\n    console.log(result, url);\n}, null, 'http://bandcamp.com');\n```\n\nThe fourth parameter passed to track.search() will be passed as the fourth parameter to the callback. In this case, I passed a URL `http://bandcamp.com` and the callback can access it via the fourth argument, `url`.\n\n### Optional version override\n\nYou may want to set your versions explicitly since I will update this library to always use the latest tested version of Bandcamp's API modules. They do not update them frequently, but just in case.\n\nYou may also include specific modules if you don't want to include all of them. The optional version parameter is a config object for individual modules.\n\n```js\n// Set the \"band\" module to use version 2.\nvar band = require('bandcamp')('apikeygoeshere', { band: 2 }).band,\n    bandcamp = require('bandcamp')('apikeygoeshere'); // uses default versions.\n\n// Band module version 2\nband.search('the internet', function(err, result, status) {\n    console.log(result);\n});\n\n// Track module version 1, overridden by third parameter\nbandcamp.track.search('1269403107', function(err, result, status) {\n    console.log(result);\n}, 1); // Override the track module version to 1 just for this call\n```\n## License \n\ntl;dr: Do whatever you want, as long as you keep this notice:\n\n(The MIT License)\n\nCopyright (c) 2011 Kelly Miyashiro &lt;miyashiro.kelly@gmail.com&gt;\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 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.","maintainers":[{"name":"kmiyashiro","email":"miyashiro.kelly@gmail.com"}]}},"maintainers":[{"name":"kmiyashiro","email":"miyashiro.kelly@gmail.com"}],"time":{"modified":"2022-06-13T04:14:33.390Z","created":"2011-07-16T02:03:23.147Z","0.0.1":"2011-07-16T02:03:23.764Z","0.0.2":"2011-07-26T21:53:39.659Z","0.0.3":"2011-08-18T21:35:13.235Z","0.0.4":"2011-08-20T19:31:01.594Z","0.0.5":"2012-03-18T19:41:16.453Z","0.0.6":"2012-05-06T05:19:09.065Z","0.0.7":"2012-05-24T17:03:16.873Z"},"author":{"name":"Kelly Miyashiro","email":"miyashiro.kelly@gmail.com","url":"http://non-diligent.com"},"repository":{"type":"git","url":"git://github.com/kmiyashiro/node-bandcamp.git"},"users":{"wlabranche":true}}