Olypi is a free to use, unofficial Tokyo 2020 Olympics API for schedules, sports, events, weather and more. Data is "obtained" from the Olympics website.

Usage

https://olypi.com/category?call=call
https://olypi.com/category?call=call&id=id
Example:
https://olypi.com/sports/?call=GetSport&id=28

All responses are in JSON format, time is Tokyo Japan GMT+9 unless specified (start_utc)

Query Categories

days, general, locations, schedule, sports & weather

Days

Category: /days/

Calls:

Status

Returns day number for the Olympics along with days remaining.

General

Category: /general/

Calls:

GetLocalTime

Returns local Tokyo Japan time in Y-m-d H:i:s format.

Locations

Category: /locations/

Calls:

GetAllLocations

Returns all locations data including name, id, latitude and longitude values.


GetLocation requires: id

Returns location data for id including name, id, latitude and longitude values.

Schedule

Category: /schedule/

Calls:

SportEvents required: id

Returns sport events schedule


TodaysEvents optional: id

Returns events for today


LiveNow optional: id

Returns events live now (Between start and end time)

Sports

Category: /sports/
GetAllSports

Returns all sports names and id's (including O/C ceremony)


GetSport requires: id

Returns sport name, id and schedule link


GetSportName requires: id

Returns sport name for id

Weather

Category: /weather/

Calls:

Live

Returns current Tokyo weather (Updated 15 minutes)


Forecast

Returns Forecasted weather in 3 hour intervals