HQ Trivia API
Project description
HQApi
HQ Trivia & Words API, written in Python
Installation
- Install from pip (may be outdated):
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 |
---|---|
get |
Return websocket |
close |
Close websocket |
send_json |
Send custom json |
send_answer |
Send answer |
send_life |
Send life |
send_comment |
Send comment |
send_letter |
Send letter |
send_wheel |
Send wheel letter |
Regions
Region | Description |
---|---|
1 |
US, United States |
2 |
|
3 |
|
4 |
Headers
Headers | Description |
---|---|
1 |
Android headers |
2 |
iOS headers |
Examples
Example | Description |
---|---|
get_show.py |
Get next show |
life_bot.py |
Life bot to generate lifes |
register_login.py |
Login or register |
websocket.py |
Work with websocket |
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.5.2.tar.gz
(4.7 kB
view hashes)