TBA API Quickstart

- Quick backstory -
I’ve programmed for over a decade now, and I had always been curious about The Blue Alliance API, the FIRST Events API, etc., but I had never quite understood how they functioned. With a bit more free time this year as a mentor (and directly working with HTTP requests for a Fortune 50 company), I figured out the basics of accessing these APIs.

For experienced coders, people who just want to scout, and everyone in between, I made a simple HTML document with JavaScript accessing and displaying results from accessing the API. This has comments for each step giving an idea of what’s going on in the code. Follow the instructions in the readme, and you should be up and running in less than five minutes!

Comments are marked
image or image

- Disclaimer -
By no means is this a perfect representation of requesting data. This was the simplest way that I was able to find, and I just wanted to share with those that want to get started and don’t know where to begin.
If there is anything I should add or fix, let me know!

https://github.com/LukeFenstermacher/TBA-API

2 Likes