Skip to main content

Contact Extractor is a simple tool for extracting contact data from a website URL. It returns the contact emails, phone numbers, and places.

Project description

Contact Extractor API

Contact Extractor is a simple tool for extracting contact data from a website URL. It returns the contact emails, phone numbers, and places.

Build Status Code Climate Prod Ready

This is a Python API Wrapper for the Contact Extractor API


Installation

pip install apiverve-contactextractor

Configuration

Before using the contactextractor API client, you have to setup your account and obtain your API Key.
You can get it by signing up at https://apiverve.com


Usage

The Contact Extractor API documentation is found here: https://docs.apiverve.com/api/contactextractor.
You can find parameters, example responses, and status codes documented here.

Setup

# Import the client module
from apiverve_contactextractor.apiClient import ContactextractorAPIClient

# Initialize the client with your APIVerve API key
api = ContactextractorAPIClient("[YOUR_API_KEY]")

Perform Request

Using the API client, you can perform requests to the API.

Define Query
query = {  "url": "https://en.wikipedia.org/wiki/Email_address" }
Simple Request
# Make a request to the API
result = api.execute(query)

# Print the result
print(result)
Example Response
{
  "status": "ok",
  "error": null,
  "data": {
    "url": "https://en.wikipedia.org/wiki/Email_address",
    "emails": [
      "john.smith@example.com",
      "jsmith@example.com",
      "john.smith@example.org",
      "John..Doe@example.com",
      "johns@example.com",
      "JohnS@example.com",
      "tag@example.com",
      "joeuser@example.com",
      "simple@example.com",
      "very.common@example.com",
      "FirstName.LastName@EasierReading.org",
      "x@example.com",
      "long.email-address-with-hyphens@and.subdomains.example.com",
      "sorting@example.com",
      "user.name@example.com",
      "surname@example.com",
      "example@s.example",
      "username@example.org",
      "example.com@example.org",
      "user@example.com",
      "user-@example.org",
      "CHOCOLATE@example.com",
      "c@example.com",
      "l@example.com",
      "right@example.com",
      "allowed@example.com",
      "onore@example.com",
      "tag@domain.com",
      "extension@pobox.com"
    ],
    "phones": [],
    "places": {}
  },
  "code": 200
}

Customer Support

Need any assistance? Get in touch with Customer Support.


Updates

Stay up to date by following @apiverveHQ on Twitter.


Legal

All usage of the APIVerve website, API, and services is subject to the APIVerve Terms of Service and all legal documents and agreements.


License

Licensed under the The MIT License (MIT)

Copyright (©) 2024 APIVerve, and Evlar LLC

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

apiverve_contactextractor-1.1.5.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file apiverve_contactextractor-1.1.5.tar.gz.

File metadata

File hashes

Hashes for apiverve_contactextractor-1.1.5.tar.gz
Algorithm Hash digest
SHA256 32477660d8b1b361f4324c81f4a1a84c63fce87dbeb5bb84e135e32b53dea396
MD5 f12a0a27043c34e7cd87bc9ef41f132f
BLAKE2b-256 c4ede99ce970e79ad9bb79e45476afe68878357771ba205828db50a615850780

See more details on using hashes here.

File details

Details for the file apiverve_contactextractor-1.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for apiverve_contactextractor-1.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 2bd91edefcf0af019f81782dcb69a076259de391c513927d903ea421f2190afd
MD5 d26942d71960fe6bf14c3229a2b9c1a3
BLAKE2b-256 13f5319327f8d814bff99a00ba9fd16ffe055c7e89989e04fb6f18ca1bf033c4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page