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.3.tar.gz
(10.5 kB
view hashes)
Built Distribution
Close
Hashes for playoff_core-0.8.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7463e6a045c66b77b886e78339bb1d001693275651ba6bf541a2ceefda96b09e |
|
MD5 | 2f43b2c350e3ac54e7d0bd09e8016f6d |
|
BLAKE2b-256 | 3d34ca60ae684a9e4f98ffc7927e2b48843991ae6b31b238f5e10c0c0596b07b |