HQ Trivia API
Project description
HQ-Lib
HQ Trivia API, written in Python
Installation
- Install from pip:
pip3 install HQApi
- 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) |
send_code |
Send sms or call to number |
confirm_code |
Confirm received sms |
login |
Login or register account |
custom |
Custom request |
Regions
Region | Description |
---|---|
1 |
US, United States |
2 |
UK, Great Britain |
3 |
DE, Germany |
4 |
AU, Australia |
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
HQApi-1.0.2.tar.gz
(2.8 kB
view hashes)
Built Distribution
HQApi-1.0.2-py3-none-any.whl
(3.6 kB
view hashes)