Skip to main content

Python wrapper for querying WooCommerce API

Project description

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.

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

pywoo-1.0.1.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

pywoo-1.0.1-py2.py3-none-any.whl (18.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pywoo-1.0.1.tar.gz.

File metadata

  • Download URL: pywoo-1.0.1.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for pywoo-1.0.1.tar.gz
Algorithm Hash digest
SHA256 5db8da366a6245c0357b907c2df59d0b028447bc1c902f3ef583bb5b0f8c10da
MD5 e3a566c5587b18922d983310098bdc55
BLAKE2b-256 7cc9da0363c86968cba2547f1e8c916d92f33d49cb19138e4d83cf2a7a76e904

See more details on using hashes here.

File details

Details for the file pywoo-1.0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: pywoo-1.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 18.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for pywoo-1.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0aadcbc7e5648ded3bd723351994dac0c38be9de9a4b72e9bfaf6e55e2288b42
MD5 e5c357829a6a778e8efd1f1cc5fc2814
BLAKE2b-256 31f6feb782d8d745c2cf99e94f0830ed0ef7c7426e3672828809c6970e53ee2a

See more details on using hashes here.

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