update example to use weather api
This commit is contained in:
		@@ -1,8 +0,0 @@
 | 
			
		||||
query Starters {
 | 
			
		||||
    pokemon_pokemons(limit: 12) {
 | 
			
		||||
        results {
 | 
			
		||||
            id
 | 
			
		||||
            name
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										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