TBA API

From FIRSTwiki

Jump to: navigation, search

The Blue Alliance offers an API to access information in their database.

Contents

API Information

The Blue Alliance has essentially a complete database of team information, event information, and match results for the FIRST Robotics Competition. We have found our database tremendously useful in developing our Match Video Archives, but we bet that you can come up with something just as great to do with this information.

The TBA API is currently implemented in several different languages, including PHP, .NET, and Ruby. However, since the API relies on standard XML, it can be integrated into almost application. To see a list of currently available API packages, browse our API directory.

For full documentation of the API, read the documentation PDF. In order to use the TBA API, you will need an API Key. Instructions on how to request one are in the API docs.

Get an API Key

Instructions on how to request an API Key are in the documentation PDF.

API Implementations

Most implementations are available at http://thebluealliance.net/tbatv/api/

PHP

Written by Chris Jelly for The Blue Alliance.

Available at http://thebluealliance.net/tbatv/api/

Ruby

http://thebluealliance.net/tbatv/api/

C# .NET

By Eric Haskins

Available at http://thebluealliance.net/tbatv/api/

Perl

By Scott Lawrence (Team 449)

Available at http://robot.mbhs.edu/resources/apps/tba-api-perl

Finding EventIDs

Since TBA changed its URLs to be prettier (/event/2009ct/), eventids are no longer visable to users of the system. To find an event's eventid, use this page: http://thebluealliance.net/tbatv/api_eventlist.php

Personal tools