wordpress - Obtain all Woocommerce Orders via Python API -


i'm looking export orders woocommerce api via python script.

i've followed authentication process , have been using method obtain orders described here. code looks following:

wcapi = api(         url = "url",         consumer_key = consumerkey,         consumer_secret = consumersecret ) r = wcapi.get('orders') r = r.json() r = r['orders'] print(len(r))        # output: 8 

this outputs recent 8 orders, access of them. there on 200 orders placed via woocommerce right now. how access of orders?

please tell me there simple missing. ultimate goal pull these orders automatically, transform them, , upload visualization tool. input appreciated.


Comments