HQ Trivia API
Project description
HQApi
HQ Trivia API, written in Python
Installation
- Install from pip:
pip3 install HQApi
- Install from sources:
git clone https://github.com/katant/HQApi.git
cd HQApi
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()))
HQApi 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 |
register |
Register account |
aws_credentials |
Get credentials |
delete_avatar |
Delete avatar |
add_friend |
Add friend |
friend_status |
Get friend status |
remove_friend |
Delete friend |
accept_friend |
Accept friend |
check_username |
Check username availability |
custom |
Custom request |
HQWebsocket Methods
Method | Description |
---|---|
join |
Return websocket |
send_json |
Send custom json |
send_answer |
Send answer |
send_life |
Send life |
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
HQApi-1.2.0-py2.py3-none-any.whl
(14.4 kB
view hashes)
Close
Hashes for HQApi-1.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | daa05af5c97c2ba2383b5a0a295011572b94b9829958bfccd2ceacf039402725 |
|
MD5 | 771481a101e6dba0cd88847525d16f40 |
|
BLAKE2b-256 | e89add0f8fda7d658f4d8233de45482762621f577b3a16119f674c60902a85c9 |