Metadata-Version: 2.4
Name: vatcheckapi
Version: 0.1.1
Summary: Python client for the vatcheckapi.com API
Author: 
License: MIT
Project-URL: Homepage, https://vatcheckapi.com/
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: requests>=2.28
Requires-Dist: typing-extensions>=4.5; python_version < "3.11"

### vatcheckapi-python

Python client for the `vatcheckapi.com` API.

- Website: [`https://vatcheckapi.com/`](https://vatcheckapi.com/)
 

This SDK supports authentication via `apikey` header (default) or `apikey` query parameter.

### Installation

```bash
pip install vatcheckapi
```

### Quickstart

```python
from vatcheckapi import Client

client = Client(api_key="YOUR_API_KEY")

# Check a VAT number
res = client.check(vat_number="DE123456789")
print(res)

# Get API status/quota
status = client.status()
print(status)
```

### Authentication

```python
# Header-based (default)
client = Client(api_key="YOUR_API_KEY")

# Query parameter based
client_query = Client(api_key="YOUR_API_KEY", auth_in_query=True)
```

### API

- `check(vat_number: str, **params) -> dict`
- `status() -> dict`

### License

MIT


