Skip to content

ashsmith/bigcommerce-api-go

Repository files navigation

bigcommerce-client-go

GoDoc

A golang BigCommerce client library.

Basic usage

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)
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages