Skip to content
/ HQApi Public
forked from apipy/HQApi

HQ Trivia API, written in Python

License

Notifications You must be signed in to change notification settings

cm/HQApi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HQApi

HQ Trivia API, written in Python

Installation

  1. Install from pip:
pip3 install HQApi
  1. 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

Regions

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

Headers

Headers Description
1 Android headers
2 iOS headers

About

HQ Trivia API, written in Python

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%