CocoaPods trunk is moving to be read-only. Read more on the blog, there are 19 months to go.
TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Sep 2015 |
Maintained 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.
iOS 8.0 or higher
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.
Matt Sencenbaugh, [email protected]
EveryoneAPI is available under the MIT license. See the LICENSE file for more info.