Skip to content

tidders2000/api_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Le Mans API

This is a very basic API covering Le Mans winners by year and was built as an exercise to build an API in Flask The database contains the following information:

  • Year
  • Team
  • Car
  • Drivers
  • Laps
  • Distance

To access the api add  /api/v1/resources/winners to the URL. This will bring back everything
You can filter on the following headings: Team,Year, Car and Drivers. So to search by year and driver

 /api/v1/resources/winners?year=2018&driver=Fernando%20Alonso