wundergraph.andert.me/.wundergraph/operations/Weather.graphql

24 lines
511 B
GraphQL
Raw Normal View History

2022-11-02 17:49:31 +00:00
query ($city: String!) {
weather_getCityByName(name: $city config: {units: metric}) {
2022-11-02 17:50:27 +00:00
# remove the comments to add the coordinates to the query
# coordinates: coord {
# lat
# lon
# }
2022-11-02 17:49:31 +00:00
country
weather {
temperature {
actual
feelsLike
min
max
}
summary {
title
description
icon
}
}
}
}