Skip to main content

VKN Sorgula API icin resmi Python SDK - Vergi Kimlik Numarasi ile firma sorgulama.

Project description

VKN Sorgula — Python SDK

VKN Sorgula API icin resmi Python istemcisi.

Kurulum

pip install vknsorgula

Gereksinim: Python 3.8+

Kullanim

from vknsorgula import VknSorgula, NotFoundError

client = VknSorgula("YOUR_API_KEY")

try:
    company = client.company("0123456789")
    print(company["unvan"])          # ORNEK FIRMA A.S.
    print(company["vergi_dairesi"])  # KADIKOY
except NotFoundError:
    print("Firma bulunamadi.")

Kota bilgisi

quota = client.quota()
print(quota["remaining"])

Yapilandirma

client = VknSorgula(
    "YOUR_API_KEY",
    base_url="https://vknsorgula.net",
    timeout=15,
)

Istisnalar

Sinif HTTP Aciklama
ValidationError 400 Gecersiz VKN formati
AuthenticationError 401 Gecersiz / eksik API anahtari
NotFoundError 404 Firma bulunamadi
RateLimitError 429 Rate limit veya kota asildi
ApiError 5xx Sunucu hatasi (taban sinif)

Lisans

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

vknsorgula-1.0.0.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

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

vknsorgula-1.0.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file vknsorgula-1.0.0.tar.gz.

File metadata

  • Download URL: vknsorgula-1.0.0.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for vknsorgula-1.0.0.tar.gz
Algorithm Hash digest
SHA256 1ff38ddad30f96c917a28c1afec39f825bc1024e0d8c7032a3f8135fa887f3b8
MD5 076569c0766a18d859b14a629960e759
BLAKE2b-256 9a3923645ce0152ddc0c5bfad31496ffd4b309555cfdb77ff5be957a3246020f

See more details on using hashes here.

File details

Details for the file vknsorgula-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: vknsorgula-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for vknsorgula-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d01bcdcbb593cd103be3ba3940579fa10f0f435cb194f390a4fa0d0f812e177a
MD5 ade1fa9148762287b6b105bfa828f91f
BLAKE2b-256 1390bebdc79735773273b447c09b340f3b9a062e5469232fa8bc473b841a87cf

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