README.md
# ShopQL
[![Package](https://img.shields.io/hexpm/v/shopql.svg)](https://hex.pm/packages/shopql) [![Documentation](http://img.shields.io/badge/hex.pm-docs-green.svg?style=flat)](https://hexdocs.pm/shopql) ![CI](https://github.com/balexand/shopql/actions/workflows/elixir.yml/badge.svg)
Simple Shopify GraphQL client for Elixir.
## Installation
The package can be installed by adding `shopql` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[
{:shopql, "~> 0.2.0"}
]
end
```
## Usage
[See the docs](https://hexdocs.pm/shopql/ShopQL.html).
## Retrying failed requests
This library supports retrying failed requests. The default settings are safe regardless of whether or not your query is idempotent. See [`ShopQL.query/3`](https://hexdocs.pm/shopql/ShopQL.html#query/3) for details.
## Request throttling
This library does not attemp to preventatively throttle requests to avoid Shopify's rate limit. You're application is responsible for this.