API Service
-
AWFWeatherApiClient
is a subclass ofAWFApiClient
that interacts with the Aeris Weather API.This class is not intended to be used directly but instead used by subclasses of
AWFWeatherEndpoint
to perform requests for data on specific endpoints of the API and transform them into the appropriateAWFWeatherObject
model instances.See
AWFWeatherEndpointDeclaration
Objective-C
@interface AWFWeatherApiClient
Swift
class AWFWeatherApiClient
-
AWFWeatherApiResponse
is a subclass ofAWFApiResponse
that 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 AWFWeatherApiResponse
Swift
class AWFWeatherApiResponse
-
See moreAWFBatchLoader
provides convenience methods for combining multiple endpoint requests into a single HTTP request using Aeris API’sbatch
endpoint. This request allows you to easily add and remove existing specific endpoints before performing a request.Declaration
Objective-C
@interface AWFBatchRequest : NSObject
Swift
class AWFBatchRequest : NSObject
-
An
See moreAWFBatchRequestOptions
object is a subclass ofAWFWeatherRequestOptions
that includes additional parameters necessary when performing batch requests to the API.Declaration
Objective-C
@interface AWFBatchRequestOptions : AWFWeatherRequestOptions
Swift
class AWFBatchRequestOptions : AWFWeatherRequestOptions
-
See moreAWFWeatherEndpoint
is 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 AWFWeatherEndpoint
Swift
class AWFWeatherEndpoint
-
An
See moreAWFWeatherEndpointResult
instance is returned by anAWFWeatherEndpoint
object 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 respectiveAWFWeatherObject
subclass for that endpoint. Any error that occurred during the request will also be included with theAWFWeatherEndpointResult
instance.Declaration
Objective-C
@interface AWFWeatherEndpointResult : NSObject
Swift
class AWFWeatherEndpointResult : NSObject
-
An
See moreAWFRequesetOptions
object represents all of the supported options that can be passed to an API request throughAWFWeatherEndpoint
instances. 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 AWFWeatherRequestOptions
Swift
class AWFWeatherRequestOptions