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 = ""
 parsed_url = urlparse(url)
 path_parts = parsed_url.path.split("/")
 owner = path_parts[1]
 repo_name = path_parts[2]
 gitlab = Gitlab('')
 project = gitlab.projects.get(owner+"/"+repo_name)

Or other codes but some did not work.

Back to Top