JavaScript library for v1.1 of the Thingdom.io API.
Thingdom enables you to create a mobile app experience using as little as four lines of code and without the need to develop your own iOS / Android apps or create your own scalable cloud infrastructure.
Read enough? Get Started Now!
- Trigger push notifications
- See a feed of messages / alerts
- See real-time status information you can define
- Customize a view for your Thing with the Thingdom Developer Portal (Once you've signed up for free), and allow your users to subscribe to your Thing(S) with our Thingdom iOS and / or Android apps.
- You can use Thingdom in whatever ways you can imagine!
- Receive push notifications (alerts) with every user form submission
- Track page views
- Track button clicks
- ... what other things would you like to receive alerts for and get status updates on for your website/web app?!
Currently you can include Thingdom in your code by adding thingomd.js or thingdom-min.js from the dist/ folder to your current project through standard script tag.
You can also install through bower with
bower install thingdom-js --save
You can try Thingdom using this simple demo on CodePen.io.
STOP You must have a (free) Developer API Secret to be able to use all the features of Thingdom in your own project! STOP
If you don't have one yet, you can get one (free) from here: https://dev.thingdom.io/get-started
It would be extremely helpful to look at the Thingdom REST API documentation here: https://dev.thingdom.io/docs/api/1.1/
There is some minor configuration necessary on the Thingdom Developer Portal or via REST API to define certain keys you can use for your application.
var thingdom = new Thingdom( 'EnterYourAPISecretHere' );
var thing; thingdom.getThing( "Example Thing", "javascript_example", function( newThing ) { thing = newThing } );
( this also triggers push notifications in Thingdom ):
thing.feed( "New Feed Message Triggered From My Code", "js_web_feed" );
Here you could imagine posting a feed of comments to your site, or perhaps you and your team can be alerted with the name, email, and extension of the person requesting help on your company's internal Help Desk site. Share the code for your thing from within Thingdom, or perhaps require permission to view your Thing.
thing.status( "js_web_status", "online" );
or
thing.statuArray( arrayOfKeyValuePairs );
You can see your Thing's status in real-time. Here you you could pass some kind value to compare to your feed, or associated database, or your most recent user's high score.
Coming Soon: Additional Examples!
Coming Soon: Explanation for usage with bower install thingdom-js