ConnectedPlacesCatapult / SharingCitiesDashboard

Personalisable dashboard for Sharing Cities IoT data
Apache License 2.0
6 stars 5 forks source link

How to determine update interval when API returns data 'on demand' #64

Closed thanosbnt closed 5 years ago

thanosbnt commented 6 years ago

Example: http://datos.santander.es/api/rest/datasets/sensores_smart_parking.json

This API returns data whenever you call it. However, the timestamp gets updated only when the status is changed. How do we determine how often to ping it?

thanosbnt commented 5 years ago

Decided to let the user specify this through config.yml REFRESH_TIME