https://github.com/infinotiver/emergency-number-api
A simple API that scraps wikipedia to get emergency numbers of a country
https://github.com/infinotiver/emergency-number-api
ambulance api country emergency emergency-numbers emergency-services fire police
Last synced: about 1 month ago
JSON representation
A simple API that scraps wikipedia to get emergency numbers of a country
- Host: GitHub
- URL: https://github.com/infinotiver/emergency-number-api
- Owner: infinotiver
- License: mit
- Created: 2025-06-25T10:54:32.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-28T10:34:11.000Z (12 months ago)
- Last Synced: 2025-06-28T11:34:51.501Z (12 months ago)
- Topics: ambulance, api, country, emergency, emergency-numbers, emergency-services, fire, police
- Language: Python
- Homepage: https://emergency-number-api.onrender.com/api/emergency/
- Size: 27.3 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Emergency Number API
## Overview
This API provides emergency contact numbers web-scraped from Wikipedia page for various services across different countries.
## Endpoints
### GET `/api/emergency/`
Returns emergency contact numbers of police, ambulance, fire and notes (additional contacts)
#### Example Response
```json
{
"ambulance": [
"112"
],
"country": "India",
"fire": [
"112"
],
"notes": "Gas leakage – 1906\nTourist Helpline – 1363\nChild Helpline – 1098\nDisaster management – 104\nWomen Helpline – 181\nPolice – 100\nAmbulance – 108\nFire brigade – 101",
"police": [
"112"
]
}
```
## Data Source
[Wikipedia](https://en.wikipedia.org/wiki/List_of_emergency_telephone_numbers)