Using sdk-go with box.com

Go integration

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

// Initialize client
client := sdk-go.NewClient("YOUR_ACCESS_TOKEN")
List enterprise users
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://api.box.com/2.0/users
List user and enterprise events
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://api.box.com/2.0/events
List groups for enterprise
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://api.box.com/2.0/groups
SDK on GitHub 📄 API Docs
SDK
sdk-go
Go
API
box.com
box.com
At a glance
Language Go
Endpoints258
Base URLhttps://api.box.com/2.0