API Introduction
The Bolt Cloud API provides an interface for communication between the Bolt devices and any 3rd party system e.g. mobile application, web server, python programs etc. The API contains very intuitive control, monitoring, communication and utility functions for the Bolt Devices connected to your account. The Bolt Cloud API uses HTTP protocol for the communication and uses the HTTP GET and HTTP POST methods. Hence users can execute actions and retrieve information from Bolt devices programmatically using conventional HTTP requests.
Here are a few use cases of the API:
- Use the API in native apps on iOS and Android to control and monitor Bolt devices over the Internet.
- Pull collect sensor data connect to Bolt device, to any other cloud to run your custom AI algorithms and analytics.
- Connect Bolt Cloud to any VPS (Virtual Private Server) and run your code in any language of your choice. Refer sample codes.
- Remote Operating System: Using the API, Bolt devices can work like a board with an OS i.e. similar to Raspberry Pi or Beagle Bone, with the exception of the OS, which in this case, will reside on a remote VPS (Virtual Private Server). The Bolt will receive data from the sensors and push to the VPS with a Linux OS. The processing will take place on the VPS and it will push the commands to control motors, LEDs, and actuators to the Bolt device. You can use all the features of a Linux OS in this kind of a system.
Note: In case you wish to use a VPS (Virtual Private Server) then you can create an account on Digital Ocean using this link: https://m.do.co/c/679338b50344 .The link will give you $10 free credit.
Updated about 6 years ago