User Tools

Site Tools


gitlab:tips:api

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
gitlab:tips:api [2016/01/27 07:29] cedricgitlab:tips:api [2016/01/27 07:35] (current) cedric
Line 29: Line 29:
 </code> </code>
  
 +The //requests// library is used to query the API and the //json// library is used to parse the result received from the server. Here the result is simply a list of users.
  
  
Line 35: Line 36:
 Again, this is pretty easy. We will need the [[http://doc.gitlab.com/ce/api/groups.html | Groups]] resource and the [[http://doc.gitlab.com/ce/api/users.html | Users]] resource. Again, this is pretty easy. We will need the [[http://doc.gitlab.com/ce/api/groups.html | Groups]] resource and the [[http://doc.gitlab.com/ce/api/users.html | Users]] resource.
  
-In order to send the email, we will simply use the [[http://www.mutt.org/ | Mutt] email client.+In order to send the email, we will simply use the [[http://www.mutt.org/ | Mutt]] email client.
  
 The Mutt command will look like this: The Mutt command will look like this:
gitlab/tips/api.1453876146.txt.gz · Last modified: 2016/01/27 07:29 by cedric