https://github.com/settermjd/callfire-javascript-api-helper
This is a simple module for interacting with the CallFire API, made for use with the Node.js code samples in the new REST API documentation.
https://github.com/settermjd/callfire-javascript-api-helper
Last synced: over 1 year ago
JSON representation
This is a simple module for interacting with the CallFire API, made for use with the Node.js code samples in the new REST API documentation.
- Host: GitHub
- URL: https://github.com/settermjd/callfire-javascript-api-helper
- Owner: settermjd
- License: mit
- Created: 2015-07-14T10:53:53.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-07-14T14:37:52.000Z (almost 11 years ago)
- Last Synced: 2025-01-19T20:47:13.627Z (over 1 year ago)
- Language: JavaScript
- Size: 137 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# callfire-javascript-api-helper
This is a simple module for interacting with the CallFire API, made for
use with the Node.js code samples in the new REST API documentation. It's not designed to replace the official Node.js SDK, which can be found
at , just to simplify
the example code provided.
## Installation
`npm install git+ssh://git@github.com:settermjd/callfire-javascript-api-helper.git`
## Usage
```javascript
var callfire = require('../callfire');
// Query parameters
var data = {
MaxResults: 10,
FromNumber: '2092084589',
ToNumber: '2092084589',
LabelName: 'TestBroadcast',
State: 'FINISHED'
};
callfire.setAuth({
login: 'YOUR_LOGIN',
secret: 'YOUR_SECRET'
});
callfire.appendPath('/call/');
callfire.makeRequest(data, 'GET');
```
## Tests
`npm test`
## Release History
- 0.0.1 Initial release