Check out the full tutorial at dev.lumiastream.com
This is a complimentary demo that will show the various ways to use Lumia Streams Developers API
- Clone the repository
git clone https://github.com/lumiastream/lumiastream-socket-demo-js.git
- CD into the repo and Run
npm install
oryarn
- Start Lumia Stream and Make sure the Developers API is on by going to
Settings > Advanced > Enable Developers Api
- After the Socket API is enabled, you'll be presented with a token in Lumia Stream. Copy it
- Open up main.js in the demo api and paste the api token to token on line 3
- Run the demo api with
npm start
oryarn
With the Socket API you'll be able to hook into real time data for any activity triggered through Lumia's connections.
Visit the docs above to see all the deveopers api can do