Skip to content

Question about ergast for the year 2025 #663

Closed Answered by McHouse
McHouse asked this question in Q&A
Discussion options

You must be logged in to vote

Apologies for my lack of skill, after looking into the matter a little more, the answer is obvious:

def ergast_retrieve(api_endpoint: str):
    url = f'https://api.jolpi.ca/ergast/f1/{api_endpoint}.json'
    response = requests.get(url).json()
    return response['MRData']

that does exactly the same thing as with the previous ergast.

apologies for any loss of time that may have caused.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by McHouse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant