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 (Latitude) - Minimum latitude of region

  • maxLatitude: Latitude (Latitude) - Maximum latitude of region

  • minLongitude: Longitude (Longitude) - Minimum longitude of region

  • maxLongitude: Longitude (Longitude) - Maximum longitude of region

  • startTime: String? (String) - Minimum time

  • endTime: String? (String) - Maximum time

  • minMagnitude: Number? (Number) - Minimum magnitude of earthquakes to report

  • maxMagnitude: Number? (Number) - Maximum magnitude of earthquakes to report

Earthquakes.stop()

Stop sending earthquake messages