Skip to content

sarathchandars/io-client-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Adafruit_IO

TODO: Write a description

Installation

pip install Adafruit_IO 

Usage

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", ...}) 

Contributing

  1. Fork it ( http://github.com/adafruit/io-client-python/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

Adafruit IO Python Client Library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.6%
  • Makefile 0.4%