Skip to content

The Earthquake Data Scraper is a Node.js application that scrapes the latest earthquake data from the Turkish Disaster and Emergency Management Authority (AFAD) website. The application provides a simple API endpoint to access the scraped data in JSON format.

License

Notifications You must be signed in to change notification settings

anilyavas/earthquake-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Earthquake Scraper

project-image

The Earthquake Data Scraper is a Node.js application that scrapes the latest earthquake data from the Turkish Disaster and Emergency Management Authority (AFAD) website. The application provides a simple API endpoint to access the scraped data in JSON format.

🧐 Features

Here're some of the project's best features:

  • Date and time of the earthquake
  • Latitude and longitude of the epicenter
  • Depth of the earthquake
  • Magnitude of the earthquake
  • Location of the earthquake
  • Provides a RESTful API endpoint to access the data.

📡 Hosted API

The API is deployed and can be accessed at:

You can use this endpoint to get the latest earthquake data in JSON format.

🛠️ Installation Steps:

1. Clone the repository

git clone https://github.com/yourusername/earthquake-scraper.git

2. Go to folder

cd earthquake-scraper

3. Install dependencies

npm install

4. Start the server

node server.js

🍰 Contribution Guidelines:

This project is maintained by a individual developer. We welcome everyone who wants to help with improvements. Create your own clone and commit your changes in a new branch.

💻 Built with

Technologies used in the project:

  • Node.js: JavaScript runtime for building the server.
  • Express: Web framework for Node.js to create the API.
  • Axios: Promise-based HTTP client for making requests to the AFAD website.
  • Cheerio: jQuery-like library for parsing and manipulating HTML.

🛡️ License:

This project is licensed under the MIT License

About

The Earthquake Data Scraper is a Node.js application that scrapes the latest earthquake data from the Turkish Disaster and Emergency Management Authority (AFAD) website. The application provides a simple API endpoint to access the scraped data in JSON format.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published