A small bot to help aide you in picking the right answer in the HQ app trivia game. This small app hooks into HQ's websocket stream and automatically searches Google and Yahoo! for the correct answer using a variety of searches.
$ git clone https://github.com/mikealmond/hq-trivia-assistant .
$ cd hq-trivia-assistant
$ composer install
$ cp .env.dist .env
After you've created the .env
file, fill in your HQ user ID and bearer token. You can find your ID and token by sniffing the web traffic from your phone using a tool such as Charles Proxy.
Note: installation assumes that you have installed Composer already.
$ php run.php
All contributions welcome.
The MIT License (MIT)