Kadaster - KIK Inzage API Python client
Features
- Fully typed client for the Kadaster KIK Inzage API version 6.0
- Asyncio support with httpx
Requirements
- Pydantic V2
- httpx
Installation
You can install _ Kadaster - KIK Inzage API Python client_ via pip from PyPI:
$ pip install kadaster-kikinzage-client
Usage
import os
from kikinzage.client import DefaultClient,AsyncClient
from kikinzage.models import Formaat, Eigendomsinformatie
def create_client(client_class):
client = client_class(
# required
password=os.getenv("KIK_PASSWORD"),
username=os.getenv("KIK_PASSWORD"),
# for testing
# base_url="https://service10.kadaster.nl/kik-inzage-eto/v6/"
base_url="https://service10.kadaster.nl/kik-inzage/v6/",
# optional defaults added to each request when available
formaat=Formaat.PDF_JSON,
klantreferentie="Standaard klantreferentie",
hyperlinkopproduct=True,
inkoopnummer="Standaard inkoopnummer",
gebruikeridentificatie="Standaard gebruikeridentificatie",
)
return client
kik = create_client(DefaultClient)
info: Eigendomsinformatie = kik.eigendomsinformatie_postcode("4884ME", "16")
async with create_client(AsyncClient) as kik:
info_async: Eigendomsinformatie = await kik.eigendomsinformatie_kadastraalobjectidentificatie("BRD01K:G:0000", "1")
Contributing
Contributions are very welcome. To learn more, see the Contributor Guide.
License
Distributed under the terms of the MIT license, _ Kadaster - KIK Inzage API Python client_ is free and open source software.
Issues
If you encounter any problems, please file an issue along with a detailed description.
Credits
This project was generated from @cjolowicz's Hypermodern Python Cookiecutter template.
Metadata
Release files for kadaster-kikinzage-client 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kadaster_kikinzage_client-0.3.0.tar.gz | 16.6 kB | Without provenance | Details for kadaster_kikinzage_client-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kadaster_kikinzage_client-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for kadaster_kikinzage_client-0.3.0-py3-none-any.whl |
Total release size: 39.5 kB
Release files / kadaster_kikinzage_client-0.3.0.tar.gz
| Download URL | kadaster_kikinzage_client-0.3.0.tar.gz |
|---|---|
| Size | 16.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3d4e7d263fe8e881bd5cf016d2835618a1920b7b21e676d3d26b9e55f09cf294
|
|
BLAKE2b-256 checksum How to use checksums |
54cbb058b68f35808979feec5deced8b842244d5a75a00b86dca544ab716370f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.4
|
Release files / kadaster_kikinzage_client-0.3.0-py3-none-any.whl
| Download URL | kadaster_kikinzage_client-0.3.0-py3-none-any.whl |
|---|---|
| Size | 23.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1e468f3de6e17bf953a8f74ec82e42f4ba96e6581d8ebd2bd162258386e4767d
|
|
BLAKE2b-256 checksum How to use checksums |
a9f8512842f2c61db6d634dd4f5483921bdeb8b16b7d5be01d6a641cacc0fe5d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.4
|
Security for kadaster-kikinzage-client 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.