Creates a new instance of the GeoNet client.
Service for intensity data.
Service for strong motion data.
Service for news feed data.
Service for earthquake data.
Service for volcanic activity data.
Service for network sensor data.
Utility for generating quake map URLs and MMI colour codes.
Generates a colour code for a given MMI, which corresponds to the marker colour on GeoNet maps.
The New Zealand Modified Mercalli Intensity of the quake.
Generates a link to the GeoNet quake map URL for a given set of coordinates and MMI.
The coordinates of the quake. Position 0 is the longitude, and position 1 is the latitude.
The New Zealand Modified Mercalli Intensity of the quake.
Fetches shaking intensity information data based on the provided request parameters.
The request parameters for fetching intensity data.
Fetches network data for a specified FDSN station.
The request object containing the station and network codes.
Fetches network data for a specified GNSS mark.
The mark code.
Fetches network data for a given sensor type.
The request object containing the sensor type.
Fetches a simple JSON feed of GeoNet's news.
Optionalpage: number
The page number of the news feed to fetch. If empty, the first page is returned.
Fetches quake data for a given public ID.
The public ID of the earthquake.
Fetches location history data for a given public ID. Not all quakes have a location history.
The public ID for the earthquake.
Fetches all quakes that have occurred over the past 365 days.
The MMI to filter quakes by.
Fetches quake stats for the past 365 days.
Fetches strong intensity data for a given public ID.
The public ID for the earthquake.
Fetches the volcanic alert level data for every volcano.
Fetches quakes in the vicinity of the volcano within a region predefined by GeoNet over the past 60 days.
The ID of the volcano.
Main class for interacting with the GeoNet API and related utilities. Provides access to all GeoNet services through a unified interface.
Remarks
This class acts as a central interface for all GeoNet API services and related utilities, thus providing a simplified way to access earthquake, volcano and network data, among others, from GeoNet.
Example
See
Since
1.0.0