{"repo":"malomohq/shopify-graphql-elixir","free":true,"listed":false,"github":"https://github.com/malomohq/shopify-graphql-elixir","clone":"git clone https://github.com/malomohq/shopify-graphql-elixir.git","description":"Elixir client for the Shopify GraphQL Admin API","language":"Elixir","stars":26,"topics":["shopify","shopify-api","shopify-graphql-api","shopify-apps","elixir-lang","made-by-malomo"],"license":"MIT","category":"ecommerce","readme_excerpt":"Shopify.GraphQL Installation shopify graphql is published on Hex. Add it to your list of dependencies in mix.exs : You are also required to specify an HTTP client and JSON codec as dependencies. shopify graphql supports hackney and jason out of the box. Usage You can make a request to the Shopify GraphQL admin API by passing a query to the Shopify.GraphQL.send/2 function. You can manage variables using the Shopify.GraphQL.put variable/3 and Shopify.GraphQL.put variables/2 functions. Configuration All configuration must be provided on a per-request basis as a keyword list to the second argument of Shopify.GraphQL.send/2 . :access token - Shopify access token for making authenticated requests :endpoint - endpoint for making GraphQL requests. Defaults to graphql.json . :http client - the HTTP client used for making requests. Defaults to Shopify.GraphQL.Client.Hackney . :http client opts - additional options passed to :http client . Defaults to [] . :http headers - a list of additional headers to send when making a request. Example: [{\"x-graphql-cost-include-fields\", \"true\"}] . Defaults to [] . :http host - HTTP host to make requests to. Defaults to myshopify.com . Note that using :host rather than a combination of :host and :shop may be more convenient when working with public apps. :http path - path to the admin API. Defaults to admin/api . :http port - the HTTP port used when making requests :http protocol - the HTTP protocol when making requests. Defaults to https . :json cod","default_branch":null,"files":null,"tree":[],"storefront":"/r/malomohq","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/malomohq/shopify-graphql-elixir/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."}