https://github.com/gabrielcrackpro/f1-api
An API with F1 2022 season data
https://github.com/gabrielcrackpro/f1-api
f1 f1-2022 f1-api
Last synced: 3 months ago
JSON representation
An API with F1 2022 season data
- Host: GitHub
- URL: https://github.com/gabrielcrackpro/f1-api
- Owner: GabrielCrackPro
- License: mit
- Created: 2022-07-30T17:36:31.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-06T15:29:57.000Z (almost 3 years ago)
- Last Synced: 2025-01-22T22:17:36.567Z (5 months ago)
- Topics: f1, f1-2022, f1-api
- Language: JavaScript
- Homepage: https://f1-22-api.herokuapp.com/
- Size: 67.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# F1 API
[](https://github.com/GabrielCrackPro/f1-api/master/LICENSE)
[](https://github.com/GabrielCrackPro/f1-api/pulls)An API with F1 2022 season data
> Note: This won´t be completed until the 2022 season ends
## Base URL
`````
https://f1-22-api.herokuapp.com/
`````## Endpoints
```
GET /api/teams
```Returns the list of teams in the 2022 season
```
GET /api/teams/:name
```Returns one specific team by its name
```
GET /api/drivers
```Returns the list of drivers in the 2022 season
```
GET /api/drivers/:name
```Returns one specific driver by its name
```
GET /api/races
```Returns the list of races in the 2022 season
> This is not completed yet
```
GET /api/races/:round
```Returns one specific race by its round number
```
GET /api/circuits
```Returns the list of circuits in the 2022 season
```
GET /api/circuits/:id
```Returns one specific circuit by its id. The id is determined by order in the season