1. #1
    339955
    339955's Avatar Become A Pro!
    Join Date: 07-20-12
    Posts: 198

    espn gameid

    how are there gameid's organized? it doesn't look like it is set up by date

  2. #2
    339955
    339955's Avatar Become A Pro!
    Join Date: 07-20-12
    Posts: 198

    i am trying to find play by play data it looks like sbr doesn't have that so much but espn does? thanks for all help

  3. #3
    tto827
    tto827's Avatar Become A Pro!
    Join Date: 10-01-12
    Posts: 9,078
    Betpoints: 76

    Can you post a link, or be more specific, doubt anyone will know it off the top of their head.

  4. #4
    Indecent
    Indecent's Avatar Become A Pro!
    Join Date: 09-08-09
    Posts: 758
    Betpoints: 1156

    There doesn't appear to be any easy way to discern the game id using the date, teams involved, previous id, etc. You'll have to scrape these values from some other page.

  5. #5
    339955
    339955's Avatar Become A Pro!
    Join Date: 07-20-12
    Posts: 198

    here is an example page

    http://espn.go.com/nba/boxscore?gameId=400277786

    that is for game on november 8th 2012, so lets say i want a game in 2011 it would make sense to lower the number... if i change the 4 or a 2 to a 1 i get a blank page, so would be helpful to know how they use those gameIDs

  6. #6
    rsigley
    rsigley's Avatar Become A Pro!
    Join Date: 02-23-08
    Posts: 304
    Betpoints: 186

    http://scores.espn.go.com/nba/scoreboard?date=20121104

    get boxscore links

    calculate derivatives

    buy sushi

  7. #7
    339955
    339955's Avatar Become A Pro!
    Join Date: 07-20-12
    Posts: 198

    rsigley, thank you.

    how are you doing with your bets? i am struggling without your tutelage.

  8. #8
    339955
    339955's Avatar Become A Pro!
    Join Date: 07-20-12
    Posts: 198

    Heelppp riskgly need

  9. #9
    lovesbaseball1
    lovesbaseball1's Avatar Become A Pro!
    Join Date: 12-07-10
    Posts: 18
    Betpoints: 246

    for baseball, its '32' plus 'mmdd' plus '1' '2' or '3' (no double header, game 1 of DH, game 2 of DH) plus hometeamid

    '32' equals 2012, '31' for 2011, and so on
    team ids are below. i assume other sports are the same

    BAL | 01 |
    | BOS | 02 |
    | ANA | 03 |
    | CHA | 04 |
    | CLE | 05 |
    | DET | 06 |
    | KCA | 07 |
    | MIL | 08 |
    | MIN | 09 |
    | NYA | 10 |
    | OAK | 11 |
    | SEA | 12 |
    | TEX | 13 |
    | TOR | 14 |
    | ATL | 15 |
    | CHN | 16 |
    | CIN | 17 |
    | HOU | 18 |
    | LAN | 19 |
    | WAS | 20 |
    | NYN | 21 |
    | PHI | 22 |
    | PIT | 23 |
    | SLN | 24 |
    | SDN | 25 |
    | SFN | 26 |
    | COL | 27 |
    | MIA | 28 |
    | ARI | 29 |
    | TBA | 30 |

  10. #10
    roasthawg
    roasthawg's Avatar Become A Pro!
    Join Date: 11-09-07
    Posts: 2,990

    Grab the boxscore links from the daily scoreboard... http://scores.espn.go.com/nba/scoreboard?date=20121114. The date is at the end after the equal sign... just increment the date to grab the whole season.

  11. #11
    339955
    339955's Avatar Become A Pro!
    Join Date: 07-20-12
    Posts: 198

    lovebaseball, what did you use the information from ESPN to model? how did you model it? how have you been doing with it?

  12. #12
    lovesbaseball1
    lovesbaseball1's Avatar Become A Pro!
    Join Date: 12-07-10
    Posts: 18
    Betpoints: 246

    espn is generally not a very good source for boxscore data for baseball(check out retrosheet or fangraphs)... i only know about the boxscores because i wrote a script to download the latest scores (used to auto grade bets)

  13. #13
    339955
    339955's Avatar Become A Pro!
    Join Date: 07-20-12
    Posts: 198

    ah. who did you write it for? how much did you get paid?

Top