Earthquakes

The Earthquakes Service provides access to historical earthquake data. For more information, check out https://earthquake.usgs.gov/.

RPCS

Earthquakes.byRegion(minLatitude: Latitude, maxLatitude: Latitude, minLongitude: Longitude, maxLongitude: Longitude, startTime: String?, endTime: String?, minMagnitude: Number?, maxMagnitude: Number?)

Send messages for earthquakes within a given region

Arguments:

  • minLatitude: Latitude info - Minimum latitude of region
  • maxLatitude: Latitude info - Maximum latitude of region
  • minLongitude: Longitude info - Minimum longitude of region
  • maxLongitude: Longitude info - Maximum longitude of region
  • startTime: String? info - Minimum time
  • endTime: String? info - Maximum time
  • minMagnitude: Number? info - Minimum magnitude of earthquakes to report
  • maxMagnitude: Number? info - Maximum magnitude of earthquakes to report
Earthquakes.stop()

Stop sending earthquake messages