A golang BigCommerce client library.
import (
bc "github.com/ashsmith/bigcommerce-api-go"
)
func main() {
// Configure
config := bc.App{
StoreHash: "[your-store-hash]",
ClientID: "[your-client-id]",
AccessToken: "[your-access-token]",
}
httpClient := http.Client{}
// Create the client.
client := bc.NewClient(config, httpClient)
// Make a request.
webhook, _ := client.Webhooks.Get(123)
fmt.Print(webhook)
}