CocoaPods trunk is moving to be read-only. Read more on the blog, there are 19 months to go.

EveryoneAPI 0.9.4

EveryoneAPI 0.9.4

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Sep 2015

Maintained by Matt Sencenbaugh.



  • By
  • Matt Sencenbaugh

EveryoneAPI is a simple API that retrieves information based on a phone number. Jump over to EveryoneAPI.com to sign up for an account or try out one of their sample endpoints in your browser.

Requirements

iOS 8.0 or higher

Installation

Usage

After installing use the following to query the EveryoneAPI for all information related to a phone number

EveryoneAPI *everyoneAPI = [[EveryoneAPI alloc] initWithAccountSID:@"accountSID" withAuthToken:@"authToken"];
[everyoneAPI getInformation:EveryoneAPIReturnAllInfo forPhoneNumber:@"5551234567" withSuccessHandler:^(EveryoneAPIResponseObject *responseObject){
    //Success handler here
} withErrorHandler:^(NSError *error, NSNumber *statusCode, NSString *readableError){
    //Error handler here
}];

Checkout EveryoneAPIResponseObject.h for an easy wrapper around the returned JSON. Also see EveryoneAPI.h for the bitmasks you can use to request specific information.

Author

Matt Sencenbaugh, [email protected]

License

EveryoneAPI is available under the MIT license. See the LICENSE file for more info.