Gerrit Rest Api Library (not official)
pip install gerritpy
import gerritpy
import json
username = "{username}"
password = "{http password}"
url = "{url}"
path = "/projects/{project-name}}"
response = gerritpy.get_http(url, path, username, password)
print json.dumps(response, indent=4)
You can get http password
from your gerrit account,settings
-HTTP Password
,and then generate your password.
POST api
PUT api