7 lines
265 B
Python
7 lines
265 B
Python
import requests
|
|
|
|
gitlab_pat = 'glpat-mJPdjrPiHCTj2NqNZN_m'
|
|
headers = {'PRIVATE-TOKEN': gitlab_pat}
|
|
|
|
r = requests.get('https://gitlab.ekeepa.co/api/v4/projects/10/repository/tree?path=src/services/v2/site/rooms/[id]&recursive=true', headers=headers)
|
|
print(r.json())
|