Skip to content

parthanium/YoPy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

YoPy

Python wrapper for the Yo! API

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/

Installation

To install, simple copy yopy.py to the Lib folder of your Python installation.

Usage

YoPy works with any version of Python, as long as it supports Requests.
can only send link OR location but not both) format: lat,long
Here is a Python 2 example :

import yopy

token = <your_api_token>
username = "PARTHDHAR"
link = "https://github.com/parthanium/YoPy"
location = "41.0256377,28.9719802"

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

Parth Dhar
2014

Bitdeli Badge

About

Python wrapper for the Yo! API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages