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

Uploaded Source

Built Distribution

pywoo-1.0.3-py2.py3-none-any.whl (19.0 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: pywoo-1.0.3.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.4

File hashes

Hashes for pywoo-1.0.3.tar.gz
Algorithm Hash digest
SHA256 5596744dc2ecb3594ed495040abe6cc3be09bf24830aade7ad3b522bd5b34cac
MD5 cea669dd6ce13cb808954cb1d13fa36b
BLAKE2b-256 a0a07dc1ba86a720c66c3492df61934599721b999eef99f6ce7de4bbc829bbcf

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pywoo-1.0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d3f17870435e19fa14fa842b0d1113421f51bdb4e1a0e66b58664df910f15d8d
MD5 ece06370dafe3c2af4bf5b072be57d58
BLAKE2b-256 a01afda874d7b9baec6fc49607b6e4bb154186b19380c012f10581be23b6ca7d

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