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

Uploaded Source

File details

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

File metadata

  • Download URL: onepage-0.0.2.tar.gz
  • Upload date:
  • Size: 61.6 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.2.tar.gz
Algorithm Hash digest
SHA256 01d0e2e9f440952cf1e4b5c56ab3ceae6e864f7356154a7fc7be31cfe1261a30
MD5 70ec399b02fb739199e45d5bc908b561
BLAKE2b-256 24ad816a02a92c4c8ef3bcbf70e54a03bd85b0f89e412c3e61c501c21ec3750d

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