github.com/playcamp/playcamp-go-sdk) provides a type-safe way to integrate with the PlayCamp API. It handles authentication, pagination, retries, and error handling with zero external dependencies.
Installation
Quick Start
Client vs Server
The SDK provides two constructors depending on your API key type:Client Resources
Server Resources
Configuration
Environments
You can also specify a custom URL directly:
Pointer Helpers
Use built-in helpers for optional fields:Pagination
List endpoints return paginated results:Error Handling
The SDK returns typed errors for different scenarios:Webhook Verification
The SDK provides thewebhookutil package for verifying incoming webhook signatures: