apiverve_emaildisposablechecker 1.2.3
apiverve_emaildisposablechecker: ^1.2.3 copied to clipboard
Disposable Email Checker is a disposable email detection API that tests whether an email address belongs to a disposable or temp mail provider. Pass any email to get back the domain parsed from it and [...]
Disposable Email Checker API - Dart/Flutter Client #
Disposable Email Checker is a disposable email detection API that tests whether an email address belongs to a disposable or temp mail provider. Pass any email to get back the domain parsed from it and a true or false flag showing whether it is temporary. That also makes it a quick way to drop throwaway domains when you derive a company domain from a list of emails.
This is the Dart/Flutter client for the Disposable Email Checker API.
Installation #
Add this to your pubspec.yaml:
dependencies:
apiverve_emaildisposablechecker: ^1.2.3
Then run:
dart pub get
# or for Flutter
flutter pub get
Usage #
import 'package:apiverve_emaildisposablechecker/apiverve_emaildisposablechecker.dart';
void main() async {
final client = EmaildisposablecheckerClient('YOUR_API_KEY');
try {
final response = await client.execute({
'email': 'support@myspace.com',
'domain': 'mailinator.com'
});
print('Status: ${response.status}');
print('Data: ${response.data}');
} catch (e) {
print('Error: $e');
}
}
Response #
{
"status": "ok",
"error": null,
"data": {
"isDisposable": false,
"email": "support@myspace.com",
"domain": "myspace.com",
"isRelay": false,
"relayService": null,
"isDisposableMx": false
}
}
API Reference #
- API Home: Disposable Email Checker API
- Documentation: docs.apiverve.com/ref/emaildisposablechecker
Authentication #
All requests require an API key. Get yours at apiverve.com.
License #
MIT License - see LICENSE for details.
Built with Dart for APIVerve