CSAPI Class Reference
Inherits from | NSObject |
Declared in | CSAPI.h |
Overview
A convenient blocks-based interface to the Campaign Monitor API. APIs are grouped into categories as follows:
Tasks
-
– initWithClientID:clientSecret:scope:
Creates and returns a CSAPI instance for interacting with the Campaign Monitor API.
-
– initWithAPIKey:
Creates and returns a CSAPI instance for interacting with the Campaign Monitor API.
Instance Methods
initWithAPIKey:
Creates and returns a CSAPI instance for interacting with the Campaign Monitor API.
- (id)initWithAPIKey:(NSString *)APIKey
Parameters
- APIKey
The APIKey used for authentication.
Return Value
A CSAPI
instance.
Declared In
CSAPI.h
initWithClientID:clientSecret:scope:
Creates and returns a CSAPI instance for interacting with the Campaign Monitor API.
- (id)initWithClientID:(NSString *)clientID clientSecret:(NSString *)clientSecret scope:(NSArray *)scope
Parameters
- clientID
The integration client ID provided during registration.
- clientSecret
This must be the integration secret provided during registration.
- scope
The permission level requested by the integration.
Return Value
A CSAPI
instance.
Declared In
CSAPI.h