USGS claims that the past hour geoJson file is updated every minute so I want to only mark the new earthquake every minute. How should I do it? Should I save the ids from the past hour geoJson file in the last minute and find out the new earthquakes by comparing ids from last minute to ids from current minute (earthquake ids are unique)? or should I check the time of the earthquake? which way sounds better or any other simple way?
This is the code to load the past hour earthquake:
This is how I will reload USGS url every 60 seconds:
Then I hesitate whether to query the time of the earthquake or query the ids to find out the new earthquake.