Usage of email validation using Python

Download Api from GitHub

For OneByOne Verification:


    from emailverify import EmailListVerifyOne
    E = EmailListVerifyOne('PUT_YOUR_KEY', 'test@mail.com')
    result = E.control()
    print result // answer is string 'ok' or 'fail'
		   

To Upload a Bulk


    from emailverify import EmailListVerifyBulk   

    B = EmailListVerifyBulk('PUT_YOUR_KEY', 'path/to/file.csv')
    B.upload()       //upload file in server and get id_file from server
    B.get_info()     // here will be answer from server  
                    something like that:
                    135094|6565_clean.csv|no|7|7|finished|1456415517
                    or
                    |https://apps.emaillistverify.com/app/webroot/files/4195/6565/result_ok_6565_2016-02-25.csv
                    |https://apps.emaillistverify.com/app/webroot/files/4195/6565/result_all_6565_2016-02-25.csv