Minutely Precipitation

Platform: API iOS Android

Get minute-level precipitation forecast data every 5 minutes for the next 2 hours in China.

This data is only supported for Chinese cities.

Interface code (Enum) Interface Class
INQUIRE_TYPE_WEATHER_MINUTELY Minute precipitation WeatherMinutelyBaseClass

Request Parameters

  • location(required)The comma-separated longitude and latitude (decimal, up to 2 decimal places) of the location to be queried. For example: location=116.41,39.92
  • langMulti-language setting, please see Language to find out how our multi-language works and how to set up.

Sample Code

 
    QWeatherConfigInstance.publicID = @"publicID";
    QWeatherConfigInstance.appKey = @"key";
    QWeatherConfigInstance.appType = APP_TYPE_BIZ;
    QWeatherConfigInstance.location = @"116.41,39.92";
    QWeatherConfigInstance.lang = @"";
    [QWeatherConfigInstance weatherWithInquireType: INQUIRE_TYPE_WEATHER_MINUTELY WithSuccess:^(WeatherMinutelyBaseClass *responseObject) {
        
        NSLog(@"Description->%@",[responseObject description]);
        
    } faileureForError:^(NSError *error) {
        NSLog(@"error->%@",error);
        
    }];
 

Response

  • code See Status Code
  • updateTime API last update time
  • fxLink Responsive web page of this data, for embedded in website or APP
  • summary Precipitation description
  • minutely.fxTime Forecast time
  • minutely.precip Accumulated precipitation in 5 minutes, unit is millimeter.
  • minutely.type Type of precipitation, rain and snow
  • refer.sources Data source and other statements, may be null
  • refer.license Data license, may be null