Dear @azamat.ilyassov ,
firstly you need to generate an API_Key at your Developer Hub account(How to regenerate an API Key - #3 by MArkWilliams).
Then the request in Python is straightforward:
r = requests.get(url, auth=(API_Key , “”))
where API_Key is the generated API_Key by which the server authenticates you.