GeoNet / help

An issues repo for technical help questions.
6 stars 3 forks source link

Is there any streaming API service? #54

Closed penguinpowernz closed 5 years ago

penguinpowernz commented 5 years ago

Hi Geonet,

I was wondering if there was any kind of streaming API services available for quake events, perhaps via websockets or NATS or even MQTT? I wish to get real time earthquakes events and I doubt you would like me hitting the current quakes endpoints every second. I was hoping you would make the service that backs your push notifications public facing but I have yet to find any information relating to this.

Alternatively I could make a service that hits your quake endpoint every second and make it available to the public so anyone else looking for this type of service won't need to spam your API as well.

Cheers, Robert

calum-chamberlain commented 5 years ago

I'm keen to know more about this as well.

danieldooley commented 5 years ago

Hi there @penguinpowernz and @calum-chamberlain.

Our recommendation to get the earthquake event data is to query our api (documented here). The rate at which you poll the service should not matter, within reason; a handful of users polling regularly is of no concern.

Cheers

penguinpowernz commented 5 years ago

Thanks for the reply