Question

API watch

  • 12 March 2019
  • 2 replies
  • 6 views

Is there a way in FME to watch an API directory?

What i'm trying to do is to get FME to watch http://geoportal.statistics.gov.uk/datasets?q=NSPL

to see if there is a change.


2 replies

Userlevel 6
Badge +32

You could poll every so many minutes. Compare with the last saved result.

Badge

You can access the (undocumented?) API here: https://opendata.arcgis.com/api/v2/

Some Swagger UI examples are provided by Alexander Haggis: https://akharris.github.io/arc-swag/#/

Use HTTPCaller to create the appropriate requests. Poll like @nielsgerrits says.

This is a ZIP file with an example workspace for using HTTPCaller to fetch datasets: https://gist.github.com/FrieseWoudloper/1ca63a104d31eaa4e8075ab260f85267/archive/54b444c179dbcb8441c4af0cdc1a75491db0b804.zip

Reply