pixelscamp-api

PixelsCamp API wrapper in python


Keywords
PixelsCamp, REST, API, pixels-camp
License
MIT
Install
pip install pixelscamp-api==1.0

Documentation

PixelsCamp-API

Pixels camp REST API wrapper in python.

You can find the official API documentation here.

To start..

Initialize with:

PixelsAPI(api_key="XXXXXXXXXXXXXXXX")

or

PixelsAPI(session="XXXXXXXX")

or even: PixelsAPI() to use without authentication.

Private user information (Authenticated)

api.me()

List users (Non authenticated)

api.users()

or with some parameters: api.users(self, count=5, offset=0)

User public data (Non authenticated)

api.badges_list()

List badges (Non authenticated )

api.user('username')

List badges owners (Non authenticated)

api.badges_owners(92)

Redeem a badge (Authenticated)

api.badges_redeem('XXXXXXX', 'username')

or with: api.badges_redeem('XXXXXXX'), it will automatically retrive your username with me().