Latest 1.0.0
Homepage https://github.com/imryan/validatorpizza-ios
License MIT
Platforms ios 8.0
Authors

Validator.pizza iOS

🍕 Bite-sized iOS wrapper for the simple disposable email hunter and validator.

CI Status
Version
License
Platform

Usage

// Validating a domain
[ValidatorPizza check:@"example.com" type:VPCheckTypeDomain block:^(BOOL isValid, NSDictionary *results, NSError *error) {
if (!error) ...
}];

// Validating an email address
[ValidatorPizza check:@"[email protected]" type:VPCheckTypeEmail block:^(BOOL isValid, NSDictionary *results, NSError *error) {
if (!error) ...
}];

Response

Result dictionaries contain a structure such as:

// Valid email
{
"status": 200,
"email": "[email protected]",
"domain": "example.com",
"mx": false,
"disposable": false,
"alias": false,
"did_you_mean": false,
"remaining_requests": 119
}
// Invalid email
{
"status": 400,
"error": "The email address is invalid."
}
// Requests limit reached
{
"status": 429,
"error": "Rate limit exceeded."
}

Author

Ryan Cohen, [email protected]

License

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

Latest podspec

{
    "name": "ValidatorPizza",
    "version": "1.0.0",
    "summary": "Objective-C wrapper for the Validator.pizza email validation service",
    "description": "ud83cudf55 Bite-sized iOS wrapper for the simple disposable email hunter and validator",
    "homepage": "https://github.com/imryan/validatorpizza-ios",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Ryan Cohen": "[email protected]"
    },
    "source": {
        "git": "https://github.com/imryan/validatorpizza-ios.git",
        "tag": "1.0.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "ValidatorPizza/Classes/**/*"
}

Pin It on Pinterest

Share This