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")

# Validate a VAT number
res = client.validate(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

  • validate(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.0.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.0-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vatcheckapi-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 35027b00ba7200f1e4137a19ed53f717eb1d4ad32e7508d5c66baa895b5b083d
MD5 5809d5f6323544811b7c945b8e7aa05a
BLAKE2b-256 939c4427a405199b40edba39c8f354f1956a3bc4e4a99e77047dbdec9cdb4a2f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vatcheckapi-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 956388de193d6f9292660be8b40e4c7669304e47779d0f3b79aa269a8c142ce6
MD5 2e51d4f11ee9e54df161f89343a44a92
BLAKE2b-256 39152aa7ca099eb5f8af3ff847438fe390f0f720f6e55ebdbb012ebc2160c9d8

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