Skip to content

chouandy/shopify-graphql

Repository files navigation

Shopify GraphQL

The simple GraphQL client for Shopify.

For more information, see package github.com/shurcooL/graphql, which provides a GraphQL client implementation.

Installation

go get -u github.com/chouandy/shopify-graphql

Usage

Construct a Shopify GraphQL client, specifying the Shopify shop domain and storefront access token. Then, you can use it to make GraphQL queries and mutations.

// Admin API Client
client := shopifygraphql.NewAdminClient("example.myshopify.com", "admin_access_token")
// Storefront API Client
client := shopifygraphql.NewStorefrontClient("example.myshopify.com", "storefront_access_token")

// Use client...

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages