PHIVOLCS earthquake bulletin
get_earthquake_bulletinFetches and parses the complete PHIVOLCS earthquake bulletin for a specified event URL, returning details like magnitude, location, time, and intensity reports.
Instructions
Get the full bulletin for a PHIVOLCS earthquake event.
Parses the bulletin page PHIVOLCS publishes for one event: magnitude, depth, location, date and time, and per-municipality intensity reports. Give the bulletin_url a prior get_latest_earthquakes call returned. A hand-built or off-host URL is refused before any fetch is attempted. Examples:
get_earthquake_bulletin("https://phivolcs.dost.gov.ph/index.php") # real bulletin URL shape
On failure: an empty, malformed, or non-PHIVOLCS bulletin_url, or a 404 on the page itself, returns a dict with url, source, caveats, and data_retrieved_at only, with no data_status, upstream_error, magnitude, or location fields. A fetch that raises an exception sets data_status "unavailable" and upstream_error true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bulletin_url | Yes | Full URL returned by get_latest_earthquakes.bulletin_url. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||