10 lines
385 B
Python
10 lines
385 B
Python
import requests
|
|
|
|
gitlab_pat = 'glpat-mJPdjrPiHCTj2NqNZN_m'
|
|
headers = {'PRIVATE-TOKEN': gitlab_pat}
|
|
|
|
r = requests.get('https://gitlab.ekeepa.co/api/v4/projects/3/repository/commits?path=src/apis/rooms/utils.ts', headers=headers)
|
|
commits = r.json()
|
|
print("Commits in frontend src/apis/rooms/utils.ts:", len(commits))
|
|
for c in commits:
|
|
print(c['id'][:8], c['created_at'], c['title'])
|