Skip to main content

HQ Trivia API

Project description

HQ-Lib

HQ Trivia API, written in Python

Installation

  1. Install from pip:
pip3 install HQApi
  1. Install from sources:
git clone https://github.com/katant/HQ-Lib.git
cd HQ-Lib
python3 setup.py install

Usage

Example code to get next US show game:

from HQApi import HQApi

bearer = "Bearer"
api = HQApi(bearer)

print(str(api.get_show()))

Methods

Method Description
get_users_me Information about your account
get_user Information about account by ID
get_payouts_me Information about payouts
get_show Information about next show
easter_egg Easter egg, gives 1 life once a week
make_payout Makes payout to your paypal (Can't bypass ban)
custom Custom request

Regions

Region Description
1 US, United States
2 UK, Great Britain
3 DE, Germany
4 AU, Australia

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

HQApi-1.0.1.tar.gz (2.6 kB view hashes)

Uploaded Source

Built Distribution

HQApi-1.0.1-py3-none-any.whl (3.4 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