migrate to spacex api

This commit is contained in:
Nithin Kumar B
2022-12-02 16:54:48 +05:30
parent 95847137db
commit bf1e8afccd
5 changed files with 25 additions and 37 deletions

View File

@ -0,0 +1,11 @@
query Dragons {
spacex_dragons {
name
active
# remove the comments to add thrusters to the query
# thrusters {
# amount
# pods
# }
}
}

View File

@ -1,23 +0,0 @@
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
}
}
}
}