Skip to content

PreciselyData/PreciselyAPIsSDK-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Precisely

Precisely APIs

Description

Precisely APIs Enrich your data, and enhance your applications, business processes and workflows with dozens of powerful location & identity APIs.

Precisely APIs:

  • Geocode: Accurate Geocoding. Convert individual or batch collections of addresses to latitude & longitude coordinates and vice versa. Useful for enhancing & enriching your customer addresses.

  • Address Autocomplete: Address Autocomplete. Build Address Autocomplete into your websites. The Address Autocomplete API returns an autocompleted list of addresses based on the input of a partial address. Useful for any local search, checkout, shipping, or billing experiences on your website. Increase e-commerce conversion by 3-6%!

  • Address Autocomplete Enterprise: Build Address Autocomplete Enterprise into your websites. The Address Autocomplete Enterprise API returns an autocompleted list of addresses based on the input of a partial address. It is useful for any local search, checkout, shipping, or billing experiences on your website.

  • Maps: Beautiful Visualization. Add your data and/or Precisely data atop beautiful maps for visualizations. Choose from three map styles - Bronze, Iron, and Steel.

  • Zones: Smart Zones. The Zones API returns geographic zones by Radius, Drive Distance, Drive Time and highly localized geofence zones with the input of Location Coordinates or Addresses. Useful for anyone wanting to create smarter geofence zones for Local Engagement and Analysis.

  • Routing: Accurate Routing. The Routing API returns Point-to-Point and Multi-Point Travel Directions by Various Travel Modes. Critical for any Simple or Complex Routing Requirement.

  • Streets: Global Street Information. Enrich your applications, business processes, and workflows with global street information including nearest intersections and speed limits. The Streets API accepts an address or location and returns nearest intersection information. The speed limit method accepts a series of locations and returns speed limits along a street segment.

  • Places : Global Place Data. Enrich your applications, business processes, and workflows with over 180 million of global retail businesses and landmark points-of-interest. The Places API accepts multiple powerful inputs & filtering options and returns thousands of records in a single API request. The Places API also supports global typeahead place search. Useful for enriching your data and/or analytics processes with rich commercial business information and place names.

  • Risks: Risks Insights. Capture Crime, Earthquake, Flood, Fire, Fire Station and Distance-to-Flood-Hazard risk data for Analysis, Planning, Claims, and Mitigation. The Risks API returns risk intelligence with the input of Location Coordinates or Addresses. Critical for any impact analysis involving threats to lives or property.

  • 911/PSAP: Emergency call handling. Integrate Public Safety Answering Point (PSAP) administrative call routing information plus Authority Having Jurisdiction (AHJ) phone numbers into your emergency services products and services. The 911/PSAP API retrieves 10-digit phone numbers and local contact info with the input of a location coordinate. Useful for emergency services administrators, call handlers, and dispatchers.

  • Local Tax: Local Tax. Add hyperlocal tax rates to your applications, business processes, and workflows. The Local Tax API returns local tax rates with the input of location coordinates or addresses. Critical for any billing, commerce, payment, or payroll application or service.

  • Telecomm Info: Service Provider Intelligence. Identify Local Exchange Carrier presence, area codes, exchanges, and more within a Rate Center area. The Telecomm Info API retrieves Incumbent Local Exchange Carrier (ILEC) doing-business-as names along with NPA/NXX, LATA, and phone number ranges with the input of an address or location coordinates. Useful for local telecommunications competitive intelligence, partnerships, and provisioning subscribers.

  • Time Zone: Local time. The Time Zone API returns time zones and UTC offsets with the input of a location coordinate or address. Useful for do-not-call, logistics, and customer engagement applications, business processes and workflows.

  • Geolocation: Device Location. The Geolocation API returns location coordinates based on the input of an IP Address or Wi-Fi Access point MAC address. Useful for a variety of applications, business processes and workflows in eCommerce, Fraud Detection, Physical-Digital interactions, Field Service and more.

  • Schools: School Listings. Gather local multiple school listings, types, districts and education levels for your applications. The Schools API accepts multiple powerful inputs & geographic filtering options and returns nearby school listings and additional data a single API request. Useful for enriching your applications and websites.

  • Neighborhoods: Neighborhood Insights. Integrate global neighborhood names and classification information into your applications and enrich other data. The Neighborhood API accepts latitude & longitude coordinates and returns the corresponding neighborhood name & type. Useful for a wide range of data enrichment use cases.

  • Property Information: Property Insights. Integrate extensive residential & commercial property information into your applications. The Property Information API returns key property attributes for millions of US properties with the input of Location Coordinates or Addresses. Useful for Real Estate use cases or those involving risk assessments.

  • Address Verification: Real, accurate and complete address. Eliminate errors in address data, improve customer experience. The Address Verification API makes communication easier, faster and effortless by enriching customer details, keeping it up-to-date and maintaining its accuracy and consistency. It eliminates redundancy in reaching out to customers and makes it easy for distinct functional areas to work seamlessly in improving customer relationship.

  • Email Verification: Email address validation and protection. The Email Verification API corrects and validates your email addresses to protect your database from invalid, toxic and undesirable email addresses. We help you avoid a damaged sender reputations by flagging those bouncing emails, spam trap hits, honeypots, stale lists and do-not-contact list before you have a chance to use them.

  • Addresses: Gather multiple Addresses if you don’t have them and use these to query all other Precisely APIs. The Addresses API accepts names of a boundary such as zip code, neighborhood, county, and city—as well as your custom geographic boundaries or drivetimes & drive distances—and returns all known & valid Addresses associated with these names, or Addresses contained with the supplied or chosen geographic boundary.

  • Phone Verification: The Phone Verification API accepts any phone number as input and returns verification information, Service Provider name, and more. Useful to verify if phone numbers exist to reduce fraud and improve communications.

The following platforms are supported by Precisely SDKs:

Click here for detailed Documentation on Precisely APIs

PreciselyAPIsPythonSDK

Enhance & enrich your data, applications, business processes, and workflows with rich location, information, and identify APIs.

This Python package is automatically generated by the OpenAPI Generator project:

  • Package version: 18.1.1

  • Build package: org.openapitools.codegen.languages.PythonClientCodegen

For more information, please visit https://support.precisely.com

Requirements.

Python >= 3.6

Installation & Usage

pip install

If the python package is hosted on a repository, you can install directly using:

pip install com.precisely.apis

Then import the package:

import com.precisely.apis

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import com.precisely.apis

Getting Started

Please follow the installation procedure and then run the following:

from com.precisely.apis.api.address_autocomplete_service_api import AddressAutocompleteServiceApi
from com.precisely.apis.exceptions import ApiException


def addressAutocompleteExample():
    api = AddressAutocompleteServiceApi()
    api.api_client.oAuthApiKey = "PUT_YOUR_KEY_HERE"
    api.api_client.oAuthSecret = "PUT_YOUR_SECRET_HERE"
    api.api_client.generateAndSetToken()
    try:
        response = api.search_v2("times sq", country="usa")
        print(response)
    except ApiException as e:
        print(e.body)


if __name__ == "__main__":
    addressAutocompleteExample()

Documentation for API Endpoints

All URIs are relative to https://api.precisely.com

Class Method HTTP request Description
AddressAutocompleteEnterpriseServiceApi list_locations GET /typeahead/v1/list/locations
AddressAutocompleteEnterpriseServiceApi list_select GET /typeahead/v1/list/select
AddressAutocompleteServiceApi search_v2 GET /typeahead/v1/locations Address Autocomplete Search
AddressVerificationServiceApi get_city_state_province POST /addressverification/v1/getcitystateprovince/results.json GetCityStateProvince
AddressVerificationServiceApi get_postal_codes POST /addressverification/v1/getpostalcodes/results.json GetPostalCodes
AddressVerificationServiceApi validate_mailing_address POST /addressverification/v1/validatemailingaddress/results.json ValidateMailingAddress
AddressVerificationServiceApi validate_mailing_address_premium POST /addressverification/v1/validatemailingaddresspremium/results.json ValidateMailingAddressPremium
AddressVerificationServiceApi validate_mailing_address_pro POST /addressverification/v1/validatemailingaddresspro/results.json ValidateMailingAddressPro
AddressVerificationServiceApi validate_mailing_address_uscan POST /addressverification/v1/validatemailingaddressuscan/results.json ValidateMailingAddressUSCAN
AddressesServiceApi get_addresses_count_by_boundary_name GET /addresses/v1/addresscount/byboundaryname Addresses Count by Boundary Name.
AddressesServiceApi get_addresses_countby_boundary POST /addresses/v1/addresscount/byboundary Addresses count by Boundary.
AddressesServiceApi get_addressesby_boundary POST /addresses/v1/address/byboundary Addresses by Boundary.
AddressesServiceApi get_addressesby_boundary_name GET /addresses/v1/address/byboundaryname Addresses by Boundary Name.
EmailVerificationServiceApi validate_email_address POST /emailverification/v1/validateemailaddress/results.json ValidateEmailAddress
GeocodeServiceApi geocode GET /geocode/v1/{datapackBundle}/geocode Get Forward Geocode(Basic/Premium/Advanced)
GeocodeServiceApi geocode_batch POST /geocode/v1/{datapackBundle}/geocode Post Forward Geocode
GeocodeServiceApi get_pb_key GET /geocode/v1/key/byaddress Get PreciselyID By Address
GeocodeServiceApi get_pb_keys POST /geocode/v1/key/byaddress Post PreciselyID By Address
GeocodeServiceApi key_lookup GET /geocode/v1/keylookup Get Key Lookup
GeocodeServiceApi key_lookup_batch POST /geocode/v1/keylookup Post Key Lookup
GeocodeServiceApi reverse_geocod_batch POST /geocode/v1/{datapackBundle}/reverseGeocode Post Reverse Geocode
GeocodeServiceApi reverse_geocode GET /geocode/v1/{datapackBundle}/reverseGeocode Get Reverse Geocode(Basic/Premium/Advanced)
GeolocationServiceApi get_location_by_ip_address GET /geolocation/v1/location/byipaddress Location By IP Address.
GeolocationServiceApi get_location_by_wi_fi_access_point GET /geolocation/v1/location/byaccesspoint Location by WiFi Access Point.
LocalTaxServiceApi get_batch_tax_by_address POST /localtax/v1/tax/{taxRateTypeId}/byaddress Post Tax By Address
LocalTaxServiceApi get_batch_tax_by_location POST /localtax/v1/tax/{taxRateTypeId}/bylocation Post Tax By Location
LocalTaxServiceApi get_batch_tax_rate_by_address POST /localtax/v1/taxrate/{taxRateTypeId}/byaddress Post Taxrate By Address
LocalTaxServiceApi get_batch_tax_rate_by_location POST /localtax/v1/taxrate/{taxRateTypeId}/bylocation Post Taxrate By Location
LocalTaxServiceApi get_ipd_tax_by_address GET /localtax/v1/taxdistrict/ipd/byaddress Get IPD Tax by Address
LocalTaxServiceApi get_ipd_tax_by_address_batch POST /localtax/v1/taxdistrict/ipd/byaddress Get IPD Tax for batch requests.
LocalTaxServiceApi get_specific_tax_by_address GET /localtax/v1/tax/{taxRateTypeId}/byaddress Get Tax By Address
LocalTaxServiceApi get_specific_tax_by_location GET /localtax/v1/tax/{taxRateTypeId}/bylocation Get Tax By Location
LocalTaxServiceApi get_specific_tax_rate_by_address GET /localtax/v1/taxrate/{taxRateTypeId}/byaddress Get Taxrate By Address
LocalTaxServiceApi get_specific_tax_rate_by_location GET /localtax/v1/taxrate/{taxRateTypeId}/bylocation Get Taxrate By Location
NeighborhoodsServiceApi get_place_by_location GET /neighborhoods/v1/place/bylocation Place By Location.
PSAP911ServiceApi get_ahj_plus_psapby_address GET /911/v1/ahj-psap/byaddress AHJ & PSAP By Address.
PSAP911ServiceApi get_ahj_plus_psapby_location GET /911/v1/ahj-psap/bylocation AHJ & PSAP By Location
PSAP911ServiceApi get_psapby_address GET /911/v1/psap/byaddress PSAP By Address.
PSAP911ServiceApi get_psapby_location GET /911/v1/psap/bylocation PSAP By Location.
PSAP911ServiceApi search_by_fcc_id GET /911/v1/ahj-psap/byfccid AHJ & PSAP By Fccid
PhoneVerificationServiceApi validatephonenumber POST /phoneverification/v2/validatephonenumber/results.json Phone verification.
PlacesServiceApi get_category_code_metadata GET /places/v1/metadata/category Category Code Metadata.
PlacesServiceApi get_poiby_id GET /places/v1/poi/{id} Points Of Interest Details By Id
PlacesServiceApi get_pois_by_address GET /places/v1/poi/byaddress Get POIs By Address.
PlacesServiceApi get_pois_by_area GET /places/v1/poi/byarea GET Points Of Interest By Area.
PlacesServiceApi get_pois_by_geometry POST /places/v1/poi/byboundary Points Of Interest By Boundary
PlacesServiceApi get_pois_by_location GET /places/v1/poi/bylocation Get POIs By Location.
PlacesServiceApi get_pois_count POST /places/v1/poicount Points Of Interest Count
PlacesServiceApi get_sic_metadata GET /places/v1/metadata/sic Get SIC Metadata
PlacesServiceApi pois_autocomplete GET /places/v1/poi/autocomplete Points Of Interest Autocomplete
PropertyInformationServiceApi get_parcel_boundary_by_address GET /property/v2/parcelboundary/byaddress Get Parcel Boundary By Address
PropertyInformationServiceApi get_parcel_boundary_by_location GET /property/v2/parcelboundary/bylocation Get Parcel Boundary By Location
PropertyInformationServiceApi get_parcel_boundary_by_precisely_id GET /property/v2/parcelboundary/bypreciselyID Get Parcel Boundary By PreciselyID
PropertyInformationServiceApi get_property_attributes_by_address GET /property/v2/attributes/byaddress PropertyV2 Attributes By Address.
PropertyInformationServiceApi get_property_attributes_by_address_batch POST /property/v2/attributes/byaddress PropertyV2 Attributes By Address Batch.
RisksServiceApi get_crime_risk_by_address GET /risks/v1/crime/byaddress Get Crime Risk By Address
RisksServiceApi get_crime_risk_by_address_batch POST /risks/v1/crime/byaddress Post Crime Risk By Address
RisksServiceApi get_crime_risk_by_location GET /risks/v1/crime/bylocation Get Crime Risk By Location
RisksServiceApi get_crime_risk_by_location_batch POST /risks/v1/crime/bylocation Post Crime Risk By Location
RisksServiceApi get_distance_to_coast_by_address GET /risks/v1/shoreline/distancetofloodhazard/byaddress Get Distance To Flood Hazard By Address
RisksServiceApi get_distance_to_coast_by_address_batch POST /risks/v1/shoreline/distancetofloodhazard/byaddress Post Distance To Flood Hazard By Address
RisksServiceApi get_distance_to_coast_by_location GET /risks/v1/shoreline/distancetofloodhazard/bylocation Get Distance To Flood Hazard By Location
RisksServiceApi get_distance_to_coast_by_location_batch POST /risks/v1/shoreline/distancetofloodhazard/bylocation Post Distance To Flood Hazard By Location
RisksServiceApi get_earthquake_history GET /risks/v1/earthquakehistory Earthquake History
RisksServiceApi get_earthquake_risk_by_address GET /risks/v1/earthquake/byaddress Get Earthquake Risk By Address
RisksServiceApi get_earthquake_risk_by_address_batch POST /risks/v1/earthquake/byaddress Post Earthquake Risk By Address
RisksServiceApi get_earthquake_risk_by_location GET /risks/v1/earthquake/bylocation Get Earthquake Risk By Location
RisksServiceApi get_earthquake_risk_by_location_batch POST /risks/v1/earthquake/bylocation Post Earthquake Risk By Location
RisksServiceApi get_fire_history GET /risks/v1/firehistory Get Fire History
RisksServiceApi get_fire_history_v2 GET /risks/v2/firehistory Get Fire History
RisksServiceApi get_fire_risk_by_address GET /risks/v1/fire/byaddress Get Fire Risk By Address
RisksServiceApi get_fire_risk_by_address_batch POST /risks/v1/fire/byaddress Post Fire Risk By Address
RisksServiceApi get_fire_risk_by_location GET /risks/v1/fire/bylocation Get Fire Risk By Location
RisksServiceApi get_fire_risk_by_location_batch POST /risks/v1/fire/bylocation Post Fire Risk By Location
RisksServiceApi get_fire_risk_v2_by_address GET /risks/v2/fire/byaddress Get Fire Risk By Address
RisksServiceApi get_fire_risk_v2_by_address_batch POST /risks/v2/fire/byaddress Post Fire Risk By Address
RisksServiceApi get_fire_risk_v2_by_location GET /risks/v2/fire/bylocation Get Fire Risk By Location
RisksServiceApi get_fire_risk_v2_by_location_batch POST /risks/v2/fire/bylocation Post Fire Risk By Location
RisksServiceApi get_fire_station_by_address GET /risks/v1/firestation/byaddress Get Fire Station By Address
RisksServiceApi get_fire_station_by_location GET /risks/v1/firestation/bylocation Get Fire Station By Location
RisksServiceApi get_flood_risk_by_address GET /risks/v1/flood/byaddress Get Flood Risk By Address
RisksServiceApi get_flood_risk_by_address_batch POST /risks/v1/flood/byaddress Post Flood Risk By Address
RisksServiceApi get_flood_risk_by_location GET /risks/v1/flood/bylocation Get Flood Risk By Location
RisksServiceApi get_flood_risk_by_location_batch POST /risks/v1/flood/bylocation Post Flood Risk By Location
RoutingServiceApi get_route_by_address GET /routing/v1/route/byaddress Gets Route By Address.
RoutingServiceApi get_route_by_location GET /routing/v1/route/bylocation Gets Route By Location.
RoutingServiceApi get_travel_cost_matrix_by_address GET /routing/v1/travelcostmatrix/byaddress Get Cost Matrix By Address.
RoutingServiceApi get_travel_cost_matrix_by_location GET /routing/v1/travelcostmatrix/bylocation Get Cost Matrix By Location.
SchoolsServiceApi get_schools_by_address GET /schools/v1/school/byaddress Search Nearby Schools by Address
StreetsServiceApi get_intersection_by_address GET /streets/v1/intersection/byaddress Nearest Intesection By Address.
StreetsServiceApi get_intersection_by_location GET /streets/v1/intersection/bylocation Nearest Intesection By Location.
StreetsServiceApi get_nearest_speed_limit GET /streets/v1/speedlimit Nearest Speedlimit.
TelecommInfoServiceApi get_rate_center_by_address GET /telecomm/v1/ratecenter/byaddress Rate Center By Address.
TelecommInfoServiceApi get_rate_center_by_location GET /telecomm/v1/ratecenter/bylocation Rate Center By Location.
TimeZoneServiceApi get_batch_timezone_by_location POST /timezone/v1/timezone/bylocation Timezone Batch by Location.
TimeZoneServiceApi get_timezone_by_address GET /timezone/v1/timezone/byaddress Timezone By Address.
TimeZoneServiceApi get_timezone_by_address_batch POST /timezone/v1/timezone/byaddress Timezone Batch by Address.
TimeZoneServiceApi get_timezone_by_location GET /timezone/v1/timezone/bylocation Timezone By Location.
ZonesServiceApi get_basic_boundary_by_address GET /zones/v1/basicboundary/byaddress Gets Basic Boundary by Address.
ZonesServiceApi get_basic_boundary_by_location GET /zones/v1/basicboundary/bylocation Gets Basic Boundary by Location.
ZonesServiceApi get_poi_boundary_by_address GET /zones/v1/poiboundary/byaddress Gets Point of Interests Boundary by Address.
ZonesServiceApi get_poi_boundary_by_address_batch POST /zones/v1/poiboundary/byaddress Batch method for getting Point of Interests Boundary by Address.
ZonesServiceApi get_poi_boundary_by_location GET /zones/v1/poiboundary/bylocation Get Point of Interests Boundary by Location.
ZonesServiceApi get_poi_boundary_by_location_batch POST /zones/v1/poiboundary/bylocation Batch method for getting Point of Interests Boundary by Location.
ZonesServiceApi get_travel_boundary_by_distance GET /zones/v1/travelboundary/bydistance Get TravelBoundary By Distance.
ZonesServiceApi get_travel_boundary_by_time GET /zones/v1/travelboundary/bytime Get TravelBoundary By Time.

Documentation For Models

Documentation For Authorization

oAuth2Password

Author

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages