Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ziplokk1/python-shopify-api

Wrapper and parser modules for Shopify's API.
https://github.com/ziplokk1/python-shopify-api

Last synced: about 2 months ago
JSON representation

Wrapper and parser modules for Shopify's API.

Awesome Lists containing this project

README

        

# Description

Contains wrappers and parsers for Shopify's Products API.

# Usage

```python
from shopify.products import ProductsApiWrapper, Product, Image

api_key = ''
password = ''
store_name = ''

paw = ProductsApiWrapper(api_key, password, store_name)
for product in paw.list():
print product.title

product = Product(title='My test product')
image = Image()
image.src = 'https://www.imageurl.com/myimage.jpg'
product.image = image
product.add_tags('testing', 'product')

product = paw.create(product)

product.title = 'My New Title For My Test Product'

paw.update(product)
```

# Installation

`pip install git+https://github.com/ziplokk1/python-shopify-api.git`