Games

Details around the games collection and detail endpoint

The games resource is to be used as referential data in queries against other Olympics API endpoints.

An example games resource for the 2018 winter olympics can be seen below.

{
    "code": "OWG2018",
    "description": "Olympic Winter Games PyeongChang 2018"
}

The table below outlines the possible values exposed in the Games resource.

Property

Value(s)

Description

code

IOC defined games code

description

IOC defined games description

This is an example of how you would query a game for disciplines.

curl --request GET \
  --url https://olympics.api.pressassociation.io/v3/games/OWG2018/discipline