There’s a getting started guide here. However, for many of my more complicated scripts, I use python-gitlab. I think you can find wrappers for most languages.
I really liked the idea of using the python-gitlab package. I struggle with the access from within the CI/CD job. Following the documentation:
import gitlab
import os
gl = gitlab.Gitlab('https://gitlab.example.com', job_token=os.environ['CI_JOB_TOKEN'])
I created the Gitlab object. I analyzed the members of the object and came to the conclusion that I need the project-manager for accessing the project, which allows me to access the wiki. The issue the project-manager does not list a single project.
What am I missing I struggle at the first point by retrieving the project object.