Open Klant Client
- Version:
0.8.0
A Python client library for interacting with the Open Klant API.
Installation
pip install open-klant-client
Usage
Initialize the client with your API endpoint and token:
from openklant_client import OpenKlantClient
client = OpenKlantClient(
base_url="https://example.com/klantinteracties/api/v1",
token="your_api_token"
)
List resources
# List all partijen
partijen = client.partij.list()
# List klantcontacten with filters
contacten = client.klant_contact.list(params={"onderwerp": "vraag"})
# Auto-paginate through all results (max_requests=None means paginate until all rows are retrieved)
for partij in client.partij.list_iter(max_requests=10):
print(partij)
Get a specific resource
# Get a partij by UUID
partij = client.partij.get(uuid="123e4567-e89b-12d3-a456-426614174000")
Create a resource
# Create a new actor
actor = client.actor.create(
data={
"naam": "John Doe",
"soortActor": "medewerker",
"indicatieActief": True,
"actoridentificator": {
"objectId": "123456",
"codeObjecttype": "employee",
"codeRegister": "hr",
"codeSoortObjectId": "id",
},
}
)
Metadata
Release files for open-klant-client 0.8.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 | |
|---|---|---|---|
| open_klant_client-0.8.0.tar.gz | 29.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| open_klant_client-0.8.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 62.5 kB
Release files / open_klant_client-0.8.0.tar.gz
| Download URL | open_klant_client-0.8.0.tar.gz |
|---|---|
| Size | 29.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6fb03af52ff97c16881dd45ffb90ca503b78774b349682151a310051fd9981c2
|
|
BLAKE2b-256 checksum How to use checksums |
0e8fbd95bdece84f197df8a9adf04714dafbb510eb53a5075369464c86147fae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 10, 2026.
Transparency logRelease files / open_klant_client-0.8.0-py3-none-any.whl
| Download URL | open_klant_client-0.8.0-py3-none-any.whl |
|---|---|
| Size | 33.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0da32bf7f865aab9f5f94ef6bb9cd36e5bfff98bb0256cce1fee845ee0f242a8
|
|
BLAKE2b-256 checksum How to use checksums |
b90b871ffd709ea0e60ae5663c7616cbf0b8f4c5c0de5154a113dbd087d622ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 10, 2026.
Transparency log