wundergraph.andert.me/.wundergraph/operations/Weather.graphql
2022-11-02 18:50:27 +01:00

24 lines
511 B
GraphQL

query ($city: String!) {
weather_getCityByName(name: $city config: {units: metric}) {
# remove the comments to add the coordinates to the query
# coordinates: coord {
# lat
# lon
# }
country
weather {
temperature {
actual
feelsLike
min
max
}
summary {
title
description
icon
}
}
}
}