[TBA Blog] Tech Talk: Efficiently Querying the TBA API

Tech Talk: Efficiently Querying the TBA API

Learn more about how the TBA Android App efficiently queries the TBA API to reduce latency and bandwidth usage for our users, and how you can do the same for your application!

Check out the article here: https://blog.thebluealliance.com/2017/11/10/tech-talk-efficiently-querying-the-tba-api/

TLDR - This like most things that make TBA work well is done by cache.

Emphasis mine

I truly appreciate this more than I could ever express.

There are ways to use headers in Excel, but it’s super ugly and inconvenient. Thanks for enabling headers in the url.

JSON scraping in Google Sheets is already ugly and inconvenient, thanks to a non-official script that does it. As someone who used to scout in Sheets (and now knows better of his ways!), I also GREATLY appreciate this.

Dummy question, for Excel usage. This URL generates a 404. What am I missing?

https://www.thebluealliance.com/api/v3/Status?X-TBA-Auth-Key=<key here>

(my key is in place of ,key here> )

Lowercase ‘s’ for ‘status.’

EDIT: Sniped :frowning:

Very easy quick fix. Change Status to status (note the lowercase s)

https://www.thebluealliance.com/api/v3/status?X-TBA-Auth-Key=<key here>

Thanks to both of you! Sometimes it is the silliest things that trip one up! :slight_smile: