A simple Yo! API for python.
As of now, you can:
- Get the number of subscribers
- Send a Yo! to all subscribers
- Send a Yo! to a specific user
YoPy requires a Yo! API access token. You can get one by registering at http://dev.justyo.co/
This version of YoPy is designed to work within Google App Engine
To install, simple copy yopy.py
to the Lib
folder of your Python installation.
YoPy works with Python as supported by Google App Engine
Here is a Python 2 example :
import yopy
token = <your_api_token>
username = "PARTHDHAR"
link = "https://github.com/espice/YoPy"
location = "37.864849,-119.538361"
yo = yopy.Yo(token)
print yo.number()
yo.yo_all(link)
yo.yo_user(username, link=link)
yo.yo_user(username, location=location)
Parth Dhar
2014