Skip to main content

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 containing Client_ID, Client_secret and hostname of the corresponding game;
    • a settings.ini file which is explained in a section below.

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


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)

Uploaded Source

Built Distribution

playoff_core-0.8.3-py3-none-any.whl (12.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page