Skip to main content

This package will get the latest earthquake from Indonesia Meteorological, Climatological, and Geophysical Agency (BMKG).

Project description

Latest Indonesia Earthquake

This package will get the latest earthquake from Indonesia Meteorological, Climatological, and Geophysical Agency (BMKG).

HOW IT WORK

This package will scrape from BMKG to get latest earthquake happened in Indonesia

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

HOW TO USE

import latestearthquake

if __name__ == '__main__':
    gempa_di_indonesia = latestearthquake.GempaTerkini('https://bmkg.go.id')
    print(f'Aplikasi utama menggunakan package yang memiliki deskripsi {gempa_di_indonesia.description}')
    gempa_di_indonesia.tampilkan_keterangan()
    gempa_di_indonesia.run()

Author

Christian Yurianja

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

latestearthquake-Indonesia-BMKG-1.0.2.tar.gz (15.5 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file latestearthquake-Indonesia-BMKG-1.0.2.tar.gz.

File metadata

  • Download URL: latestearthquake-Indonesia-BMKG-1.0.2.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.9

File hashes

Hashes for latestearthquake-Indonesia-BMKG-1.0.2.tar.gz
Algorithm Hash digest
SHA256 22c542092b09a6010e3976b67083f58d3c43521806b5f1c9ac427df856ea142f
MD5 3d50ee16bccb04d60dc22ded9362e1c3
BLAKE2b-256 ce9dae7de5f19666a6f5aab06357549593daf375081e6b5091104c3d8d3efc57

See more details on using hashes here.

File details

Details for the file latestearthquake_Indonesia_BMKG-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: latestearthquake_Indonesia_BMKG-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 15.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.9

File hashes

Hashes for latestearthquake_Indonesia_BMKG-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 08e0f1e7a5e845823b9becb0d908194240049c5aee5cfdc54e8c2ca95215638e
MD5 52ec4f5d6eca7f44dbd45fd43f2b0891
BLAKE2b-256 f38a41eb77e7aa50afe1c96092845ef8699953af0e1b719f2b7969edb3238f7d

See more details on using hashes here.

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