GitLab API - How to GET the repository/project files and metadata?
Python solution Very useful information about gitlab api.
python-gitlab.readthedocs.io
import gitlab
# private token or personal token authentication
gl = gitlab.Gitlab('https://gitlab.company.be', private_token='dklsfjksldjfkdsjf', api_version=4)
gl.auth()
project = gl.projects.get('path/to/project')
items = project.repository_tree()
print(items)