Pygitlabapi 1.0.1 | Coderz Product

pygitlabapi 1.0.1

Last updated:

0 purchases

pygitlabapi 1.0.1 Image
pygitlabapi 1.0.1 Images

Free

Languages

Categories

Add to Cart

Description:

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

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product: (if this is empty don't purchase this product)

Customer Reviews

There are no reviews.