update example to use weather api
This commit is contained in:
parent
1887dccdf5
commit
f5efd3e7f7
@ -1,9 +1,10 @@
|
|||||||
query ($city: String!) {
|
query ($city: String!) {
|
||||||
weather_getCityByName(name: $city config: {units: metric}) {
|
weather_getCityByName(name: $city config: {units: metric}) {
|
||||||
coordinates: coord {
|
# remove the comments to add the coordinates to the query
|
||||||
lat
|
# coordinates: coord {
|
||||||
lon
|
# lat
|
||||||
}
|
# lon
|
||||||
|
# }
|
||||||
country
|
country
|
||||||
weather {
|
weather {
|
||||||
temperature {
|
temperature {
|
||||||
|
Loading…
Reference in New Issue
Block a user