(Translated by https://www.hiragana.jp/)
GitHub - drizki/bmkg: [UNOFFICIAL] Get realtime weather forecast and recent earthquake data from BMKG (Badan Meteorologi, Klimatologi, dan Geofisika)
Skip to content
/ bmkg Public

[UNOFFICIAL] Get realtime weather forecast and recent earthquake data from BMKG (Badan Meteorologi, Klimatologi, dan Geofisika)

License

Notifications You must be signed in to change notification settings

drizki/bmkg

Repository files navigation

bmkg.js

Build Status codecov Latest Stable Version License NPM Downloads NPM Downloads

This module is a wrapper around BMKG (Badan Meteorologi, Klimatologi, dan Geofisika) open data XML API. Please refer to this link to learn more about the official API.

Why this package exists

BMKG offers data to the public using their open data initiative. Problem is, it only serves XML as the data output, no support for JSON or any other types.

Usage

Check out examples folder on how to use (it's super simple)

Installation

The package is available at NPM repository.

npm install bmkg
# or
yarn add bmkg

Test

Clone the repository and run the following command:

npm test

Roadmap

  • Browser version

Limitations

Currently, this package only runs in node.js environment as it depends on node-fetch. I'll refactor the code and test it on different environments later.

License

The source code is licensed under MIT.

All weather and earthquake data are sourced directly from BMKG.

© 2019 Dwi Rizki Irawan

About

[UNOFFICIAL] Get realtime weather forecast and recent earthquake data from BMKG (Badan Meteorologi, Klimatologi, dan Geofisika)

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published