API wrapper for the Front Public API.
client, err := front.NewClientWithResponses(
"https://api2.frontapp.com/",
front.WithFrontClient("<YOUR_AUTH_TOKEN>", front.LimitStarter),
)
if err != nil {
// ...
}
response, err := client.ListAccountsWithResponse(context.Background())
if err == nil && response.JSON200 != nil {
// ...
}Rate limiters available based on your Front plan:
LimitStarter: 50 requests/minuteLimitGrowth: 100 requests/minuteLimitScale: 200 requests/minute
MIT