AWFTropicalCyclonesArchive
Objective-C
@interface AWFTropicalCyclonesArchive : AWFWeatherEndpointSwift
class AWFTropicalCyclonesArchive : AWFWeatherEndpointAWFTropicalCyclonesArchive provides convenience methods for interacting with the
tropicalcyclones/archive endpoint of the Aeris API. All requests will
return instances of AWFTropicalCyclone that will be populated by the data returned by the API unless otherwise indicated.
- 
                  
                  Requests data for the specified tropical season based on a specific search query and request options. This method requires a valid queryvalue on the provided options instance.Note: If no objects were returned from the request, but the request did not contain any errors, then the completionBlockblock will still be executed without errors. Your block handler should verify the total number of objects returned before trying to access them.DeclarationObjective-C - (void)searchUsingYear:(NSUInteger)year options:(nullable AWFWeatherRequestOptions *)options completion: (nonnull AWFWeatherEndpointCompletionBlock)completionBlock;Swift func search(usingYear year: UInt, options: AWFWeatherRequestOptions?) async -> AWFWeatherEndpointResult?ParametersyearThe tropical season to search within optionsAn AWFWeatherRequestOptionsinstance containing additional parameters to be used with the request (optional)completionBlockThe block to be executed on the completion or failure of a request. This block has no return value and takes two arguments: the array of AWFWeatherObjectinstances returned by the request and the error that occurred during the request (if any)
 View on GitHub
View on GitHub AWFTropicalCyclonesArchive Class Reference
        AWFTropicalCyclonesArchive Class Reference