Template for your FRC site to get live updates from the Blue Alliance using the Blue Alliance API. All the CSS, HTML, and JavaScript is in one file so you can easily paste it as an embed code onto your website.
How to use:
- Copy the contents of
template.html
- Paste it into your website as an embed code
- Insert your own TBA key where it says
INSERT KEY HERE
. You can acquire one of these from this link here: https://www.thebluealliance.com/account (For a more detailed explanation on how to do this, please scroll down - Change all the
2102
you see in the file to your team's number
How to acquire a TBA key:
- Go to your TBA account
- Scroll down until you see
Read API Keys
- Next to where you see
Add New Key
give your key a name (e.g. website) - Click
Add New Key
- Copy your TBA key and paste it in your code
Other useful links:
- The Blue Alliance API v3 documentation (this one is more useful in my opinion)
- The Blue ALliance API documentation
If you have any questions don't hesitate to contact me via Chief Delphi, my username is cpaggron
.