jolpica / jolpica-f1

Apache License 2.0
41 stars 1 forks source link

Standings endpoints are case-sensitive #24

Closed theOehrly closed 5 months ago

theOehrly commented 5 months ago

The constructor and driver standings endpoint incorrectly are case-sensitive.

The following both should be supported in each case:

http://api.jolpi.ca/ergast/f1/2023/constructorstandings.json http://api.jolpi.ca/ergast/f1/2023/constructorStandings.json

http://api.jolpi.ca/ergast/f1/2023/driverstandings.json http://api.jolpi.ca/ergast/f1/2023/driverStandings.json

This is important because Ergast uses the /constructorStandings and /driverStandings spelling in its documentation. Therefore, it is likely that many users use this spelling.