diff --git a/README.md b/README.md index cfb0d1b..b3c84a8 100644 --- a/README.md +++ b/README.md @@ -41,9 +41,13 @@ async def main(): async with BMKG() as bmkg: weather_forecast = await bmkg.weather_forecast.get_weather_forecast(Province.ACEH) latest_earthquake = await bmkg.earthquake.get_latest_earthquake() + strong_earthquake = await bmkg.earthquake.get_strong_earthquake() + felt_earthquake = await bmkg.earthquake.get_felt_earthquake() print(f'Weather Forecast: {weather_forecast}') print(f'Latest Earthquakes: {latest_earthquake}') + print(f"Strong Earthquakes: {strong_earthquake}") + print(f"Felt Earthquakes: {felt_earthquake}") asyncio.run(main()) ``` diff --git a/docs/index.md b/docs/index.md index 901f38e..c56efaf 100644 --- a/docs/index.md +++ b/docs/index.md @@ -41,9 +41,13 @@ async def main(): async with BMKG() as bmkg: weather_forecast = await bmkg.weather_forecast.get_weather_forecast(Province.ACEH) latest_earthquake = await bmkg.earthquake.get_latest_earthquake() + strong_earthquake = await bmkg.earthquake.get_strong_earthquake() + felt_earthquake = await bmkg.earthquake.get_felt_earthquake() print(f'Weather Forecast: {weather_forecast}') print(f'Latest Earthquakes: {latest_earthquake}') + print(f"Strong Earthquakes: {strong_earthquake}") + print(f"Felt Earthquakes: {felt_earthquake}") asyncio.run(main()) ```