This package will get recent earthquake detected from Meteorological, Climatology and Geophysics Agency of Indonesia's website
This package will scrape from BMKG Indonesia to get most recent earthquake happening in Indonesia.
This package uses BeautifulSoup4 and Request to produce output in JSON form and ready to be used in web application services.
import recent_earthquake2
if __name__ == '__main__':
indonesia_earthquake = recent_earthquake2.LatestEarthquake('https://bmkg.go.id/')
indonesia_earthquake.show_description()
indonesia_earthquake.run()
Ryandri