Possible to get real-time client info via Meridian API?
09-12-2018 06:23 AM - edited 09-12-2018 06:24 AM
For a demo we would like to get real-time info about people in a specific room and trigger an action (for example turn on the light), depending on the number of people in this room. Is it possible to get that info out of Meridian via an API call or other?
Re: Possible to get real-time client info via Meridian API?
09-12-2018 07:04 AM - edited 09-12-2018 08:02 AM
I think this could work:
- setup a campaign in meridian editor: choose action 'notify a custom endpoint'
- the custom endpoint should be an api call which triggers a script, e.g. execute an sql insert statement
- from the database you could get the number of people by your choice of technology I would consider postgREST