https://github.com/pace11/weather-api
Unofficial Weather API Wrapper Easy to use in Graphql. Reference from API BMKG (Badan Meteorologi, Klimatologi, dan Geofisika) https://data.bmkg.go.id
https://github.com/pace11/weather-api
express nodejs swagger
Last synced: 5 months ago
JSON representation
Unofficial Weather API Wrapper Easy to use in Graphql. Reference from API BMKG (Badan Meteorologi, Klimatologi, dan Geofisika) https://data.bmkg.go.id
- Host: GitHub
- URL: https://github.com/pace11/weather-api
- Owner: pace11
- Created: 2023-07-03T14:52:49.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2025-07-20T03:15:22.000Z (11 months ago)
- Last Synced: 2025-07-20T05:42:26.650Z (11 months ago)
- Topics: express, nodejs, swagger
- Language: TypeScript
- Homepage: https://weather-api-tau-six.vercel.app
- Size: 3.27 MB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
WEATHER-API GRAPHQL 🌧️
Unofficial Weather API Wrapper Easy to use in Graphql. Reference from API BMKG (Badan Meteorologi, Klimatologi, dan Geofisika) https://data.bmkg.go.id
## Basic Request
###
```shell
curl --location 'https://weather-api.pace11.my.id/' \
--header 'content-type: application/json' \
--data '{"query":"query WeatherForcest($id: String!) {\n weather(id:$id) {\n sumber\n data {\n cuaca {\n analysis_date\n datetime\n hu\n image\n local_datetime\n t\n tcc\n time_index\n tp\n utc_datetime\n vs\n vs_text\n wd\n wd_deg\n wd_to\n weather\n weather_desc\n weather_desc_en\n ws\n },\n lokasi {\n adm1\n adm2\n adm3\n adm4\n desa\n kecamatan\n kotkab\n lat\n lon\n provinsi\n timezone\n type\n }\n }\n lokasi {\n adm1\n adm2\n adm3\n adm4\n desa\n kecamatan\n kotkab\n lat\n lon\n provinsi\n timezone\n }\n }\n}\n","variables":{"id":"91.71.03.1008"}}'
```
## Link
- available in Graphql ✴️. If you want to try it, please visit [https://studio.apollographql.com/sandbox/explorer](https://studio.apollographql.com/sandbox/explorer) and then enter the url `https://weather-api.pace11.my.id`