Metadata-Version: 2.1
Name: pywoo
Version: 1.0.2
Summary: Python wrapper for querying WooCommerce API
Home-page: https://github.com/lotrekagency/pywoo
Author: Lotrèk
Author-email: dimmitutto@lotrek.it
License: MIT
Keywords: woocommerce,wordpress,api
Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.0.*
Requires-Dist: requests (==2.22.0)
Requires-Dist: requests-oauthlib (==1.2.0)

Pywoo
=======

Pywoo is a Python 3 wrapper for WooCommerce API.

Installation
^^^^^^^^^^^^

::

   pip3 install pywoo

How to use it
^^^^^^^^^^^^^

.. code:: python

   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.

