Home > ZTProxy

ZTProxy

ZTProxy is a project mainly written in OBJECTIVE-C and C, it's free.

Small wrapper class for the ZooTool API

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)]);
Previous:sample_app