Browser

An easy way to interact with IO is just by using GET requests in your browser (or wherever).

The one drawback to this is you must pass in your unique AIO key as a query parameter which could then be cached somewhere along the way, and used to gain access to your data. That being said, if you're not doing anything mission critical, this is just another way you can interact with Adafruit IO.
The following isn't terribly secure due to the AIO Key being part of the query string.
That being said, this should work fine for something like an output only weather station.

Send Data


An example to send data (simple GET request):
https://io.adafruit.com/api/groups/weather/send.json?x-aio-key=a052ecc32b2de1c80abc03bd471acd1d6b218e5c&temperature=13&humidity=12&wind=45
The above url would create a 'weather' group, and three feeds, 'temperature', 'humidity', and 'wind' all with corresponding stream values for you.

Let's break that down into the core components.
https://io.adafruit.com/api/groups/:group_name/send.json
group_name: alphanumeric and dashes.

The group_name will be created automatically, or found and used, if it already exists.
?x-aio-key=1234567890&feed_name=value&feed_name=value
x-aio-key: this is your unique AIO-key. The master key can be found on your dashboard on i.adafruit.com.

feed_name: This is the name of a new or existing feed. A new feed will be created automatically for you.

value: The new value to be stored.

Receive Data


You can receive data from a group with a get request as well.

An example (simple GET request):
https://io.adafruit.com/api/groups/weather/receive.json?x-aio-key=a052ecc32b2de1c80abc03bd471acd1d6b218e5c
The only difference between sending and receiving is that we swapped out 'send' for 'receive', and removed the additional feed_name parameters.
Last updated on May 04, 2015 Published on Jan 22, 2015