YoApp / YoPy

A simple Yo! API for python.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

YoPy

A simple Yo! API for python.

As of now, you can:

  1. Get the number of subscribers
  2. Send a Yo! to all subscribers
  3. 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/

Dependencies

YoPy requires the module Requests. Get it from http://docs.python-requests.org/

Usage

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/espice/YoPy"

yo = yopy.Yo(token)
print yo.number()
yo.yoall(link)
yo.youser(username, link)

Parth Dhar
2014

About

A simple Yo! API for python.

License:MIT License