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.4.tar.gz (9.4 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: pywoo-1.0.4.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for pywoo-1.0.4.tar.gz
Algorithm Hash digest
SHA256 bd4d2eb9ed5427c6e336489f22bc07a499a595fd415a62ee3fba6ba8d9dd91a6
MD5 a894cac76e89c3234c00753ff3713925
BLAKE2b-256 374d6d49d6517d71fbd55df6761b2218bc5242ad2a150d99cc872a0f6095150d

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