Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

erkan/python-gitlab-api

Open more actions menu
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
20 Commits
 
 
 
 
 
 

Repository files navigation

python-gitlab-api

Requirements

  • Set up API token in GitLab
  • The following Python modules are required:
    • json
    • python-gitlab
    • yaml

Usage

Display all of your groups in JSON or YAML output

python gitlab-management.py get_all_groups --token mysupersecrettoken -o {json,yaml}

Display all of your groups in JSON or YAML output and filter on names only

python gitlab-management.py get_all_groups --token mysupersecrettoken -o {json,yaml} -f namesonly

Display all of your groups details in JSON or YAML output

python gitlab-management.py get_group_details --token mysupersecrettoken -o {json,yaml}

Display all of your groups projects in JSON or YAML output

python gitlab-management.py get_group_projects --token mysupersecrettoken -o {json,yaml}

Display all issues in JSON or YAML output

python gitlab-management.py get_issues --token mysupersecrettoken -o {json,yaml}

Display all issues in JSON or YAML output and filter on either opened or closed

python gitlab-management.py get_issues --token mysupersecrettoken -o {json,yaml} -f {opened,closed}

Display all of your projects in JSON or YAML output

python gitlab-management.py get_user_projects --token mysupersecrettoken -o {json,yaml}

Display all of your projects in JSON or YAML output and filter on names only

python gitlab-management.py get_user_projects --token mysupersecrettoken -o {json,yaml} -f namesonly

Manage Runners (Limited for now)

python gitlab-management.py manage_runners --token mysupersecrettoken

Manage SSH Keys (Limited for now)

python gitlab-management.py manage_ssh_keys --token mysupersecrettoken

License

MIT

Author Information

Larry Smith Jr.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.