Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   FRC Events vs TBA APIs (http://www.chiefdelphi.com/forums/showthread.php?t=148082)

ProgBot 03-05-2016 00:51

FRC Events vs TBA APIs
 
I've been helping out with my team's scouting app, and while there is currently some integration with the FRC Events API, another team member and I talked about wanting to expand it. I realized that TBA also had its own which provides some different info which we'll probably want to look into. Does anyone have experience with both APIs that could explain what the differences are between them, and what could be looked for out of one versus the other? I.e. Does TBA have everything that FIRST provides, or are there certain pieces that it would be beneficial to query directly?

Thanks.

plnyyanks 03-05-2016 10:01

Re: FRC Events vs TBA APIs
 
What's your use case? I can try and tailor my answer to your specific problem.

ProgBot 03-05-2016 11:27

Re: FRC Events vs TBA APIs
 
Quote:

Originally Posted by plnyyanks (Post 1582351)
What's your use case? I can try and tailor my answer to your specific problem.

I don't have much specifically in mind to be honest, I'm looking to see what the options are. I'm interested in pretty much any data, be it team info, match updates (I know TBA's webhooks would be nice for that), or whatever.

plnyyanks 03-05-2016 11:32

Re: FRC Events vs TBA APIs
 
Gotcha. The core datasets are basically the same. TBA gets its data from the FRC API upstream and serves it back out with some added goodies.

TBA has a larger historical archive, has some additional stats that you can get (OPRs, Breach/Capture stats, etc), and also serves match videos and robot images.

Carl C 03-05-2016 11:36

Re: FRC Events vs TBA APIs
 
I have been using the TBA API for small projects for the last three years. It is extremely stable and I have yet to see it go down during times with heavy load (see the FIRST API last season). In addition, the FRC Events API has some interesting requirements about handling keys such that each user has to have their own token and username (at least that is how I am reading it). In short, TBA's API has basically the same data, but makes it much easier to handle and access.

plnyyanks 03-05-2016 11:41

Re: FRC Events vs TBA APIs
 
Oh, one more thing I forgot.

TBA also serves data for some offseason events. If you want to test your project at an offseason this summer, ask the event coordinators to get in touch with TBA, and we can show them how to enable live match data.

ProgBot 03-05-2016 17:20

Re: FRC Events vs TBA APIs
 
Ok, cool. Thanks for the info all. Can you think of any reason why going directly to FIRST's API would be wanted, aside from it being the original source?

scottgoering 03-05-2016 18:03

Re: FRC Events vs TBA APIs
 
Quote:

Originally Posted by ProgBot (Post 1582729)
Ok, cool. Thanks for the info all. Can you think of any reason why going directly to FIRST's API would be wanted, aside from it being the original source?

Think long term... If FIRST is still around, they will likely have an API available. TBA could technically shut down tomorrow.

Eugene Fang 03-05-2016 18:18

Re: FRC Events vs TBA APIs
 
Quote:

Originally Posted by scottgoering (Post 1582752)
Think long term... If FIRST is still around, they will likely have an API available. TBA could technically shut down tomorrow.

While true, all our data is public and code is open source, so theoretically someone could get another version of TBA running up quite quickly.

plnyyanks 03-05-2016 18:20

Re: FRC Events vs TBA APIs
 
Quote:

Originally Posted by scottgoering (Post 1582752)
Think long term... If FIRST is still around, they will likely have an API available. TBA could technically shut down tomorrow.

Quote:

Originally Posted by Eugene Fang (Post 1582765)
While true, all our data is public and code is open source, so theoretically someone could get another version of TBA running up quite quickly.

Eugene, if you try and pull and funny stuff, I think http://tba.lopreiato.me/ is going to be the next big thing :P


All times are GMT -5. The time now is 06:34.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi