API Service
-
AWFWeatherApiClientis a subclass ofAWFApiClientthat interacts with the Aeris Weather API.This class is not intended to be used directly but instead used by subclasses of
AWFWeatherEndpointto perform requests for data on specific endpoints of the API and transform them into the appropriateAWFWeatherObjectmodel instances.See moreSee
AWFWeatherEndpointDeclaration
Objective-C
@interface AWFWeatherApiClientSwift
class AWFWeatherApiClient -
AWFWeatherApiResponseis a subclass ofAWFApiResponsethat is responsible for receiving a response from an Aeris Weather API request and determining whether or not the request was successful along with any warnings or errors that occurred.Declaration
Objective-C
@interface AWFWeatherApiResponseSwift
class AWFWeatherApiResponse -
See moreAWFBatchLoaderprovides convenience methods for combining multiple endpoint requests into a single HTTP request using Aeris API’sbatchendpoint. This request allows you to easily add and remove existing specific endpoints before performing a request.Declaration
Objective-C
@interface AWFBatchRequest : NSObjectSwift
class AWFBatchRequest : NSObject -
An
See moreAWFBatchRequestOptionsobject is a subclass ofAWFWeatherRequestOptionsthat includes additional parameters necessary when performing batch requests to the API.Declaration
Objective-C
@interface AWFBatchRequestOptions : AWFWeatherRequestOptionsSwift
class AWFBatchRequestOptions : AWFWeatherRequestOptions -
See moreAWFWeatherEndpointis a concrete class that is responsible for handling all requests for a specific API endpoint. This class should not be used as is, but rather should be subclassed to provided the required configuration for interacting with the Aeris Weather API.Declaration
Objective-C
@interface AWFWeatherEndpointSwift
class AWFWeatherEndpoint -
An
See moreAWFWeatherEndpointResultinstance is returned by anAWFWeatherEndpointobject upon completion of an API request. The returned instance will contain an array of results returned by the API for the request, if any, as the respectiveAWFWeatherObjectsubclass for that endpoint. Any error that occurred during the request will also be included with theAWFWeatherEndpointResultinstance.Declaration
Objective-C
@interface AWFWeatherEndpointResult : NSObjectSwift
class AWFWeatherEndpointResult : NSObject -
An
See moreAWFRequesetOptionsobject represents all of the supported options that can be passed to an API request throughAWFWeatherEndpointinstances. This is a convenience class that will properly format parameters as required by the API before the request is actually initiated.Declaration
Objective-C
@interface AWFWeatherRequestOptionsSwift
class AWFWeatherRequestOptions
View on GitHub
API Service Reference