Socket
Socket
Sign inDemoInstall

3scale-senico

Package Overview
Dependencies
77
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    3scale-senico

Client for 3Scale Networks API


Version published
Maintainers
1
Install size
17.5 MB
Created

Readme

Source

3scale integration plugin for JavaScript/CoffeeScript/Node.js applications Build Status

3scale is an API Infrastructure service which handles API Keys, Rate Limiting, Analytics, Billing Payments and Developer Management. Includes a configurable API dashboard and developer portal CMS. More product stuff at http://www.3scale.net/, support information at http://support.3scale.net/.

Requirements
  • libxml2 library
Installation

The module is delivered through the package manager npm, so that the installation should be easy as: npm install 3scale

Testing

To run tests: vows test/* --spec

In the root of the project.

Usage
var Client = require('3scale').Client;

client = new Client("your provider key");

client.authorize({app_id: "your application id", app_key: "your application key"}, function(response){
  sys.log(sys.inspect(response));
});

// Or for reports

var trans = [
              { "app_id": "your application id", "usage": {"hits": 1}},
              { "app_id": "your application id", "usage": {"hits": 1000}}
             ]

client.report(trans, function(response){
  sys.log(sys.inspect(response));
});

Keywords

FAQs

Last updated on 08 Aug 2012

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc