Skip to main content

API client for Shopstylecollective

Project description

[![Python 3.6+](https://img.shields.io/badge/python-3.6+-blue.svg)](https://www.python.org/downloads/release/python-360/)

#API client for Shopstylecollective

##IMPORTANT NOTE
##This package was created in a two hours and does not have tests yet.

#*Release will coming soon!*

## Installing

`pip install shopstyle_api`

To getting access to shopstylecollective api write in your code:

`from shopstyle_api.api import ShopStyleApi`

or shortly

`from shopstyle_api import ShopStyleApi`

and

`client = ShopStyleApi(api_key=SHOPSTYLE_API_KEY, api_username=YOUR_USERNAME)`

-------------

## List of available methods

* `get_brands()` (https://shopstylecollective.zendesk.com/hc/en-us/articles/115000844306--brands)

* `get_categories()` (https://shopstylecollective.zendesk.com/hc/en-us/articles/115000868763--categories)

* `get_colors()` (https://shopstylecollective.zendesk.com/hc/en-us/articles/115000864683--colors)

* `get_lists()` (https://shopstylecollective.zendesk.com/hc/en-us/articles/115000845806--lists)

* `get_list_id(list_id)` (https://shopstylecollective.zendesk.com/hc/en-us/articles/115000866203--lists-list-id-)

* `get_list_items(list_id, limit, offset`) (https://shopstylecollective.zendesk.com/hc/en-us/articles/115000845926--lists-list-id-items)

* `get_price_filters()` (https://shopstylecollective.zendesk.com/hc/en-us/articles/360001337531--Price-Filters)

* `get_product(product_id, free_text_search, category, filters, pdd, sort)` (https://shopstylecollective.zendesk.com/hc/en-us/articles/115000866043-What-are-the-query-parameters-)

* `get_products(filters, category, floor, free_text_search, pdd, sort,
limit, offset)` (https://shopstylecollective.zendesk.com/hc/en-us/articles/115000866043-What-are-the-query-parameters-)

* `get_products_histogram(filters, category, floor, free_text_search, pdd, sort)` (https://shopstylecollective.zendesk.com/hc/en-us/articles/115000866043-What-are-the-query-parameters-)

* `get_retailers()` (https://shopstylecollective.zendesk.com/hc/en-us/articles/115000868743--retailers)

**DEPRECATED BELOW**
*rerun only {"errorCode":400,"errorMessage":"HTTP 404 Not Found"}*
* `list_search(list_id, free_text_search, filters, category, sort, limit, offset)` (https://shopstylecollective.zendesk.com/hc/en-us/articles/115000848706--lists-search)







Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

shopstyle_api-0.0.5.tar.gz (3.9 kB view hashes)

Uploaded Source

Built Distribution

shopstyle_api-0.0.5-py3-none-any.whl (5.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page