mobilecommons

1.0.0 • Public • Published

MobileCommons REST API library

wercker status

A API wrapper for MobileCommons REST API.

It currently only exposes a basic get method and a "messages" convenience endpoint wrapper method.

Install

npm install mobilecommons

Usage

The MobileCommons api uses basic auth for authentication.

var MobileCommons = require('mobilecommons');
var mc = new MobileCommons(
    'username',
    'password'
);

mc.get('messages', {'include_profile': 1}, function(err, data){
  console.log(data.response.messages[0].message);
});

Todo

  • Tests

Package Sidebar

Install

npm i mobilecommons

Weekly Downloads

0

Version

1.0.0

License

none

Last publish

Collaborators

  • desmondmorris
  • jonuy