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 import Insights
# Create an instance of the Insights class
api = Insights()
# Validate a token
token = "your_api_token_here"
result = api.validate_token(token)
print(result)
# Search for person or company insights by providing email, domain or LinkedIn URL
search_result = api.search(token, "email or domain or LinkedIn url")
print(search_result)
Running Tests
To run tests, ensure you have pytest installed and use the following command:
pytest
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.6.tar.gz
(62.3 kB
view details)
File details
Details for the file onepage-0.0.6.tar.gz.
File metadata
- Download URL: onepage-0.0.6.tar.gz
- Upload date:
- Size: 62.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
942f97b41064ab65e58a35088d079feb4e45db00d23f7686be27c422825ede0d
|
|
| MD5 |
d109a8a7d80d6ea7dab9de60235cf255
|
|
| BLAKE2b-256 |
8680c939b62c7a16e2e71caab960f191ba10b866d5f3ba96f3708f053fef3f44
|