Skip to content

dhgoldberg/YoPy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

This version of YoPy is designed to work within Google App Engine

Installation

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

Usage

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

About

A simple Yo! API for python.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%