7 lines
215 B
Python
7 lines
215 B
Python
import requests
|
|
|
|
TOKEN = "53aed57f1cffb0903ae537edc1b579ff1b0c947f"
|
|
headers = {"Authorization": f"token {TOKEN}"}
|
|
response = requests.get("https://git.vyatsu.ru/api/v1/user", headers=headers)
|
|
print(response.json())
|