Go to Post The manual can be compared to a textbook in school. If you choose not to use your textbook, you are asking to fail classes. - dez250 [more]
Home
Go Back   Chief Delphi > Technical > IT / Communications > Website Design/Showcase
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 02-04-2012, 21:22
ksafin's Avatar
ksafin ksafin is offline
Registered User
AKA: Kirill Safin
FRC #3992 (Eagles Robotics Xperience)
Team Role: Leadership
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Delray Beach, FL
Posts: 498
ksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant future
Getting Regional Stats?

Hello,

I noticed a lot of websites and android apps and so on that fetch the latest information about regionals (one such popular example is FRC Spyder).

I was wondering where I can get this kind of information from; I'm looking towards incorporating it into our website and potentially making an android app.

Thanks

EDIT:
By this, I mean how can I access this information via my software (what's the URL, database, etc that FIRST makes public)
  #2   Spotlight this post!  
Unread 02-04-2012, 21:25
Basel A's Avatar
Basel A Basel A is offline
It's pronounced Basl with a soft s
AKA: @BaselThe2nd
FRC #3322 (Eagle Imperium)
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Ann Arbor, Michigan
Posts: 1,934
Basel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond repute
Re: Getting Regional Stats?

Using http://frclinks.frclinks.com/ as a shortcut, you should be able to get anywhere you need (e.g. frclinks.frclinks.com/e/a/il/2011 will send you to FIRST's awards page for the 2011 Midwest Regional).
__________________
Team 2337 | 2009-2012 | Student
Team 3322 | 2014-Present | College Student
“Be excellent in everything you do and the results will just happen.”
-Paul Copioli
  #3   Spotlight this post!  
Unread 02-04-2012, 21:52
ksafin's Avatar
ksafin ksafin is offline
Registered User
AKA: Kirill Safin
FRC #3992 (Eagles Robotics Xperience)
Team Role: Leadership
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Delray Beach, FL
Posts: 498
ksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant future
Re: Getting Regional Stats?

Awesome.

So essentially, after that, I should just grab elements from the page, and use them in my application, correct?

I'm guessing these pages tend to not change in structure or format, so it's pretty predictable.
  #4   Spotlight this post!  
Unread 02-04-2012, 21:57
~Cory~'s Avatar
~Cory~ ~Cory~ is offline
Student
AKA: Cory Rypkema
FRC #0706
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Worcester MA
Posts: 216
~Cory~ is a splendid one to behold~Cory~ is a splendid one to behold~Cory~ is a splendid one to behold~Cory~ is a splendid one to behold~Cory~ is a splendid one to behold~Cory~ is a splendid one to behold~Cory~ is a splendid one to behold
Re: Getting Regional Stats?

Yup!

You may want to look at the OPRNet source code. There may be something forkable in there to help you get your project rolling.

http://www.chiefdelphi.com/forums/sh...ad.php?t=75272
__________________
corin.rypkema.org
WPI Class of '17
'12 Dean's List Finalist, Mentor of 706 - Cyberhawks

Last edited by ~Cory~ : 02-04-2012 at 21:58. Reason: added a link to OPRNet
  #5   Spotlight this post!  
Unread 02-04-2012, 21:58
Basel A's Avatar
Basel A Basel A is offline
It's pronounced Basl with a soft s
AKA: @BaselThe2nd
FRC #3322 (Eagle Imperium)
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Ann Arbor, Michigan
Posts: 1,934
Basel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond repute
Re: Getting Regional Stats?

Quote:
Originally Posted by ksafin View Post
Awesome.

So essentially, after that, I should just grab elements from the page, and use them in my application, correct?

I'm guessing these pages tend to not change in structure or format, so it's pretty predictable.
Yep, as long as your application can follow the frclinks forwards, you should be able to grab those tables. I don't think the formats of the pages have changed as long as I've been in FRC, but that's only a few years.

As a note of warning, I would advise you against high-volume querying of the pages. FIRST's servers don't need the extra traffic and you almost certainly won't need results updated more than once per minute.

As a final note, thank Pat Fairbank for frclinks. It is indeed awesome.
__________________
Team 2337 | 2009-2012 | Student
Team 3322 | 2014-Present | College Student
“Be excellent in everything you do and the results will just happen.”
-Paul Copioli
  #6   Spotlight this post!  
Unread 02-04-2012, 22:01
ksafin's Avatar
ksafin ksafin is offline
Registered User
AKA: Kirill Safin
FRC #3992 (Eagles Robotics Xperience)
Team Role: Leadership
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Delray Beach, FL
Posts: 498
ksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant future
Re: Getting Regional Stats?

Thanks for all the help guys!

I'll definitely integrate it into our current website.

I don't know how all the online scouting databases work, but I want to make an Android and iPhone app that allows each team to register an account, and submit their personal scouting information into a central database, which I'll make public.
  #7   Spotlight this post!  
Unread 02-04-2012, 22:16
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,098
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Getting Regional Stats?

Quote:
Originally Posted by ksafin View Post
I'm guessing these pages tend to not change in structure or format, so it's pretty predictable.
Compare these:

http://www2.usfirst.org/2011comp/eve.../rankings.html

http://www2.usfirst.org/2012comp/eve.../rankings.html


  #8   Spotlight this post!  
Unread 02-04-2012, 22:29
ksafin's Avatar
ksafin ksafin is offline
Registered User
AKA: Kirill Safin
FRC #3992 (Eagles Robotics Xperience)
Team Role: Leadership
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Delray Beach, FL
Posts: 498
ksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant future
Re: Getting Regional Stats?

Ok, so I'm guessing I just need to adjust every year to the game.

I take it that's why there's a new version of every app every year.
  #9   Spotlight this post!  
Unread 03-04-2012, 00:01
Basel A's Avatar
Basel A Basel A is offline
It's pronounced Basl with a soft s
AKA: @BaselThe2nd
FRC #3322 (Eagle Imperium)
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Ann Arbor, Michigan
Posts: 1,934
Basel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond repute
Re: Getting Regional Stats?

Of course, Ether is right. The rankings page changes from year to year. The order and, in some cases, names of the awards change as well. It looks like the current match result format came in 2007 and match schedule format in 2008. Unless there's a change in number of robots per match or per alliance, I doubt either of those will change.
__________________
Team 2337 | 2009-2012 | Student
Team 3322 | 2014-Present | College Student
“Be excellent in everything you do and the results will just happen.”
-Paul Copioli
  #10   Spotlight this post!  
Unread 03-04-2012, 00:19
ksafin's Avatar
ksafin ksafin is offline
Registered User
AKA: Kirill Safin
FRC #3992 (Eagles Robotics Xperience)
Team Role: Leadership
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Delray Beach, FL
Posts: 498
ksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant future
Re: Getting Regional Stats?

FYI Guys, this is my idea for my app, let me know what you think:

It'll be a web app, utilizing PhoneGap (so It'll also be ported as a standard app for all mobile platforms). This webapp will

1) Have all current abilities of FRC Spyder (event lookup, match lookup, team lookup)
2) Focus as a central database for scouting. AKA, all teams can register for an account and use this web app for scouting purposes. All of their scouting information on each team can be inputted into this web app, and stored in the database. This information is then made public, so essentially a huge public scouting database.
3) My favorite part - Dynamic Scouting Templates. All teams scout differently, and I want that to be an option. Every team will be able to add custom scouting templates with custom fields. You want to know how many wheels a robot has? OK. You want to know the name of the robot? OK. It's spot on the key? OK. You'll be able to customize the fields, their type, etc. I'm also going to use Phonegap to access phone utilities such as the camera to allow media fields including pictures and match videos.
  #11   Spotlight this post!  
Unread 03-04-2012, 13:09
Dave Flowerday Dave Flowerday is offline
Software Engineer
VRC #0111 (Wildstang)
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 1995
Location: North Barrington, IL
Posts: 1,366
Dave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond repute
Re: Getting Regional Stats?

Quote:
Originally Posted by ksafin View Post
FYI Guys, this is my idea for my app

1) Have all current abilities of FRC Spyder (event lookup, match lookup, team lookup)
2) ...
It's amusing to me to see you trivialize FRC Spyder into a single bullet point on your "my app is going to do all of these great things" list.

In order to be constructive, I'm going to offer this suggestion: please describe, in detail, how you will accomplish item number 1 on your list. While I'm sure many people see FRC Spyder as a trivial app (that's the point, to make it look simple & easy), there's a lot of behind-the-scenes stuff going on. In order to duplicate this, you'll have to build all this backend stuff yourself. If you write up and post here how you plan to accomplish this, perhaps the community can point out areas that you haven't thought of or potential problems.

I have no issue with tackling ambitious projects, but I think it's a good idea to really know what you're in for. Realistically, if it were me I'd skip #1 on your list for now since there's a known working solution for this out there already. #2 and #3 are probably simpler than #1, really, so if I were you I'd try those first.
Quote:
Originally Posted by Basel A
FIRST's servers don't need the extra traffic and you almost certainly won't need results updated more than once per minute.
Right sentiment, wrong number. There's absolutely no reason to query FIRST's servers every minute. That's extremely excessive. Especially if you're thinking of doing it directly from your phone app (rather than once at an intermediate server that then serves that data to all of your phone users on your dime, like FRC Spyder does).

I'll also share another "tip" that I've had to learn the hard way: FIRST's webpages change more often than you think. Quite frequently someone at FIRST HQ goes in and edits the results page's HTML with Microsoft Word and then republishes that. Word does all kinds of nasty things to the formatting of those pages. I've seen other occasional random edits too. Bottom line, parsing FIRST's data automatically and reliably from their results websites is cumbersome and will take more work than you think.
  #12   Spotlight this post!  
Unread 03-04-2012, 16:21
ksafin's Avatar
ksafin ksafin is offline
Registered User
AKA: Kirill Safin
FRC #3992 (Eagles Robotics Xperience)
Team Role: Leadership
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Delray Beach, FL
Posts: 498
ksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant future
Re: Getting Regional Stats?

I meant exactly what I said with my bullet of having the capabilities of FRC Spyder. I never said it was going to be easy and I wouldn't have problems. I wasn't trivializing it at all, I just didn't see the point in listing every single capability when I could just pinpoint the app that has exactly what I'm looking to replicate, as a start.

Honestly, I find #2 and #3 the more difficult, so I'm not seeing where you're coming from. #1 requires accessing already-existing webpages, parsing data, and displaying it (For the most part; I'm not saying its a walk in the park). #2 and #3 involve serious database implementations, user account registration, a website with mobile app, apps for multiple mobile platforms, among other things.

I will look into how other people have parsed FIRSTs pages. There has to be some uniform way; I see many apps, not just popular ones like FRC Spyder, easily find information and display it.
  #13   Spotlight this post!  
Unread 03-04-2012, 17:47
Dave Flowerday Dave Flowerday is offline
Software Engineer
VRC #0111 (Wildstang)
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 1995
Location: North Barrington, IL
Posts: 1,366
Dave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond repute
Re: Getting Regional Stats?

Quote:
Originally Posted by ksafin View Post
#2 and #3 involve serious database implementations, user account registration, a website with mobile app, apps for multiple mobile platforms, among other things.
FRC Spyder has all of those things.
  #14   Spotlight this post!  
Unread 03-04-2012, 18:35
ksafin's Avatar
ksafin ksafin is offline
Registered User
AKA: Kirill Safin
FRC #3992 (Eagles Robotics Xperience)
Team Role: Leadership
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Delray Beach, FL
Posts: 498
ksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant future
Re: Getting Regional Stats?

Quote:
Originally Posted by Dave Flowerday View Post
FRC Spyder has all of those things.
I was pointing out the work that my idea would involve - FRC Spyder does not have a scouting database teams can upload information to, including customizable scouting templates w/ media.
Closed Thread


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:58.

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