Playoff toolbox
Project description
Requires
Python 3+
Install
pip install playoff-core
Using
In order to use this toolbox, you need:
- Playoff game;
- subscription plan that allows to make API calls;
- a configured client;
- create two files in the project directory:
- an
.env
file containingClient_ID
,Client_secret
andhostname
of the corresponding game; - a
settings.ini
file which is explained in a section below.
- an
Example:
ORIGINAL_CLIENT_ID=Bf7dhMnM73EQtMjRjOGYyN2VmODhh
ORIGINAL_CLIENT_SECRET=MGMxYzQ0YzdCmD937tYjUyOWM1NWI3YjlhNTdiODY2MTAtOGE0MS0xS
ORIGINAL_HOSTNAME="playoff.cc"
Settings
Settings available are:
- Version: game version;
- Player_id: a player id needed to certain API calls;
- Cycle: time lapse to obtain leaderboard, can have following values:
- daily;
- weekly;
- monthly;
- yearly;
- alltime.
- Level: log message level, can have following values:
- debug;
- info;
- warning.
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
playoff_core-0.8.2.tar.gz
(10.5 kB
view hashes)
Built Distribution
Close
Hashes for playoff_core-0.8.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0156070c5dc985f1b2c0b8ae38c6f048a99fe8baa8cc927ca11ca86133517f1d |
|
MD5 | 40ed1435370690555a09847164f1b741 |
|
BLAKE2b-256 | 68ea0c104c97c001d5792cc65bec4df70ea035037452ae26c72dec7db56d80e6 |