Skip to main content

Python library and command-line utility for Predicta Search API

Project description

predictasearch: The official Python library and CLI for Predicta Search

predictasearch is a Python library that interacts with the PredictaSearch API to perform searches on emails and phone numbers, as well as retrieve the list of supported networks.

Features

  • Search by email address
  • Search by phone number
  • Search by name
  • Search by username
  • Retrieve the list of supported networks

Quick Start

import os
from predictasearch import PredictaSearch

client = PredictaSearch(api_key=os.environ["PREDICTA_API_KEY"])

networks = client.get_supported_networks()
print(networks)

email_results = client.search_by_email("example@email.com")
print(email_results)

phone_results = client.search_by_phone("+33612345678")
print(phone_results)

name_results = client.search_by_name("John Doe")
print(name_results)

username_results = client.search_by_username("Johndoe")
print(username_results)

Grab your API key from https://www.predictasearch.com/

Installation

To install the Predicta Search library, simply:

pip install predictasearch

Documentation

Documentation is available at https://dev.predictasearch.com/redoc

Project details


Download files

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

Source Distribution

predictasearch-1.0.1.tar.gz (4.6 kB view details)

Uploaded Source

File details

Details for the file predictasearch-1.0.1.tar.gz.

File metadata

  • Download URL: predictasearch-1.0.1.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for predictasearch-1.0.1.tar.gz
Algorithm Hash digest
SHA256 b145657dd0ff6e4a13041119a61abc650b3ca52c0c875c7faaa6a76d209354ea
MD5 ea24f999383d97a7bffa41c53806b756
BLAKE2b-256 7a6981ce18f91547d042ffbd4fcfb8a9ee5c58649f7debae53e5aadaf7b14461

See more details on using hashes here.

Supported by

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