Pixela API client for Python.
Project description
Pixela
Pixela API client for Python.
Installation
$ virtualenv --distribute pixela_sample $ source pixela_sample/bin/activate $ cd pixela_sample $ pip install pixela
Usage
from pixela import Pixela client = Pixela(username='YOUR_NAME', token='YOUR_NAME') # register client.create_user(agree_terms_of_service=True, not_minor=True) # create graph client.create_graph( graph_id='test-graph', name='graph-name', unit='commit', type='int', color='shibafu', ) # register value from datetime import datetime date = datetime.strptime('2018-10-21', '%Y-%m-%d') res = self.client.create_pixel(graph_id='py-pixela', quantity=5, date=date)
LICENSE
NEW BSD LICENSE.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pixela-1.1.0.tar.gz
(4.8 kB
view hashes)
Built Distribution
Close
Hashes for pixela-1.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dcb52eb325d100f92d45ca695b59232702e33aa754eed5aae0d80c716ace8815 |
|
MD5 | bef0c6564169040ea39be28b9d6bd6d7 |
|
BLAKE2b-256 | c46e8cefaf5feaf5f6d4d7da89e32f0d8e7d9af51e8f97b5012dbf2343ee40c6 |