Latest 1.1.1
Homepage https://github.com/adtrade/adtrade-ios-api
License MIT
Platforms ios 6.0, requires ARC
Dependencies ATNetworking
Frameworks AdSupport
Authors

Wrapper for Adtrade API.

Usage

Sign up to Adtrade (adtrade.com) to get app key.

#import "AdtradeAPI.h"

[[AdtradeAPI sharedInstance] setAppKey:@"FC32F3BB88B7091F4F3AD8B22B105728"];

Get app

[[AdtradeAPI sharedInstance] getAppWithSucess:^(NSDictionary *item) {
  // Handle successful response
} failure:^(NSError *error) {

}];

Create session

[[AdtradeAPI sharedInstance] createSessionWithSucess:^(NSDictionary *item) {
  // Handle successful response

} failure:^(NSError *error) {

}];

Create install

[[AdtradeAPI sharedInstance] createInstallWithSucess:^(NSDictionary *item) {
  // Handle successful response

} failure:^(NSError *error) {

}];

Create interstitial

[[AdtradeAPI sharedInstance] createImpressionWithSucess:^(NSDictionary *item) {
  // Handle successful response

} failure:^(NSError *error) {

}];

Documentation

Apple Docs

API Documentation

API Documentation

Latest podspec

{
    "name": "AdtradeAPI",
    "version": "1.1.1",
    "summary": "Wrapper for Adtrade API.",
    "homepage": "https://github.com/adtrade/adtrade-ios-api",
    "license": {
        "type": "MIT",
        "file": "LICENSE.txt"
    },
    "authors": {
        "williamlocke": "[email protected]"
    },
    "source": {
        "git": "https://github.com/adtrade/adtrade-ios-api.git",
        "tag": "1.1.1"
    },
    "dependencies": {
        "ATNetworking": []
    },
    "platforms": {
        "ios": "6.0"
    },
    "source_files": "Classes/**/*.[h,m]",
    "frameworks": "AdSupport",
    "requires_arc": true
}

Pin It on Pinterest

Share This