Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

28.io-nodejs

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

28.io-nodejs

Node.js bindings for the 28.io API

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
44
increased by2.33%
Maintainers
1
Weekly downloads
 
Created
Source

#28.io Nodejs Binding

Build Status NPM version Code Climate

28.io-nodejs is an officially supported nodejs binding for 28.io. 28.io is a query processing platform that allows you to write complex queries accross multiple data sources - relational databases; document stores, data warehouses and even web services.

We also have tutorials and an REST API reference.

Join our 28.io Support Group to ask questions and provide feedback.

##Installation

npm install 28.io-nodejs

##Example

var $28 = require('api.28.io').$28('http://portal.28.io/api');
var projectName = 'apitests';
$28.Auth.authenticate({
    email: 'w+test@28.io',
    password: 'foobar',
    grant_type: 'client_credentials'
})
.then(function(response){
    var tokens = response.body;
    var projectToken = project_tokens['project_' + projectName];
    $28.Queries(projectname).listQueries({
        visibility: 'private',
        token: projectToken
})
.then(function(response){
    console.log(response.body);
});

Keywords

FAQs

Package last updated on 12 Jan 2016

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc