Go to Post Who cares about the score? The score is just numbers on a board, the exciting part is watching the robots interact and seeing robots( and more importantly, people) do the impossible. - Herodotus [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #9   Spotlight this post!  
Unread 09-09-2014, 19:59
Pat Fairbank's Avatar
Pat Fairbank Pat Fairbank is online now
Circuit Breaker
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2001
Location: San Jose, CA
Posts: 2,132
Pat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond repute
Send a message via MSN to Pat Fairbank
Re: Team 254 Presents: Cheesy Arena

Quote:
Originally Posted by plnyyanks View Post
Question. When you say "Automatic download of recent accomplishments (needs better TBA API)" in the TODO page, what enhancements are you looking for in the TBA API? I'd be willing to help add them.
Thanks for offering to help. The issue is that there isn't really an easy way to get the awards for all of the teams attending an event. My understanding is that I'd have to:
  1. Make an Event Request to get the list of teams for my event
  2. For each team, make one or more Team Events Requests to find out what events they went to recently
  3. For each team and event, make a Team Event Awards Request to get the list of awards the team won
That's probably well over 100 requests for a medium-sized event.

What I want to end up with is a list of awards won by the teams attending my event in the current season and the previous, grouped by team. To get this, I'd prefer to make a number of API calls that is O(1) with respect to the number of teams and the events they have each gone to.

Does that make sense?
__________________
Patrick Fairbank
Team 254 | Mentor (2012-)
Team 1503 | Mentor (2007-2011)
Team 296 | Alumnus (2001-2004) | Mentor (2005-2006)

patfairbank.com
Reply With Quote
 


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 00:05.

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