Latest | 0.2.1 |
---|---|
Homepage | https://github.com/gabriel/KBKeybaseAPI |
License | MIT |
Platforms | ios 7.0, osx 10.8, requires ARC |
Dependencies | TSTripleSec, AFNetworking, Mantle, ObjectiveSugar, GHKit, NAChloride, NACrypto |
Authors |
Keybase.io API client for iOS/OSX.
Podfile
platform :ios, "7.0"
pod "KBKeybaseAPI"
Usage
#import <KBKeybaseAPI/KBKeybaseAPI.h>
KBAPIClient *client = [[KBAPIClient alloc] initWithAPIHost:KBAPIKeybaseIOHost];
NSArray *userNames = @[@"gabrielh", @"chris", @"max"];
[_client usersPaginatedForKey:@"usernames" values:userNames fields:nil limit:10 success:^(NSArray *users, BOOL completed) {
// The **users** var is an array of KBUser.
// If paginating completed will be NO, and another callback will occur.
} failure:^(NSError *error) {
// There was an error
}];
More docs coming soon!
Latest podspec
{ "name": "KBKeybaseAPI", "version": "0.2.1", "summary": "Keybase.io API client for Objective-C.", "homepage": "https://github.com/gabriel/KBKeybaseAPI", "license": { "type": "MIT" }, "authors": { "Gabriel Handford": "[email protected]" }, "source": { "git": "https://github.com/gabriel/KBKeybaseAPI.git", "tag": "0.2.1" }, "platforms": { "ios": "7.0", "osx": "10.8" }, "requires_arc": true, "source_files": "KBKeybaseAPI/**/*.{h,m}", "dependencies": { "TSTripleSec": [], "AFNetworking": [], "Mantle": [], "ObjectiveSugar": [], "GHKit": [], "NAChloride": [], "NACrypto": [] }, "subspecs": [ { "name": "Core", "source_files": "KBKeybaseAPI/Core/**/*.{h,m}", "dependencies": { "GHKit": [], "Mantle": [], "ObjectiveSugar": [], "TSTripleSec": [], "NAChloride": [], "NACrypto": [] } } ] }
Sun, 28 Feb 2016 06:29:02 +0000