Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Kinvey REST API Client for node.js
JavaScript
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
example
lib
test
.gitignore
.jshintignore
Makefile
index.js
package.json
readme.md

readme.md

node-kinvey-rest

A Kinvey REST API Client for node.js

Install

  npm install node-kinvey-rest

Or from source:

  git clone git://github.com/adrianlee/node-kinvey-rest.git
  cd node-kinvey-rest
  npm link

Usage

  var Kinvey = require('node-kinvey-rest');

  var config = {
    appKey: XXXXXXXXXXXX,
    appSecret: XXXXXXXXXXXX,
    masterSecret: XXXXXXXXXXXX
  };

  var kinvey = new Kinvey(config.appKey, config.appSecret, config.masterSecret);

  kinvey.user.signup({username: "bob", password: "secret"}, function (err, res, body, success) {
    console.log(body);
  });

All callbacks are passed back with the following parameters, function(err, res, body, success) { ... }

API Coverage

Implemented

App
  • Ping
Users
  • Sign up
  • Retrieve
  • Update
  • Delete
  • Login
  • Logout
  • Email Verification
  • Password Reset
Data Store
  • Entities (Create, Retrieve, Update, Delete)

Not Implemented

  • Social Identities
  • User Discovery
  • User Group (Create, Retrieve, Update, Delete)
  • Querying (Filter, Modifiers, Compounded Queries, Couting, Aggregation, Location Querying)
  • Relational Data (Setup, Retrieve, Limitation)
  • Sequences (Create, Retrieve, Update, Remove, _sequences)
  • File (Upload, Download, Delete)

Run Tests

  make mocha
Something went wrong with that request. Please try again.