Skip to main content

An SDK for the Sugarcoat API

Project description

Sugarcoat Python SDK

The Sugarcoat SDK for Python applications.


Install from source:

$ git clone
$ cd sugarcoat-python-sdk
$ pip install -r requirements.txt


Copy the config file and add relevant API key:


Create the Sugarcoat object

from sugarcoat.sugarcoat import Sugarcoat

sc = Sugarcoat()

You can now create a wrapper, for example:

product = sc.Product

And perform actions on that wrapper:


#	"count": 2,
#	"current_page": 1,
#	"last_page": 1,
#	"products": [
#		{
#			"id": 1,
#			"store_id": 1,
#			"parent_product_id": null,
#			"search_engine_data_id": null,
#			"product_type_id": null,
#			"thumbnail_id": null,
#			"slug": "jb-product",

Quick Reference

sc = Sugarcoat()                    # Create new Sugarcoat instance
sc.Product                          # Create Product wrapper
Product.list()                      # List all products                     # Read product with id 1
Product.create(payload)             # Create product with passed payload
Product.update(1, payload)          # Update product id 1 with passed payload
Product.delete(1)                   # Delete product id 1

Project details

Download files

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

Files for sugarcoat-sdk, version 1.5.0
Filename, size File type Python version Upload date Hashes
Filename, size sugarcoat_sdk-1.5.0-py3-none-any.whl (4.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size sugarcoat-sdk-1.5.0.tar.gz (3.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page