GameCenter Web Api

<back to all web services

GetPartnerGame

Get game details. GameId required. We recommended using an HTTP If-Modified-Since header when polling for updates; if included must be in UTC and will be used to check if a more efficient 304 Not Modified can be returned when possible

The following routes are available for this service:
GET/partner/games/{GameId}

To override the Content-type in your clients HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/reply/GetPartnerGame HTTP/1.1 
Host: api.digitalscout.com 
Content-Type: application/json
Content-Length: length

{"GameId":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"ClockStatus":"GameNotStarted","CurrentPeriod":0,"GameStatus":"Scheduled","GameType":"Preseason","HomeSchoolId":"String","HtmlUrl":"String","Id":"String","Participants":[{"Gender":"Male","Level":"Freshman","SchoolId":"String"}],"PeriodSecondsLeft":0,"Scores":[{"IsFinal":false,"Period":0,"SchoolId":"String","Score":0}],"Sport":"Football"}