Skip to main content

Python client for the vatcheckapi.com API

Project description

vatcheckapi-python

Python client for the vatcheckapi.com API.

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

Installation

pip install vatcheckapi

Quickstart

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

# 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

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

vatcheckapi-0.1.1.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vatcheckapi-0.1.1-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file vatcheckapi-0.1.1.tar.gz.

File metadata

  • Download URL: vatcheckapi-0.1.1.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.10

File hashes

Hashes for vatcheckapi-0.1.1.tar.gz
Algorithm Hash digest
SHA256 5c4092fc4df6e64caaa46f231f5e240e843b3d2b79a06da7e7a3464a2f0896f5
MD5 fbd65bba8bf21d486a99d1b72b9d23c8
BLAKE2b-256 a7e95a91228d24775cd9f4291bfc57c74f5678ac8bf982411a65f8d0d0bc61cd

See more details on using hashes here.

File details

Details for the file vatcheckapi-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: vatcheckapi-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.10

File hashes

Hashes for vatcheckapi-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6f593043c6a83650a73d4a9fd5d15525014095563957799abbd1531e018acf36
MD5 c3edd8dfe0f7914af5ed4a2736e2dabe
BLAKE2b-256 52cf2bbf4414901e9b3820fdfa5ce59a4815cd1f961979f423917929ada14c0f

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