8000 GitHub - CTAPIs/CTAPI_Marvel: Marvel API for iOS Client
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

CTAPIs/CTAPI_Marvel

Repository files navigation

MARVEL

MARVEL API Document

pod "CTAPI_Marvel"

How To Use It

  • apply private key and public key from Marvel:https://developer.marvel.com
  • add pod "CTAPI_Marvel" in your Podfile
  • create an Object named Target_CTMarvelKey in your own project
@implementation Target_CTMarvelKey

- (NSString *)Action_MarvelPublicKey:(NSDictionary *)params
{
    return @"your public key";
}

- (NSString *)Action_MarvelPrivateKey:(NSDictionary *)params
{
    return @"your private key";
}

@end
  • create an Object named Target_CTAppContext in your own project (for CTNetworking)
@implementation Target_CTAppContext

- (BOOL)Action_isReachable:(NSDictionary *)params
{
    return YES;
}

- (NSInteger)Action_cacheResponseCountLimit:(NSDictionary *)params
{
    return 2;
}

- (BOOL)Action_shouldPrintNetworkingLog:(NSDictionary *)params
{
    return YES;
}

@end
  • haa! you can use MARVEL API now! read demos for how to use the APIManagers

SceenShot

screen shot

About

Marvel API for iOS Client

Resources

Stars

Watchers

Forks

Packages

No packages published
0