Skip to main content
Question

Getting Started with APIs


Forum|alt.badge.img

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

4 replies

Forum|alt.badge.img+2
  • November 4, 2016

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:


itay
Supporter
Forum|alt.badge.img+17
  • Supporter
  • November 5, 2016
markatsafe wrote:

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)

 

 


Forum|alt.badge.img
  • December 26, 2018

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


danilo_fme
Evangelist
Forum|alt.badge.img+45
  • Evangelist
  • December 26, 2018
erik wrote:

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings