{"_id":"3scale_senico","_rev":"5-2091417085525e9558fa03481be56655","name":"3scale_senico","description":"Client for 3Scale Networks API","dist-tags":{"latest":"0.4.0"},"versions":{"0.4.0":{"name":"3scale_senico","description":"Client for 3Scale Networks API","version":"0.4.0","homepage":"http://www.3scale.net","repository":{"type":"git","url":"git://github.com/3scale/3scale_ws_api_for_nodejs.git"},"author":{"name":"3scale","email":"support@3scale.net"},"contributors":[{"name":"Carlos Villuendas","email":"carlosvillu@3scale.net"},{"name":"Michal Cichra","email":"michal@3scale.net"},{"name":"Daniel Stevens","email":"daniel.stevens@senicolabs.com"},{"name":"Chaitanya Surapaneni","email":"chaitanya.surapaneni@senicolabs.com"},{"name":"Joaquin Rivera","email":"joaquin@3scale.net","url":"joahking"}],"main":"lib/index.js","bugs":{"url":"http://github.com/3scale/3scale_ws_api_for_nodejs/issues"},"keywords":["api","authorization","3scale","web"],"scripts":{"prepublish":"coffee --bare -o lib -c src","test":"vows test/authorize_response_test.coffee test/response_test.coffee --spec"},"directories":{"test":"test"},"dependencies":{"libxmljs":"*","qs":"*"},"devDependencies":{"coffee-script":"1.x","vows":"0.5.x"},"engines":{"node":"0.8.x"},"optionalDependencies":{},"license":"BSD","readme":"# 3scale integration plugin for JavaScript/CoffeeScript/Node.js applications [![Build Status](https://secure.travis-ci.org/3scale/3scale_ws_api_for_nodejs.png?branch=master)](http://travis-ci.org/3scale/3scale_ws_api_for_nodejs)\n\n3scale is an API Infrastructure service which handles API Keys, Rate Limiting, Analytics, Billing Payments and Developer Management.\nIncludes a configurable API dashboard and developer portal CMS.\nMore product stuff at http://www.3scale.net/, support information at http://support.3scale.net/.\n\n#### Requirements\n\n* libxml2 library\n\n#### Installation\n\nThe module is delivered through the package manager npm, so that the installation should be easy as: `npm install 3scale`\n\n#### Testing\n\nTo run tests: `vows test/* --spec`\n\nIn the root of the project.\n\n#### Usage\n\n    var Client = require('3scale').Client;\n\n    client = new Client(\"your provider key\");\n\n    client.authorize({app_id: \"your application id\", app_key: \"your application key\"}, function(response){\n      sys.log(sys.inspect(response));\n    });\n\n    // Or for reports\n\n    var trans = [\n                  { \"app_id\": \"your application id\", \"usage\": {\"hits\": 1}},\n                  { \"app_id\": \"your application id\", \"usage\": {\"hits\": 1000}}\n                 ]\n\n    client.report(trans, function(response){\n      console.log(response);\n    });\n\n","readmeFilename":"README.md","_id":"3scale_senico@0.4.0","dist":{"shasum":"8a71fad74cd3793624f06786597d49a05e88e9a1","tarball":"https://registry.npmjs.org/3scale_senico/-/3scale_senico-0.4.0.tgz","integrity":"sha512-KAw7rUslSXpRc+NJ5pRZhqYnh2e4NHyxxf5UUgtC0SbYSgvpAAYtTw5/2Qtse0jKAiJJng6GH1aCilLxc/Lfmg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDuEu92gCFzLs6NbVCKPLmBladBtd5UpR4cuCaLfeUhUgIgLcciRW+rGD25qhjZw4XeZxSDGUMUKeKBKV46wJc2v7U="}]},"_from":".","_npmVersion":"1.2.12","_npmUser":{"name":"schaitanya","email":"chaitanya.surapaneni@senicolabs.com"},"maintainers":[{"name":"schaitanya","email":"chaitanya.surapaneni@senicolabs.com"}]}},"readme":"# 3scale integration plugin for JavaScript/CoffeeScript/Node.js applications [![Build Status](https://secure.travis-ci.org/3scale/3scale_ws_api_for_nodejs.png?branch=master)](http://travis-ci.org/3scale/3scale_ws_api_for_nodejs)\n\n3scale is an API Infrastructure service which handles API Keys, Rate Limiting, Analytics, Billing Payments and Developer Management.\nIncludes a configurable API dashboard and developer portal CMS.\nMore product stuff at http://www.3scale.net/, support information at http://support.3scale.net/.\n\n#### Requirements\n\n* libxml2 library\n\n#### Installation\n\nThe module is delivered through the package manager npm, so that the installation should be easy as: `npm install 3scale`\n\n#### Testing\n\nTo run tests: `vows test/* --spec`\n\nIn the root of the project.\n\n#### Usage\n\n    var Client = require('3scale').Client;\n\n    client = new Client(\"your provider key\");\n\n    client.authorize({app_id: \"your application id\", app_key: \"your application key\"}, function(response){\n      sys.log(sys.inspect(response));\n    });\n\n    // Or for reports\n\n    var trans = [\n                  { \"app_id\": \"your application id\", \"usage\": {\"hits\": 1}},\n                  { \"app_id\": \"your application id\", \"usage\": {\"hits\": 1000}}\n                 ]\n\n    client.report(trans, function(response){\n      console.log(response);\n    });\n\n","maintainers":[{"name":"schaitanya","email":"chaitanya.surapaneni@senicolabs.com"}],"time":{"modified":"2022-06-12T14:07:30.089Z","created":"2013-03-07T17:25:41.220Z","0.4.0":"2013-03-07T17:25:41.611Z"},"author":{"name":"3scale","email":"support@3scale.net"},"repository":{"type":"git","url":"git://github.com/3scale/3scale_ws_api_for_nodejs.git"}}