8000 Updated README · woocommerce/wc-api-python@bea5c02 · GitHub
[go: up one dir, main page]

Skip to content

Commit bea5c02

Browse files
committed
Updated README
1 parent e189af6 commit bea5c02

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

README.rst

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
WooCommerce API - Python Client
1+
WooCommerce API Unoficial - Python Client
22
===============================
33

4+
**Having no feedback from the creator of wc-api-python, I have forked the project to add the session functionality of requests and the Retry functionality**
5+
46
A Python wrapper for the WooCommerce REST API. Easily interact with the WooCommerce REST API using this library.
57

68
.. image:: https://github.com/woocommerce/wc-api-python/actions/workflows/ci.yml/badge.svg?branch=trunk
@@ -62,7 +64,11 @@ Options
6264
+-----------------------+-------------+----------+-------------------------------------------------------------------------------------------------------+
6365
| ``oauth_timestamp`` | ``integer`` | no | Custom timestamp for requests made with oAuth1.0a |
6466
+-----------------------+-------------+----------+-------------------------------------------------------------------------------------------------------+
65-
| ``wp_api`` | ``bool`` | no | Set to ``False`` in order to use the legacy WooCommerce API (deprecated) |
67+
| ``retries`` | ``int`` | no | Set to ``3`` in order to retry 3 times before exiting. |
68+
+-----------------------+-------------+----------+-------------------------------------------------------------------------------------------------------+
69+
| ``backoff_factor`` | ``float`` | no | Set to ``0.3``. Change how long the processes will sleep between failed requests (exponential). |
70+
+-----------------------+-------------+----------+-------------------------------------------------------------------------------------------------------+
71+
| ``status_forcelist`` | ``list`` | no | Set to ``[500, 502, 503, 504, 429]`` List of status on which we have to try again |
6672
+-----------------------+-------------+----------+-------------------------------------------------------------------------------------------------------+
6773

6874
Methods

0 commit comments

Comments
 (0)
0