Skip to main content

Tools for token validation and intelligent search integration.

Project description

OnePage

1Page component helps end users or applications get insights about people and companies by providing email, domain or LinkedIn urls. This component needs API key that can be obtained from https://web.1pageplus.com

Usage

Importing the Library

You can import the library’s public API to interact with the tools.

from onepage_tools import PublicAPI

# Create an instance of the public API class
api = PublicAPI()

# Validate a token
token = "your_api_token_here"
result = api.validate_token(token)
print(result)

# Search for a person or company
search_result = api.search(token, "company or person query")
print(search_result)

Running Tests

To run tests, ensure you have pytest installed and use the following command:

pytest

**Compiling with Cython ** The internal logic of this library has been compiled using Cython to improve security and performance. To recompile or build the package, run:

python setup.py build_ext --inplace

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

onepage-0.0.4.tar.gz (62.5 kB view details)

Uploaded Source

File details

Details for the file onepage-0.0.4.tar.gz.

File metadata

  • Download URL: onepage-0.0.4.tar.gz
  • Upload date:
  • Size: 62.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for onepage-0.0.4.tar.gz
Algorithm Hash digest
SHA256 f487778fbb6082cc5efce3d050aa2fc46b7f17dc05651969afcf48699e140b1e
MD5 63b9d844cd70ba8e5d2c029d1f35039f
BLAKE2b-256 bff6bef0d5a63b4c92c258f43b352e9d6633aa52693c28b2e56d980e171a1ca2

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