An open API service indexing awesome lists of open source software.

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

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



graphql-schema

## 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`