Using play-sdk with gitea.io

Go integration

Install
go get github.com/lunny/play-sdk
Quick start
import "play-sdk"

// Initialize client
client := play-sdk.NewClient("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
play-sdk
Go
API
gitea.io
gitea.io
At a glance
Language Go
Endpoints325