RTDS Node Library
Node library for using the Airship Real-Time Data Streaming API.
Resources
Installation
Install using npm
:
npm install urban-airship-connect
Example usage
Basic usage example
var connect = require('urban-airship-connect')
var connectStream = connect('appKey', 'authToken')
connectStream.on('data', function (data) {
// will be called with each event
})
// write to the stream to set filters/offset/start
connectStream.write({start: 'LATEST'})
Feedback
Was this page helpful?
Thank you
Thanks for your feedback!
Tell Us MoreThank you
We will try harder!
Tell Us MoreCategories