geonet
Version:
A Node.js API wrapper for GeoNet — Aotearoa's geological hazard monitoring system.
19 lines (18 loc) • 713 B
TypeScript
import { StrongResponse } from "../../@types/strong";
import { BaseService } from "./BaseService";
/**
* StrongService class for fetching strong motion information for a specified quake from the GeoNet API.
* @extends BaseService
* @since 1.0.0
*/
export declare class StrongService extends BaseService {
/**
* Fetches strong intensity data for a given public ID.
*
* @param {string} publicID - The public ID for the earthquake.
* @returns {Promise<StrongResponse>} - A promise that resolves to the strong intensity data.
* @throws {Error} - Throws an error if the public ID is not provided.
* @since 1.0.0
*/
getStrong(publicID: string): Promise<StrongResponse>;
}