23 lines
767 B
Python
23 lines
767 B
Python
# %%
|
|
import requests
|
|
|
|
|
|
prod_url = 'https://uefadigitalapi.developer.azure-api.net'
|
|
prod_primary_key = '7dfa861240aa40f8a834990c24f1a66d'
|
|
prod_secondary_key = '4451dcc1ad4f41b2aa6af96cc5a1256a'
|
|
pre_url = 'https://uefadigitalapipre.developer.azure-api.net'
|
|
pre_primary_key = '1decf93425944f8b9e6dc7226a3b8477'
|
|
pre_secondary_key = '14771f5c67b74836a59f777cb543cc0f'
|
|
|
|
|
|
|
|
r=requests.get("https://api.digital.uefa.com/comp/v2/competitions/1/seasons", headers={"Cache-Control":"no-cache","Ocp-Apim-Subscription-Key":"7dfa861240aa40f8a834990c24f1a66d"})
|
|
# %%
|
|
r.json()
|
|
# %%
|
|
|
|
r=requests.get("https://api.pre.digital.uefa.com/comp/v2/competitions/1/seasons", headers={"Cache-Control":"no-cache","Ocp-Apim-Subscription-Key":"14771f5c67b74836a59f777cb543cc0f"})
|
|
# %%
|
|
r.json()
|
|
# %%
|