github.com/pencildrummer/TwilioLookup

TwilioLookup is a library to help you check phone numbers using the Twilio Lookups service


Keywords
twilio
License
MIT

Documentation

TwilioLookup

CI Status Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

To use TwilioLookup you must have an account on Twilio. You can register a new one on the Twilio sign up page.

Once you have an account you can configure TwilioLookup to use it.

Find in the Twilio dashboard, by clicking on the "Show API Credentials" link on the upper right corner, your Account SID and Account Token and configure them as shown below.

One of the best place to configure TwilioLookup is in the application(_, didFinishLaunchingWithOptions:) implementation.

func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {

// ...

TwilioLookup.accountSid = "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
TwilioLookup.accountToken = "your_auth_token"

return true
}

Installation

TwilioLookup is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "TwilioLookup"

Author

Fabio Borella, info@pencildrummer.com

License

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