VolcanoService class for volcanic alert level information and volcano earthquakes from the GeoNet API.

1.0.0

Hierarchy (View Summary)

Constructors

Methods

  • Fetches quakes in the vicinity of the volcano within a pre-defined region by GeoNet over the past 60 days.

    Parameters

    • volcanoID: VolcanoID

      The request object containing the volcano ID.

    Returns Promise<VolcanoQuakeResponse>

    • A promise that resolves to the volcano quake data.
    • Throws an error if the volcano ID is not provided or is not a valid volcano ID.

    1.0.0