« Our API is very simple, your can interface PushingBox using HTTP GET or POST method.
Set the required DeviceID of your scenario with the parameter "devid".
You can found the DeviceID on the Scenario page. »
cURL (for Client URL Request Library) provides you a way for transferring data using various protocols.
Using command line method :
curl -d "devid=v0123456789ABCDE" http://api.pushingbox.com/pushingbox
Using PHP method :
$ch = curl_init('http://api.pushingbox.com/pushingbox?devid=v0123456789ABCDE');
Arduino source code is available for the Arduino embedding official Ethernet Shield (Chip Wiznet)
and the unofficial one (ENC28J60)
Source code for the official Ethernet Shield (Wiznet)
Source code for the unofficial Ethernet Shield (ENC28J60)
Source code for the Arduino Wifi board
A script have been developed by « Guiguiabloc », a PushingBox user. You can find it on his blog.
Use your own variables
You can use variables if you want to send some customized information with your scenario.
For example, you can send the temperature.
First, create your actions like this:
The kitchen temperature is $temperature$ degree
Then call the API like this:
The result will be « The kitchen temperature is 23 degree ».
Note that you can name your variables the way you want.
At the moment the usage of the devid parameter is obviously restricted and reserved to our internal use. However, we might restrict some other variables in the near future. In that case we would definitely inform you about it prior to do it.
Wanna help ?
You wrote a library and want to share it? Please contact us
and we will surely put a link on this page!