View Single Post
  #36   Spotlight this post!  
Unread 08-03-2016, 12:05
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,114
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: Official FIRST Week Zero 2016

Quote:
Originally Posted by Ether View Post
I'm looking at transitioning from FRC API (which I used last year) to TBA API for 2016.

Quick question, my apologies if it's documented somewhere: can TBA provide results in XML format, or even better in CSV?
The TBA API is currently JSON only, sorry. We decided against XML because it really increases size of our responses, which matters when we pay for bandwidth (TBA used 30 gigabytes of bandwidth last Friday + Saturday - every byte adds up). The simpler we can keep the whole system, the easier it is to support and build on (which is important, since we maintain TBA on top of day jobs/college)

You can find the full api spec on this page: http://www.thebluealliance.com/apidocs. As a note, we added in the defense/match stats to the API the other day - the same data you can find on the event pages (pull request)!

If you have any other questions, you can PM me or Eugene, file an issue on GitHub, or post to our mailing list.

EDIT: totally missed the CSV part the first time. We don't supply CSV data either (It's hard to apply structure with csv results). But, if all you're looking for is match results, I made an auto-updating Google Sheet you could use:
Quote:
Originally Posted by plnyyanks View Post
Here, I whipped this up. It should auto-update every 15 minutes: https://docs.google.com/spreadsheets...it?usp=sharing

Here's the script that backs it: https://script.google.com/d/1Hnwgk7f...it?usp=sharing
__________________
Phil Lopreiato - "It's a hardware problem"
Team 1124 (2010 - 2013), Team 1418 (2014), Team 2900 (2016)
FRC Notebook The Blue Alliance for Android

Last edited by plnyyanks : 08-03-2016 at 12:12. Reason: Add match result gdoc
Reply With Quote