forked from Dongjiaqi/reposync
16 lines
413 B
Python
16 lines
413 B
Python
import requests
|
|
|
|
url = "https://gitlink.org.cn/api/v1/xumingyang21/reposyncer2/issues/117187.json"
|
|
|
|
payload={}
|
|
|
|
access_token = 'XtR67a232J5u1VU_8yvm7RCVfMX0XMM76m8yMAGblDY'
|
|
headers = {
|
|
'Authorization': f'Bearer {access_token}',
|
|
'User-Agent': 'Apifox/1.0.0 (https://apifox.com)'
|
|
}
|
|
|
|
response = requests.request("GET", url, headers=headers, data=payload)
|
|
data=response.json()
|
|
# print(response.text)
|
|
print(data) |