Skip to main content

This package will scrape data from [BMKG](https://www.bmkg.go.id) to get the latest quake happened in Indonesia

Project description

Latest Indonesia EarthQuake

This project will get the latest earthquake from BMKG | Indonesian Agency for Meteorology, Climatology, and Geophysics

HOW IT WORK?

This package will scrape data from BMKG to get the latest quake happened in Indonesia.

This package will use module BeautifulSoup4 and Requests, to produce output in the form of JSON that is ready to be used in web or mobile applications

HOW TO USE

import earthquakelatest

if __name__ == '__main__':
    earthquake_in_indonesian = earthquakelatest.LatestEarthquake('https://bmkg.go.id')
    print(f'My application using package have description {earthquake_in_indonesian.description}')
    earthquake_in_indonesian.display_description()
    earthquake_in_indonesian.run()

Author

Muhammad Shaufi Imanulhaq

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

earthquake-IDN-0.6.tar.gz (15.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

earthquake_IDN-0.6-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

File details

Details for the file earthquake-IDN-0.6.tar.gz.

File metadata

  • Download URL: earthquake-IDN-0.6.tar.gz
  • Upload date:
  • Size: 15.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.6

File hashes

Hashes for earthquake-IDN-0.6.tar.gz
Algorithm Hash digest
SHA256 98a01a98a9d6c13d6010b5150e3098bb3689a533c94d3213786383d79dee7948
MD5 a28c00fb41e96d0cf2c89d53501f1d0d
BLAKE2b-256 f55243abe33d55a9cdd7e14d4f487985c773da82da5cf48f6c5d2757bbf07cdf

See more details on using hashes here.

File details

Details for the file earthquake_IDN-0.6-py3-none-any.whl.

File metadata

  • Download URL: earthquake_IDN-0.6-py3-none-any.whl
  • Upload date:
  • Size: 15.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.6

File hashes

Hashes for earthquake_IDN-0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 dcaeb93891fa60f1bc85d486a1508da54e8bcd2fe47ae22885c0d7e5f01cb262
MD5 6a567aed8bcb94ef5e4c50deb9c7f3d8
BLAKE2b-256 9e0f99b8869b0b342b0103ccb8a1e376c5d4399eff66cba2c2bf0e00a6591139

See more details on using hashes here.

Supported by

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