Cuzy-iOS-demo:https://github.com/TheIndex/Cuzy-iOS-demo
cuzysdk(www.cuzy.com) 是一个手机淘宝客sdk,通过使用cuzy,可以获取taobao平台的推广商品数据,移动开发者把推广的商品数据呈现给用户,用户完成商品的购买,开发者从中获取推广费用,从而达到将流量变现的目的。
cuzySDK是一个移动开发者提供淘宝客模块的平台。开发者通过使用cuzy,可以便捷的集成到各移动平台,方便的删选推荐物品,高效的转换流量。
iOS demo, that shows the capabilities of Cuzy SDK (淘宝客), that can be found on http://www.cuzy.com
last update: 2013.6.5
===============version 1.0===============
-
this is a IOS APP SDK for taobaoke (Also has a sdk for android)
-
you can download the sdk at : http://cuzy.com/index/download_sdk
-
Something Notable:
1).Copy the apropriate architecture's .a library and the apropriate resource bundle when you test.
2).You app's mainWindow's rootViewController should not be nil.
3).Add -ObjC linker flag to your other link flag.
4.HOW TO USE:
import "CuzyAdSDK.h"
@interface FrontViewController : UIViewController
{
}
-
(void)viewDidLoad { [super viewDidLoad]; [[CuzyAdSDK sharedAdSDK] setDelegate:self]; [[CuzyAdSDK sharedAdSDK] registerAppWithAppKey:@"cuzy key" andAppSecret:@"cuzy secret"]; }
-
(IBAction)showLayout1:(id)sender { [[CuzyAdSDK sharedAdSDK] fetchAppItemWithThemeID:nil orSearchKeywords:@"abcd"]; }
-
(IBAction)showLayout2:(id)sender { [[CuzyAdSDK sharedAdSDK] fetchAppItemWithThemeID:@"8" orSearchKeywords:@"abcde"]; }
-
(IBAction)getRawDataArray:(id)sender { NSArray* rawArray = [[CuzyAdSDK sharedAdSDK] fetchRawItemArraysWithThemeID:@"8" orSearchKeywords:@"adbc" withPageIndex:0];
NSLog(@"the rawArray size is %d", rawArray.count); for (int i =0;i<[rawArray count]; i++) { CuzyTBKItem* tempItem = [rawArray objectAtIndex:i];
}
}
QQ:1263572458 QQ群:322622433
意见反馈及技术支持:Email:support@theindex.com,aa@theindex.com
地址:朝阳区西大望路甲3号 蓝堡国际中心1座2303