FactualAPIRequest


Request tracking object returned as a result of a call to the Factual API

Superclass: NSObject
Declared In: FactualAPIRequest.h

Discussion

The Factual API is asynchronous in nature, so every request made via the API returns a FactualAPIRequest object immediately and then notifies the user of completion (or error) via the associated delegate object.

The FactualAPIRequest object can be retained by the user and subsequently used by the user to identify the request context within a request completion callback, but it is also possible to store the request id separately and use this to identify requests.



Properties

requestId
delegate
requestType
tableId

requestId


@property(
    nonatomic,
    readonly) NSString* requestId; 
Discussion

get unique request id associated with this object


delegate


@property(
    nonatomic,
    readonly) id<FactualAPIDelegate> delegate; 
Discussion

get the delegate to fire events to


requestType


@property(
    nonatomic,
    readonly) FactualRequestType requestType; 
Discussion

get the request type ...


tableId


@property (
    nonatomic,
    readonly) NSString* tableId; 
Discussion

the table id (optional) associated with this request

Last Updated: Friday, January 28, 2011