Skip to content

Commit

Permalink
Document continent handling
Browse files Browse the repository at this point in the history
  • Loading branch information
Sascha Depold committed Jun 6, 2024
1 parent dccd2e6 commit 89a9ef0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,18 @@ API is using https://earthquake.usgs.gov/fdsnws/event/1/ under the hood. All par

## Endpoints

### GET /continents

Returns list of all supported continents and their respective bounding box.

### GET /earthquakes

Returns all earthquakes for the last 24 hours. The timeframe can be adjusted using the `starttime` and `endtime` query params.

### GET /earthquakes?continent=europe

Returns earthquakes in a certain continent's bounding box.

### GET /earthquakes/:id

Returns details of one specific earthquake event. The id refers to the value of `.properties.id`.

0 comments on commit 89a9ef0

Please sign in to comment.