Small wrapper class for the ZooTool API
Switch branches/tags
Nothing to show
Pull request Compare This branch is even with nicolascormier:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
APReachability.h
APReachability.m
NSString+SHA1.h
NSString+SHA1.m
README.markdown
ZTComment.h
ZTComment.m
ZTDataObject.h
ZTDataObject.m
ZTItem.h
ZTItem.m
ZTPack.h
ZTPack.m
ZTProxy.h
ZTProxy.m
ZTTag.h
ZTTag.m
ZTUser.h
ZTUser.m

README.markdown

ZTProxy

ZTProxy is a small helper to access the ZooTool API within an objective-C app.

ZTProxy requires json-framework

Example

	ZTProxy* prox = [ZTProxy defaultProxy];
	NSURLCredential* cred = [NSURLCredential credentialWithUser:@"XXX" 
                                                   password:@"XXX" 
                                                persistence:NSURLCredentialPersistencePermanent];
	[prox useCredential:cred];
	NSLog(@"%@", [prox userWithUsername:@"bastian"]);
	NSLog(@"%@", [prox itemWithUID:@"ooq2k"]);
	NSLog(@"%@", [prox userFriendsWithUsername:@"bastian" withRange:NSMakeRange(1, 2)]);
	NSLog(@"%@", [prox popularItemsWithRange:NSMakeRange(1, 2)]);