Skip to content

erkan/python-gitlab-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%