gitlab:tips:api
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| gitlab:tips:api [2016/01/26 23:07] – cedric | gitlab:tips:api [2016/01/27 07:35] (current) – cedric | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | GitLab provides [[http:// | + | GitLab provides [[http:// |
| - | This tutorial presents how to use the API of GitLab with Python. | + | This tutorial presents how to use the API of GitLab with [[https:// |
| - | For the examples below we will use the instance https:// | + | > For the examples below we will use the instance https:// |
| ====== Get the list of users registered in GitLab ====== | ====== Get the list of users registered in GitLab ====== | ||
| Line 28: | Line 28: | ||
| print user[" | print user[" | ||
| </ | </ | ||
| + | |||
| + | The // | ||
| + | |||
| ====== Send an email to the members of a GitLab group ====== | ====== Send an email to the members of a GitLab group ====== | ||
| Line 33: | Line 36: | ||
| Again, this is pretty easy. We will need the [[http:// | Again, this is pretty easy. We will need the [[http:// | ||
| - | In order to send the email, we will simply use the [[http:// | + | In order to send the email, we will simply use the [[http:// |
| The Mutt command will look like this: | The Mutt command will look like this: | ||
gitlab/tips/api.1453846059.txt.gz · Last modified: by cedric
