0.2.0 • Published 6 years ago

phonecom-api v0.2.0

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

phonecom-api

Phone.com API module for nodejs clients. See phone.com API documentation for details on the API.

Example usage

Creating an api instance

Pass in your API token

const ApiClient = require('phonecom-api') ;
var api = new ApiClient( api_token ) ;

Listing objects:

api.listAccounts( (err, accounts) => {...}) ;

api.listExtensions( accountId, (err, extensions) => {...}) ;

api.listContacts( accountId, extensionId, (err, contacts) => {...}) ;

// etc...

Retrieving an object

api.getAccount( accountId, (err, account) => {...}) ;

api.getExtension( accountId, extensionId, (err, extension) => {...}) ;

api.getContact( accountId, extensionId, contactId, (err, contact) => {...}) ;

// etc...
0.2.0

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago