update example to use weather api
This commit is contained in:
22
.wundergraph/operations/Weather.graphql
Normal file
22
.wundergraph/operations/Weather.graphql
Normal file
@ -0,0 +1,22 @@
|
||||
query ($city: String!) {
|
||||
weather_getCityByName(name: $city config: {units: metric}) {
|
||||
coordinates: coord {
|
||||
lat
|
||||
lon
|
||||
}
|
||||
country
|
||||
weather {
|
||||
temperature {
|
||||
actual
|
||||
feelsLike
|
||||
min
|
||||
max
|
||||
}
|
||||
summary {
|
||||
title
|
||||
description
|
||||
icon
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user