{"id":13582557,"url":"https://github.com/localyyz/go-shopify","last_synced_at":"2025-04-06T14:31:02.465Z","repository":{"id":57497455,"uuid":"173347053","full_name":"localyyz/go-shopify","owner":"localyyz","description":"Go library for accessing the Shopify REST API - (GoDocs coming soon)","archived":false,"fork":false,"pushed_at":"2019-04-01T17:02:39.000Z","size":30,"stargazers_count":13,"open_issues_count":0,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-05T22:41:44.740Z","etag":null,"topics":["api-client","golang","shopify","shopify-api"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/localyyz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-01T18:06:23.000Z","updated_at":"2024-08-13T23:51:54.000Z","dependencies_parsed_at":"2022-09-03T23:52:24.074Z","dependency_job_id":null,"html_url":"https://github.com/localyyz/go-shopify","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localyyz%2Fgo-shopify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localyyz%2Fgo-shopify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localyyz%2Fgo-shopify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localyyz%2Fgo-shopify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/localyyz","download_url":"https://codeload.github.com/localyyz/go-shopify/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247495790,"owners_count":20948108,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-client","golang","shopify","shopify-api"],"created_at":"2024-08-01T15:02:50.447Z","updated_at":"2025-04-06T14:31:02.166Z","avatar_url":"https://github.com/localyyz.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# go-shopify\n\nGo library for accessing the [Shopify REST API](https://help.shopify.com/en/api/reference) - (GoDocs coming soon)\n\ngo-shopify requires Go version 1.9 or greater.\n\n## Usage ##\n\n```go\nimport \"github.com/localyyz/go-shopify\" // v1\n```\n\nConstruct a new Shopify client, then use the various services on the client to\naccess different parts of the Shopify API. For example:\n\n```go\nclient := shopify.NewClient(nil, shopify.ShopURL(\"https://x.myshopify.com/admin\"), shopify.Token(\"xxx-yyy-zzz\"))\n\n// get the store metadata\nstore, _, err := client.Shop.Get(context.Background())\n```\n\nSome API methods have optional parameters that can be passed. For example:\n\n```go\nclient := shopify.NewClient(nil, shopify.ShopURL(\"https://x.myshopify.com/admin\"), shopify.Token(\"xxx-yyy-zzz\"))\n\n// create a new checkout\ncheckout := \u0026shopify.Checkout{Email: \"paul@somebuyer.com\"}\ncheckout, _, err := client.Checkout.Create(context.Background(), checkout)\n```\n\nThe services of a client divide the API into logical chunks and correspond to\nthe structure of the Shopify API documentation at\nhttps://help.shopify.com/en/api/reference.\n\nNOTE: Using the [context](https://godoc.org/context) package, one can easily\npass cancelation signals and deadlines to various services of the client for\nhandling a request. In case there is no context available, then `context.Background()`\ncan be used as a starting point.\n\n## Roadmap ##\n\nThis library is being initially developed for production use at\nLocalyyz, it's now open sourced with the community to as the library have been\nfairly stable for the past year or so. For future work / improvements:\n\n- tests coverage\n- example usage\n- documentation and GoDoc generation\n- complete REST api converage\n\n## Contributing ##\n\nFeel free to fork and submit changes upstream. Please follow the pattern\nestablished in this package. If you have questions feel free to submit issues,\nfor inspiration and guidelines please refer to the [google/go-github][] library.\n\n## License ##\n\nThis library is distributed under the BSD-style license found in the [LICENSE](./LICENSE)\nfile.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flocalyyz%2Fgo-shopify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flocalyyz%2Fgo-shopify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flocalyyz%2Fgo-shopify/lists"}