Metadata-Version: 2.1
Name: onepage
Version: 0.0.6
Summary: Tools for token validation and intelligent search integration.
Author: OAYAW, Inc
Author-email: "OAYAW, Inc" <hello@get1page.com>
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.11
Description-Content-Type: text/markdown

### 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.

```bash
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:
```bash
pytest
```

