WakaTime api client
Project description
WakAPI
What is this?
"Waka"Time + "API" = WakAPI
WakAPIはWakaTimeのAPIをPythonで簡単に使えるライブラリです。
使用例
total
wakapi.total(secret, sec)
- Secret* WakaTime API Secret
- sec デフォルトはfalse。falseだとjsonをそのまま、trueだと時間のみをJSONで返します。
例
wakapi.total("waka_*****", False)
date
wakapi.date(secret, date, sec)
- Secret* WakaTime API Secret
- date* 取得したい日付をYYYY-MM-DDで指定します。
- sec デフォルトはfalse。falseだとjsonをそのまま、trueだと時間のみをJSONで返します。
例
wakapi.total("waka_*****", "2011-10-10", False)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wakapi-0.1.tar.gz
(2.3 kB
view details)
Built Distribution
File details
Details for the file wakapi-0.1.tar.gz
.
File metadata
- Download URL: wakapi-0.1.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.1 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b80cb6de0fe8416cd703fa87d538fc402d1fe237a4ddf85a0a6e550e3ef5d4f6 |
|
MD5 | 11e8d780a87c818f8b867facb3dbeda7 |
|
BLAKE2b-256 | 4683d37dcc932f583f9acd37c6a7c22a8e9451e2c4bed4221345df4a095ef2c6 |
File details
Details for the file wakapi-0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: wakapi-0.1-py2.py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.1 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 569b9dcad702fb7c90b2b4aed6c7633652a8dd50b6bf5d52ad4a2353d749f742 |
|
MD5 | 281734414525e93ddc6167670e70f2cd |
|
BLAKE2b-256 | d3639f3a9416be715df3e354f4031972c339b6cd1e22042eaad04e200b690a7d |