Skip to main content

I am trying to connect to Woocommerce's API and extract some information and then tie orders to a map service and update a field. I am really new to working with API's and need some basic info on what I need to start. I would like to make a call to the API statement below and return a table, this is similar to the Workbench I have attached. Any help from existing documentation or a start on a work bench would be great. Thanks

 

API Call Doc: http://woocommerce.github.io/woocommerce-rest-api-docs/#list-all-orders

I think HTTPCaller should do it for you. The URL will be similar to the WooCommerce API documentation example you reference:

https://example.com/wp-json/wc/v1/orders using a GET and where example.com is your website.

The header name in the HTTPCaller will be consumer_key and the value of will be your API key. Don't include the colon (:) in the header name. FME will do that for you. Something like:


I think HTTPCaller should do it for you. The URL will be similar to the WooCommerce API documentation example you reference:

https://example.com/wp-json/wc/v1/orders using a GET and where example.com is your website.

The header name in the HTTPCaller will be consumer_key and the value of will be your API key. Don't include the colon (:) in the header name. FME will do that for you. Something like:

Tip: for readability I usually set the Response Body Encoding to system default (fme-system)

 

 


How would the workpace look like, if you want to get all the geometries of all the Strava activities?


How would the workpace look like, if you want to get all the geometries of all the Strava activities?

Hi @erik

Please,check the Workspace uploaded by @piercexc. There is a Bookmark called Create GeoJSON geometry.

 

Thanks,

Danilo


Reply