How can I get the meta data in Json format from a GitLab URL without using a personal token key and without project ID in Python (Django framework)?
I tried many codes:
url = "https://gitlab.com/meta_tool/repository"
parsed_url = urlparse(url)
path_parts = parsed_url.path.split("/")
owner = path_parts[1]
repo_name = path_parts[2]
gitlab = Gitlab('https://gitlab.com')
project = gitlab.projects.get(owner+"/"+repo_name)
print(project.name)
Or other codes but some did not work.