Olypi is a free to use Tokyo 2020 Olympics API for schedules, sports, events, weather and more.
No signup is required and no browser tracking is done.
The Data is “obtained” from the Tokyo Olympics website, whilst the weather is from openWeather.
Using the API is through GET requests only with a query done via the ?call= parameter on the data’s category.
id= can also be used for some calls when you want to be specific.
All data returned is in JSON format.
An example getting the information for sport with the id 28:
https://olypi.com/sports/?call=GetSport&id=28link
Or getting all the locations:
https://olypi.com/locations/?call=GetAllLocationslink
An example of the output from https://olypi.com/schedule/?call=SportEvents&id=28link
{
"result": [
{
"id": 1259,
"sport_id": 28,
"event": "Women's 10km",
"location_id": 27,
"start": "2021-08-04 06:30:00",
"end": "2021-08-04 09:10:00",
"start_utc": "2021-08-03 20:30:00",
"end_utc": "2021-08-03 23:10:00",
"completed": false,
"is_medal": false,
"is_final": false,
"is_ceremony": false
},
{
"id": 1260,
"sport_id": 28,
"event": "Women's Victory Ceremony",
"location_id": 27,
"start": "2021-08-04 06:30:00",
"end": "2021-08-04 09:10:00",
"start_utc": "2021-08-03 20:30:00",
"end_utc": "2021-08-03 23:10:00",
"completed": false,
"is_medal": false,
"is_final": false,
"is_ceremony": true
},
{
"id": 1261,
"sport_id": 28,
"event": "Men's 10km",
"location_id": 27,
"start": "2021-08-05 06:30:00",
"end": "2021-08-05 09:10:00",
"start_utc": "2021-08-04 20:30:00",
"end_utc": "2021-08-04 23:10:00",
"completed": false,
"is_medal": false,
"is_final": false,
"is_ceremony": false
},
{
"id": 1262,
"sport_id": 28,
"event": "Men's Victory Ceremony",
"location_id": 27,
"start": "2021-08-05 06:30:00",
"end": "2021-08-05 09:10:00",
"start_utc": "2021-08-04 20:30:00",
"end_utc": "2021-08-04 23:10:00",
"completed": false,
"is_medal": false,
"is_final": false,
"is_ceremony": true
}
],
"success": true,
"call": "SportEvents",
"id": 28
}
A drained and empty Kennington reservoir images from a drone in early July 2024. The…
Merrimu Reservoir from drone. Click images to view larger.
Using FTP and PHP to get an array of file details such as size and…
Creating and using Laravel form requests to create cleaner code, separation and reusability for your…
Improving the default Laravel login and register views in such a simple manner but making…
Laravel validation for checking if a field value exists in the database. The validation rule…