Skip to main content

This package provides a simple way to retrieve latest earthquake data in Indonesia from the official website of the Indonesian Meteorology, Climatology, and Geophysics Agency (BMKG)

Project description

BMKG Quake Package

License Python Beautiful Soup Requests

This package provides a simple way to retrieve real-time earthquake data in Indonesia from the official website of the Indonesian Meteorology, Climatology, and Geophysics Agency (BMKG). It utilizes web scraping techniques using the beautifulsoup4 and requests packages to fetch earthquake data from the BMKG website. The retrieved data is then returned as a Python dictionary or JSON format, which can be used in web or mobile applications.

Key Features

  • Real-time Data Retrieval: Fetches the latest earthquake data from the BMKG website in real-time.
  • Simple Web Scraping: Utilizes beautifulsoup4 and requests packages for efficient web scraping of earthquake data.
  • Data Format: Returns earthquake data as a Python dictionary or JSON for easy integration into applications.
  • Wide Python Version Support: Compatible with Python 3.6 or later.

Installation

Install the package using pip:

pip install bmkgquake

## Usage

```bash
import bmkgquake 

result = bmkgquake.extract_data()
bmkgquake.display_data(result)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bmkgquake-0.1.tar.gz (15.4 kB view hashes)

Uploaded Source

Built Distribution

bmkgquake-0.1-py3-none-any.whl (15.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page