Skip to main content
Question

API watch

  • March 12, 2019
  • 2 replies
  • 24 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.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

nielsgerrits
VIP
Forum|alt.badge.img+61

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


friesewoudloper
Participant
Forum|alt.badge.img+1

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