Metadata-Version: 2.4
Name: schemaplus-shopify-utils
Version: 0.1.1
Summary: Utility functions for working with the Shopify API
Home-page: https://github.com/uppercasebrands-private/schemaplus-shopify-utils
Author: SchemaPlus
Author-email: SchemaPlus <support@schemaplus.io>
License: MIT
Project-URL: Homepage, https://github.com/uppercasebrands-private/schemaplus-shopify-utils
Project-URL: Bug Tracker, https://github.com/uppercasebrands-private/schemaplus-shopify-utils/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests>=2.25.0
Dynamic: author
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-python

# 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

```bash
pip install schemaplus-shopify-utils
```

## Usage

```python
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
