Node Bullet
===========
Yet another node module for the pushbullet API.
Quick Setup
Pushbullet needs your API key to work, so to get started, require the constructor, and make a new pushbullet object.
var Bullet = Bullet pushbullet = 'mypushbulletapikey';
Devices Method
var Bullet = Bullet pushbullet = 'mypushbulletapikey' myDevices; pushbullet;
pushbullet.devices([callback])
Requests a list of devices registered to the current API key from the server. The callback
parameter will be passed the error
, response
, and data
objects upon completion.
error
- either null, or an error object passed from the request methodresponse
- full details of the server responsedata
- the parsed JSON response from the API
Example Response:
"devices": "iden": "u1qSJddxeKwOGuGW" "extras": "manufacturer":"samsung" "model":"Galaxy Nexus" "android_version":"4.1.1" "sdk_version":"16" "app_version":"8" "nickname":"Galaxy Nexus"