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.3.tar.gz (62.5 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: onepage-0.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 96a50ddeb49458ed5533d7eb862f69a4c1a637bae2c87407d43e8142f2507493
MD5 d5796f800926dd3b020df0ecdff825f8
BLAKE2b-256 1d1f466a3e509dd0689bf05942f663994aef8dcd8108b58d04dde8cec53ce448

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