INACTIVE - http://mzl.la/ghe-archive - A client for the BadgeKit API, in Python
Перейти к файлу
Andrew Hayward 0b117736f1 Updating test fixtures 2014-06-17 15:37:24 +01:00
badgekitapiclient Fixes based on testing 2014-06-17 15:36:01 +01:00
test Updating test fixtures 2014-06-17 15:37:24 +01:00
.gitignore Initial commit 2014-06-06 13:21:17 +01:00
LICENSE Initial commit 2014-06-06 13:21:17 +01:00
README.md Adding basic test framework 2014-06-14 00:17:44 +01:00
setup.py First pass at bare essentials 2014-06-13 10:15:43 +01:00
test.py Adding basic test framework 2014-06-14 00:17:44 +01:00

README.md

Python BadgeKit API Client

A client for the BadgeKit API, in Python

Usage

from badgekitapiclient import init

endpoint = 'http://api.example.org'
auth = {'key': 'auth key', 'secret': 'auth secret'}
client = init(endpoint, auth)

badges = client.get_badges(system='system-slug')
for badge in badges:
    print badge['name']

Testing

python test