TODO: Write a description
pip install Adafruit_IO
Easiest
from Adafruit_IO import Client
aio = Client('unique_key_id')
#data can be of any type, string, number, hash, json
aio.send("Feed Name", data)
#You can also receive data easily:
value = aio.receive("Feed Name")
#It will ge the next input available, and mark it as read.
Advanced
from Adafruit_IO import Client
aio = Client('unique_key_id')
#get all of your feeds for the key
aio.feeds
#get a specific feed using ID or Name
aio.feeds(3)
aio.feeds("feed name")
#create a feed
aio.create_feed({:name => "New Feed Name", ...})
- Fork it ( http://github.com/adafruit/io-client-python/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request