1. Gitlab api 格式
GET http://example.com/api/v3/projects?private_token=QVy1PB7sTxfy4pqfZM1U
2. Python 使用库 urllib2
import urllib2
3. 获取项目列表
Url = "http://192.168.1.233/"
Token = "********"
req = urllib2.Request(url = Url + "/api/v3/projects?private_token="+Token)
res = urllib2.urlopen(req)
response = res.read()
print response