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