Storm List

Platform: API iOS Android

Get a list of tropical cyclones for the last 2 years in major ocean basins around the world.

Only the coastal areas of China are supported now, i.e. basin=NP

Interface code (Enum) Interface Class
INQUIRE_TYPE_STORM_LIST Storm list and IDs StormListBaseClass

Request Parameters

If no optional parameters are set, the default value will be used.

  • basin(required)The basin where the storm needs to be queried. For now, only support NP.
    • AL North Atlantic
    • EP Eastern Pacific
    • NP NorthWest Pacific
    • SP SouthWestern Pacific
    • NI North Indian North Indian Ocean
    • SI South Indian South Indian Ocean
  • year(required)Support to query storm of this year and last year, e.g., year=2020

Sample Code

    QWeatherConfigInstance.publicID = @"publicID";
    QWeatherConfigInstance.appKey = @"key";
    QWeatherConfigInstance.appType = APP_TYPE_BIZ;    
    QWeatherConfigInstance.basin = BASIN_TYPE_NP;
    QWeatherConfigInstance.year = @"2021";
    [QWeatherConfigInstance weatherWithInquireType:INQUIRE_TYPE_STORM_LIST WithSuccess:^(StormListBaseClass  *responseObject) {
        
        NSLog(@"描述->%@",[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
  • storm.stormId Storm ID
  • storm.name Storm name
  • storm.basin The basin of the storm
  • storm.year Year of the storm
  • storm.isActive Whether it is an active storm? 1 = Active and 0 = Stopped
  • refer.sources Data source and other statements, may be null
  • refer.license Data license, may be null