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 regionmaxLatitude: Latitude
(Latitude) - Maximum latitude of regionminLongitude: Longitude
(Longitude) - Minimum longitude of regionmaxLongitude: Longitude
(Longitude) - Maximum longitude of regionstartTime: String?
(String) - Minimum timeendTime: String?
(String) - Maximum timeminMagnitude: Number?
(Number) - Minimum magnitude of earthquakes to reportmaxMagnitude: Number?
(Number) - Maximum magnitude of earthquakes to report
- Earthquakes.stop()
Stop sending earthquake messages