Last updated:
0 purchases
pygitlabapi 1.0.1
pygitlabapi
pygitlabapi contains some functions to facilitate the usage of gitlab apis inside python modules or in command line.
The source for this project is available here.
Example of importing gitlabapi inside a python module :
import os
from pygitlabapi import gitlabApi
iurl = "https://gitlab.com/api/v4"
ijson = "project.json"
imethod="POST"
iapi = "/projects"
iuser= os.environ.get("GITLAB_USER")
itoken = os.environ.get("GITLAB_TOKEN")
message= gitlabApi.rungitlabApi(api=iapi, method=imethod, url=iurl, user=iuser, token=itoken, json=ijson )
print(message)
Release notes
1.0.0 Initial version
1.0.1 Managing http error codes
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.