Pywoo is a Python 3 wrapper for WooCommerce API.
Installation
pip3 install pywoo
How to use it
from pywoo import Api
api = Api('http://your_path_to_woocommerce_api', 'your_consumer_key', 'your_consumer_secret')
my_product = api.create_product(name="Pizza")
my_product.description = "A delicious margherita"
my_product.update()
The Api object will help you in creating, retrieving, editing and deleting any class exposed by the WooCommerce API.
Also, all classes have instance methods for modifing the objects on the go and static methods for doing the same stuff the Api object does.
Metadata
Release files for pywoo 1.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pywoo-1.0.5.tar.gz | 9.4 kB | Details |
Release files / pywoo-1.0.5.tar.gz
| Download URL | pywoo-1.0.5.tar.gz |
|---|---|
| Size | 9.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
15feb460bae56969b744287d91a6cd80d0f27b9e17d08d96fd60b806d06ab39b
|
|
BLAKE2b-256 checksum How to use checksums |
a8454cdb3e719607bd254d15ba46d84f6bff07bf7b50221799ac5bce051e1f43
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.6.9
|