Getting Scores for a Match - RobotEvents API

Hi,
I’ve been trying to get the scores of a match I participated in using the RobotEvents API.
But it says that scored: false.

This is the request command:

curl -X 'GET' \
'https://www.robotevents.com/api/v2/events/45414/divisions/1/matches?matchnum%5B%5D=1&round%5B%5D=2' \
-H 'accept: application/json' \
-H 'Authorization: Bearer (my token)'

and this is the result:

{
    id: 25608095,
    event: {
        id: 45414,
        name: '[Signature Event] 4th Annual NorCal VEX Tipping Point Middle School Tournament ',
        code: 'RE-VRC-21-5414'
    },
    division: { id: 1, name: 'Division 1', code: null },
    round: 2,
    instance: 1,
    matchnum: 1,
    scheduled: '2022-02-20T12:00:00-05:00',
    started: '2022-02-20T12:29:48-05:00',
    field: 'R2-D2',
    scored: false,
    name: 'Qualifier #1',
    alliances: [ [Object], [Object] ]
}

Yeah, the API doesn’t behave exactly as documented. The alliances object will have the scores in it, or 0s if its not scored (thankfully 0-0 ties are virtually impossible in this year’s game)

1 Like

Thanks!
May I ask, how did you come to know of all this information?

It’s how I pull data that does into the site I run http://vrc-data-analysis.com/

DQ of both alliances in an elimination match would show up as a 0-0 tie wouldn’t it? Probably happened at least a couple times this season…

Still fine to assume any 0-0 ties just haven’t been played yet though.

2 Likes