Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
| git-python-api [2018/11/11 13:15] – ↷ Page déplacée de devops:git-python-api à git-python-api phsw | git-python-api [2021/06/03 20:49] (Version actuelle) – fix link formatting phsw | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| ====== API de Git en Python ====== | ====== API de Git en Python ====== | ||
| + | |||
| + | https:// | ||
| + | |||
| ==== Gitlab ==== | ==== Gitlab ==== | ||
| - | [[https:// | + | https:// |
| <code bash> | <code bash> | ||
| Ligne 14: | Ligne 17: | ||
| gl = gitlab.Gitlab(' | gl = gitlab.Gitlab(' | ||
| - | projects = gl.projects.list(visibility=' | + | projects = gl.projects.list(visibility=' |
| for p in projects: | for p in projects: | ||
| Ligne 22: | Ligne 25: | ||
| - | ---- | + | |
| ==== GitHub ==== | ==== GitHub ==== | ||
| + | |||
| + | https:// | ||
| <code bash> | <code bash> | ||