Wrapper around the Shopify API using requests.
ShopifyRequests is an API client for Shopify built on top of the requests library.
The main goals of this project are:
There are also future plans to support http2
, asyncio
, and GraphQL
.
from shopify_requests import RestClient
client = RestClient('foo.myshopify.com', access_token='abc123')
response = client.get('shop.json')
The RestClient
is the configuration point so that all requests made with it will have the same options.
Some of the options you can configure are:
For more configuration options check out the API Docs
An additional benefits of using the same client is that it will reuse the same TCP connection so the SSL handshake only has to happen once.
The issue board will be the best place to reach out and get the problem sorted out.