API client for Shopstylecollective
Project description
[](https://www.python.org/downloads/release/python-360/)
[](https://travis-ci.com/aorzh/shopstyle_api)
#API client for Shopstylecollective
## 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)`
***If you looking some examples please look at tests forlder.***
-------------
## 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)
[](https://travis-ci.com/aorzh/shopstyle_api)
#API client for Shopstylecollective
## 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)`
***If you looking some examples please look at tests forlder.***
-------------
## 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.6.tar.gz
(3.9 kB
view details)
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 shopstyle_api-0.0.6.tar.gz.
File metadata
- Download URL: shopstyle_api-0.0.6.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ec1ba2ecbaaeff252968d80bcd50d1386ce73b00f1d78176aad49ce4ed8f9e0
|
|
| MD5 |
b1c92f48436fa8ed66f66630a480d65b
|
|
| BLAKE2b-256 |
3357ee11fd31b50c3a017fe2549880edfb976f270b0d0397bfd32e05477523ed
|
File details
Details for the file shopstyle_api-0.0.6-py3-none-any.whl.
File metadata
- Download URL: shopstyle_api-0.0.6-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
701c821fcb8cad1f52d1b560f9d1a525c8b9e1d1b67f2e2da5d0f9042e86b40c
|
|
| MD5 |
f25a5e510d37e29df6797941b8b11fda
|
|
| BLAKE2b-256 |
db20ae981c16944ba11195e26107de6e2eb43e09085de40a0f044f1bdf3f9173
|