Using drep with gitea.io

Python integration

Install
pip install drep
Quick start
import drep

# Set your API key
client = drep.Client(api_key="YOUR_API_KEY")
Get list of organizations
curl \
  # append ?access_token=$API_KEY to the URL \
  /orgs
Get the authenticated user
curl \
  # append ?access_token=$API_KEY to the URL \
  /user
Returns the version of the Gitea application
curl \
  # append ?access_token=$API_KEY to the URL \
  /version
SDK on GitHub 📄 API Docs
SDK
drep
Python
API
gitea.io
gitea.io
At a glance
Language Python
Endpoints325