24 lines
		
	
	
		
			438 B
		
	
	
	
		
			GraphQL
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			438 B
		
	
	
	
		
			GraphQL
		
	
	
	
	
	
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
 | 
						|
      }
 | 
						|
    }
 | 
						|
  }
 | 
						|
}
 |