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 public API class
api = Insights()
# 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
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.5.tar.gz
(62.3 kB
view details)
File details
Details for the file onepage-0.0.5.tar.gz.
File metadata
- Download URL: onepage-0.0.5.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 |
38a42ea600c0a009e1ddd8e13ad6221be9c2a0230d4da9a0a94db986b1e877c8
|
|
| MD5 |
7a6ceb179bc1355a8162d4756afb4154
|
|
| BLAKE2b-256 |
5e7f843d31da55ccfc7ba249fa084abf7a2d17d2581301c063f1971074f27c5a
|