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