Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/parthanium/yopy
Python wrapper for the Yo! API.
https://github.com/parthanium/yopy
Last synced: 20 days ago
JSON representation
Python wrapper for the Yo! API.
- Host: GitHub
- URL: https://github.com/parthanium/yopy
- Owner: parthanium
- License: mit
- Created: 2014-08-25T17:03:16.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-10-29T08:12:13.000Z (about 9 years ago)
- Last Synced: 2024-10-07T19:15:13.472Z (about 1 month ago)
- Language: Python
- Homepage:
- Size: 200 KB
- Stars: 8
- Watchers: 1
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
YoPy
====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/
Dependencies
============
YoPy requires the module Requests. Get it from http://docs.python-requests.org/Installation
============
To install, simple copyyopy.py
to theLib
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 =
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](https://d2weczhvl823v0.cloudfront.net/parthanium/yopy/trend.png)](https://bitdeli.com/free "Bitdeli Badge")