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
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ff38ddad30f96c917a28c1afec39f825bc1024e0d8c7032a3f8135fa887f3b8
|
|
| MD5 |
076569c0766a18d859b14a629960e759
|
|
| BLAKE2b-256 |
9a3923645ce0152ddc0c5bfad31496ffd4b309555cfdb77ff5be957a3246020f
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d01bcdcbb593cd103be3ba3940579fa10f0f435cb194f390a4fa0d0f812e177a
|
|
| MD5 |
ade1fa9148762287b6b105bfa828f91f
|
|
| BLAKE2b-256 |
1390bebdc79735773273b447c09b340f3b9a062e5469232fa8bc473b841a87cf
|