Skip to main content
Question

API Watcher in real time


philippeb
Enthusiast
Forum|alt.badge.img+18

Hello World,

 

I have access to an API where I can download features from a database.

We want to be warned each time there is a new feature in it. In live.

Is there some kind of API Watcher in FME Server I could do that?

Running a workbench each minute isn't the best option for us though.

 

Thanks!

Forum|alt.badge.img+2

Hi @philippeb

 

 

I think this is something that you'd have to set up on the database and use triggers to get the database to notify FME Server every time there is a new feature. You can check how to do it by searching online for your '<databaseType> triggers to webhook'. You might need to use another tool to allow the database to send data to a webhook.

 

 

We have a few articles on database triggers but I don't think they have been updated in a while.

 

 

If you don't have access to the database like that, unfortunately a regular scheduled job may be your best approach.

virtualcitymatt
Celebrity
Forum|alt.badge.img+35

Automatons has an HTTP call option - not sure if this can be of uses on a 1 min schedule.

 

 

otherwise you should check out node red: https://nodered.org/

 

 

You can probably use this to process the response and send a request to FME Server. Only problem is you need to install node. But it's free...

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