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 hashes)

Uploaded Source

Built Distribution

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