Skip to main content

this package will get the latest earthquake from BMKG -Meteorology, Climatology, and Geophysics Agency

Project description

latest-indonesia-earthquake

this package will get the latest earthquake from BMKG -Meteorology, Climatology, and Geophysics Agency

HOW IT WORKS ?

This package uses beautifllsoup4 and a request which will produce a jSON file output that is ready to be used for web or mobile applications

HOW to use?

paste this code to file main.py

import gempaterkini

if name == 'main': result = gempaterkini.exstrasi_data() gempaterkini.tampilkan_data(result)

this code i use oop

from gempaterkini.gempaUPDATE import gempaTerkini

if name == 'main': gempa_indonesia = gempaTerkini("https://bmkg.go.id") print(f'Aplikasi Utama menggunakan package yang memiliki deskripsi {gempa_indonesia.description}') gempa_indonesia.tampilkan_keterangan() gempa_indonesia.run()

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

update_gempa_indonesia-0.0.4.tar.gz (15.8 kB view details)

Uploaded Source

Built Distribution

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

update_gempa_indonesia-0.0.4-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

Details for the file update_gempa_indonesia-0.0.4.tar.gz.

File metadata

  • Download URL: update_gempa_indonesia-0.0.4.tar.gz
  • Upload date:
  • Size: 15.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.0

File hashes

Hashes for update_gempa_indonesia-0.0.4.tar.gz
Algorithm Hash digest
SHA256 6c39ef972114b80d836eca7bce604d96a5016737fb259cf3a264969ff059df8c
MD5 52d3227a19cb273090f0edda96123a08
BLAKE2b-256 1dd42b3c994b87fcfaa2fb5ac92ecbb420a902f47c354de4de51056cc3e14239

See more details on using hashes here.

File details

Details for the file update_gempa_indonesia-0.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for update_gempa_indonesia-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 35f42b6c404bb9b6aeb4c403070f882ab41e18df93b25faeb58199ded0118e06
MD5 99334681e004c11327545f9c0a56da6e
BLAKE2b-256 0d35dbae39f24a646a0ea7466718a0ca47095641dd3927867dac7c53c48fcd5c

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