Keybase.io API client for iOS/OSX
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
KBKeybaseAPI.xcodeproj
KBKeybaseAPI.xcworkspace
KBKeybaseAPI
Tests
.gitignore
KBKeybaseAPI.podspec
LICENSE
Podfile
Podfile.lock
README.md

README.md

KBKeybaseAPI

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!