wundergraph.andert.me/.wundergraph/operations/Weather.graphql
2022-11-03 14:24:01 +05:30

24 lines
438 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
}
}
}
}