Fullcontact¶
-
class
fullcontact.
Fullcontact
(api_key)¶ Create a Fullcontact service.
Variables: api_key (str) – The API key.
Enhanced¶
-
Fullcontact.
enhanced
(email)¶ Return the resource corresponding to a single person
-
Enhanced.
get
()¶ Fetch a single object.
Location¶
-
Fullcontact.
locations
()¶ Return the resource corresponding to all locations.
-
Location.
enrichment
(place, includeZeroPopulation=False, casing=None)¶ Return a collection of lostructured location data for a indicated place.
Variables: - place (str) – The place you are interested in.
- includeZeroPopulation (bool) – Will include 0 population census locations.
- casing (str) – One of: uppercase, lowercase or titlecase.
-
Location.
normalizer
(place, includeZeroPopulation=False, casing=None)¶ Return structured location data for a indicated place.
Variables: - place (str) – The place you are interested in.
- includeZeroPopulation (bool) – Will include 0 population census locations.
- casing (str) – One of: uppercase, lowercase or titlecase.
Name¶
-
Fullcontact.
names
()¶ Return the resource corresponding to all names.
-
Name.
deducer
(email=None, username=None, casing=None)¶ Take a username or email address provided as a string and attempts to deduce a structured name.
Variables: - email (str) – It allows you to pass an email address.
- username (str) – It allows you to pass a username.
- casing (str) – One of: uppercase, lowercase or titlecase.
-
Name.
normalizer
(q, casing=None)¶ Take quasi-structured name data provided as a string and outputs the data in a structured manner.
Variables: - q (str) – Name you would like to be normalized.
- casing (str) – One of: uppercase, lowercase or titlecase.
-
Name.
parser
(q, casing=None)¶ Determine what the given name and family name for a ambiguious name.
Variables: - q (str) – Name you would like to be parsed.
- casing (str) – One of: uppercase, lowercase or titlecase.
-
Name.
similarity
(q1, q2, casing=None)¶ Return a score indicating how two names are similar.
Variables: - q1 (str) – First name to compare.
- q2 (str) – Second name to compare.
- casing (str) – One of: uppercase, lowercase or titlecase.
-
Name.
stats
(name=None, givenName=None, familyName=None, casing=None)¶ Determine more about a name.
Variables: - name (str) – It can be used when you only know a single name and you are uncertain whether it is the given name or family name.
- givenName (str) – It can be used when you know that the name is a first name.
- familyName (str) – It can be used when you know that the name is a last name.
- casing (str) – One of: uppercase, lowercase or titlecase.
Person¶
-
Fullcontact.
person
(email=None, emailMD5=None, phone=None, twitter=None, facebookUsername=None)¶ Return the resource corresponding to a single person
-
Person.
get
(queue=None, style=None, prettyPrint=None, countryCode=None)¶ Fetch a single object.
Variables: - queue (int) – Using this parameter notifies FullContact that the query in question will be called later.
- style (str) – The style parameter can be used to control the document structure returned. Only available for email lookups.
- prettyPrint (str) – Used to disable prettyprint formatting response
- countryCode (str) – For phone lookups, it must be passed when using non US/Canada based numbers. Use the ISO-3166 two-digit country code. It defaults to US.