update example to use weather api

This commit is contained in:
Jens Neuse
2022-11-02 18:49:31 +01:00
parent b8e8c5e29c
commit 1887dccdf5
5 changed files with 5343 additions and 15 deletions

View 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
}
}
}
}