Python Sample Code: Matching Full Name Data

Here is an example that will generate an individual full name similarity key to match with other full names using AI fuzzy matching algorithms (Bill Johnson = William Johnsten). This code requires the "requests" library to run. If it is not installed, you can install it on the command line with the following:

            
> pip install requests
            

Python code:

            
import requests

response = requests.get('https://api.interzoid.com/getfullnamematch?license=
                YOURLICENSEKEY&fullname=bill johnson')
print(response.text)

if response.status_code == 200:
  data = response.json()
  print(data["SimKey"])
else:
  print("error")
            

To execute from the command line:

            
> python YOURFILENAME.py
            

Results:

            
{"SimKey":"HevsAxKTzPOOo3NgvxLeZ-Po8KTQ5zpBDjlvuaSdbag","Code":"Success","Credits":"108310"}

HevsAxKTzPOOo3NgvxLeZ-Po8KTQ5zpBDjlvuaSdbag
            

If you do not have an API License Key, you can obtain one by registering here.

Return to Get Full Name Match Similarity Key API page

Free API Credits
Register for an Interzoid API account and receive free trial credits
Company Name Matching API
Generate similarity keys to identify duplicate and inconsistent company name data
More Info...
Other Matching APIs
Generate similarity keys for other data types
More Info...
International Phone Demographics API
Test page load and other Web asset performance time with a simple API call
More Info...
Email Information API
Get email address validation and enhancement data
More Info...