Go to Post If the refs are not calling something that you think should be called, you have to adjust your play style to deal with it. - Rob [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 03-05-2016, 00:51
ProgBot ProgBot is offline
Programmer At Large?
FRC #0174 (Arctic Warriors)
Team Role: Electrical
 
Join Date: Feb 2016
Rookie Year: 2015
Location: New York
Posts: 3
ProgBot is an unknown quantity at this point
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.
Reply With Quote
  #2   Spotlight this post!  
Unread 03-05-2016, 10:01
plnyyanks's Avatar
plnyyanks plnyyanks is offline
Data wins arguments.
AKA: Phil Lopreiato
FRC #1124 (The ÜberBots), FRC #2900 (The Mighty Penguins)
Team Role: College Student
 
Join Date: Apr 2010
Rookie Year: 2010
Location: NYC/Washington, DC
Posts: 1,113
plnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond repute
Re: FRC Events vs TBA APIs

What's your use case? I can try and tailor my answer to your specific problem.
__________________
Phil Lopreiato - "It's a hardware problem"
Team 1124 (2010 - 2013), Team 1418 (2014), Team 2900 (2016)
FRC Notebook The Blue Alliance for Android
Reply With Quote
  #3   Spotlight this post!  
Unread 03-05-2016, 11:27
ProgBot ProgBot is offline
Programmer At Large?
FRC #0174 (Arctic Warriors)
Team Role: Electrical
 
Join Date: Feb 2016
Rookie Year: 2015
Location: New York
Posts: 3
ProgBot is an unknown quantity at this point
Re: FRC Events vs TBA APIs

Quote:
Originally Posted by plnyyanks View Post
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.
Reply With Quote
  #4   Spotlight this post!  
Unread 03-05-2016, 11:32
plnyyanks's Avatar
plnyyanks plnyyanks is offline
Data wins arguments.
AKA: Phil Lopreiato
FRC #1124 (The ÜberBots), FRC #2900 (The Mighty Penguins)
Team Role: College Student
 
Join Date: Apr 2010
Rookie Year: 2010
Location: NYC/Washington, DC
Posts: 1,113
plnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond repute
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.
__________________
Phil Lopreiato - "It's a hardware problem"
Team 1124 (2010 - 2013), Team 1418 (2014), Team 2900 (2016)
FRC Notebook The Blue Alliance for Android
Reply With Quote
  #5   Spotlight this post!  
Unread 03-05-2016, 11:36
Carl C's Avatar
Carl C Carl C is offline
Custom User Title
AKA: Carl Colglazier
FRC #2059 (Alumnus)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2008
Location: Cary, NC
Posts: 136
Carl C is a splendid one to beholdCarl C is a splendid one to beholdCarl C is a splendid one to beholdCarl C is a splendid one to beholdCarl C is a splendid one to beholdCarl C is a splendid one to behold
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.
Reply With Quote
  #6   Spotlight this post!  
Unread 03-05-2016, 11:41
plnyyanks's Avatar
plnyyanks plnyyanks is offline
Data wins arguments.
AKA: Phil Lopreiato
FRC #1124 (The ÜberBots), FRC #2900 (The Mighty Penguins)
Team Role: College Student
 
Join Date: Apr 2010
Rookie Year: 2010
Location: NYC/Washington, DC
Posts: 1,113
plnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond repute
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.
__________________
Phil Lopreiato - "It's a hardware problem"
Team 1124 (2010 - 2013), Team 1418 (2014), Team 2900 (2016)
FRC Notebook The Blue Alliance for Android
Reply With Quote
  #7   Spotlight this post!  
Unread 03-05-2016, 17:20
ProgBot ProgBot is offline
Programmer At Large?
FRC #0174 (Arctic Warriors)
Team Role: Electrical
 
Join Date: Feb 2016
Rookie Year: 2015
Location: New York
Posts: 3
ProgBot is an unknown quantity at this point
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?
Reply With Quote
  #8   Spotlight this post!  
Unread 03-05-2016, 18:03
scottgoering scottgoering is offline
FTA since 2013
FRC #0935
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2001
Location: KS
Posts: 17
scottgoering is on a distinguished road
Re: FRC Events vs TBA APIs

Quote:
Originally Posted by ProgBot View Post
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.
Reply With Quote
  #9   Spotlight this post!  
Unread 03-05-2016, 18:18
Eugene Fang's Avatar
Eugene Fang Eugene Fang is offline
The Blue Alliance
no team
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Bay Area, CA -> Pittsburgh, PA
Posts: 766
Eugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond repute
Re: FRC Events vs TBA APIs

Quote:
Originally Posted by scottgoering View Post
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.
__________________
Eugene Fang
2010 Silicon Valley Regional Dean's List Finalist

Various FLL Teams - Student (2000-2006), Mentor (2007-2010)
FRC Team 604 - Student (2007-2010), Mentor/Remote Advisor (2011-2015)
FRC Team 1323 - Mentor/Remote Advisor (2011-2014)

The Blue Alliance | TBA GameDay | TBA Android App
Reply With Quote
  #10   Spotlight this post!  
Unread 03-05-2016, 18:20
plnyyanks's Avatar
plnyyanks plnyyanks is offline
Data wins arguments.
AKA: Phil Lopreiato
FRC #1124 (The ÜberBots), FRC #2900 (The Mighty Penguins)
Team Role: College Student
 
Join Date: Apr 2010
Rookie Year: 2010
Location: NYC/Washington, DC
Posts: 1,113
plnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond repute
Re: FRC Events vs TBA APIs

Quote:
Originally Posted by scottgoering View Post
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 View Post
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
__________________
Phil Lopreiato - "It's a hardware problem"
Team 1124 (2010 - 2013), Team 1418 (2014), Team 2900 (2016)
FRC Notebook The Blue Alliance for Android
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 17:51.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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