{"repo":"kirillplatonov/shopify_graphql","free":true,"listed":false,"github":"https://github.com/kirillplatonov/shopify_graphql","clone":"git clone https://github.com/kirillplatonov/shopify_graphql.git","description":"Less painful way to work with Shopify Graphql API in Ruby.","language":"Ruby","stars":76,"topics":["ruby","rails","shopify","graphql"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Shopify Graphql Less painful way to work with Shopify Graphql API in Ruby. This library is a tiny wrapper on top of shopify api gem. It provides a simple API for Graphql calls, better error handling, and Graphql webhooks integration. Features - Simple API for Graphql queries and mutations - Conventions for organizing Graphql code - ActiveResource-like error handling - Graphql and user error handlers - Auto-conversion of responses to OpenStruct - Graphql webhooks integration for Rails - Wrappers for Graphql rate limit extensions - Built-in calls for common Graphql calls Dependencies - shopify api v10+ - shopify app v19+ For shopify api Click to expand Definition: Usage: Query with custom headers Click to expand You can pass custom headers to any GraphQL query or mutation by using the headers parameter. A common use case is setting the Accept-Language header to retrieve content in specific languages: The Accept-Language header tells Shopify which language to return the content in. This is particularly useful for: - Retrieving translated content for products, collections, and pages - Building multi-language storefronts - Showing localized SEO content You can also use custom headers for other purposes like passing metadata or context with your GraphQL requests. Query with data parsing Click to expand Definition: Usage: Query with fields Click to expand Definition: Usage: Simple collection query Click to expand Definition: Usage: Collection query with fields Click to expand Defini","default_branch":null,"files":null,"tree":[],"storefront":"/r/kirillplatonov","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kirillplatonov/shopify_graphql/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}