Python wrapper for the Yo! API
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/
YoPy requires the module Requests. Get it from http://docs.python-requests.org/
To install, simple copy yopy.py
to the Lib
folder of your Python installation.
YoPy works with any version of Python, as long as it supports Requests.
Here is a Python 2 example :
import yopy
token = <your_api_token>
username = "PARTHDHAR"
link = "https://github.com/parthanium/YoPy"
yo = yopy.Yo(token)
print yo.number()
yo.yoall(link)
yo.youser(username, link)
Parth Dhar
2014