Utility functions for working with the Shopify API
Project description
Shopify Utils
A collection of utility functions for working with the Shopify API, with a focus on GraphQL endpoints.
Features
- Fetch published products with pagination support
- Customizable product fields
- Sorting options
- Proper error handling
Installation
pip install schemaplus-shopify-utils
Usage
from schemaplus_shopify_utils.product_utils import get_published_products
# Replace with your shop details
shop = {
"name": "your-store.myshopify.com",
"token": "your_access_token"
}
# Get published products
total_count, products = get_published_products(
shop,
count=10,
with_additional_fields=True
)
# Process products
for product in products:
print(f"- {product['title']} ({product['handle']})")
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file schemaplus_shopify_utils-0.1.1.tar.gz.
File metadata
- Download URL: schemaplus_shopify_utils-0.1.1.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b625dee0437071711629519cec3cd502e64b974dc719a0dfa84663f7d587f3e9
|
|
| MD5 |
e3d909e8793174865fe383c0dd4bcbd6
|
|
| BLAKE2b-256 |
d6b0e06774f2c0b1ee67fa9123f61355ea85c1b41ceee5ca4b3953b7c5ae6f12
|
File details
Details for the file schemaplus_shopify_utils-0.1.1-py3-none-any.whl.
File metadata
- Download URL: schemaplus_shopify_utils-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
757a0112cea665cafece309bce6a6d03671ba1e5b8082ed0d4dffc66d4224619
|
|
| MD5 |
56bdf70acbe126fde34f1c92c5d27244
|
|
| BLAKE2b-256 |
b8cd82fe9d0bc59bf806704e60868baecb46d021bc52d4928424da2d2911d987
|