Skip to main content

calcasa.api

The Calcasa API is used to connect to Calcasa provided services. For more information, please visit Documentation or GitHub.

This Python package is automatically generated by the OpenAPI Generator project:

  • API version: 1.6.1
  • Package version: 1.6.1
  • Generator version: 7.23.0
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen For more information, please visit https://www.calcasa.nl/contact

Requirements.

Python 3.10+

Installation & Usage

pip install

If the python package is hosted on a repository, you can install directly using:

pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)

Then import the package:

import calcasa.api

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import calcasa.api

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import calcasa.api
from calcasa.api.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://api.calcasa.nl/api/v1
# See configuration.py for a list of all supported configuration parameters.
configuration = calcasa.api.Configuration(
    host = "https://api.calcasa.nl/api/v1"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

configuration.access_token = os.environ["ACCESS_TOKEN"]


# Enter a context with an instance of the API client
with calcasa.api.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = calcasa.api.AdressenApi(api_client)
    bag_nummeraanduiding_id = 56 # int | Een BAG Nummeraanduiding ID om een adres te specificeren.

    try:
        # Adres info op basis van BAG Nummeraanduiding Id.
        api_response = api_instance.get_adres(bag_nummeraanduiding_id)
        print("The response of AdressenApi->get_adres:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling AdressenApi->get_adres: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://api.calcasa.nl/api/v1

Class Method HTTP request Description
AdressenApi get_adres GET /adressen/{bagNummeraanduidingId} Adres info op basis van BAG Nummeraanduiding Id.
AdressenApi search_adres POST /adressen/zoeken Zoek adresinformatie op basis van het opgegeven adres.
BestemmingsplannenApi get_bestemming_by_id GET /bestemmingsplannen/{bagNummeraanduidingId} Gegevens over de bestemmingsplannen op de locatie van een adres (BAG Nummeraanduiding ID).
BodemApi get_bodem_by_id GET /bodem/{bagNummeraanduidingId} Gegevens over de bodemkwaliteit op de locatie van een adres (BAG Nummeraanduiding ID).
BuurtApi get_buurt GET /buurt/{buurtCode} Gegevens over een buurt en de wijk, gemeente en land waarin deze buurt gesitueerd is.
CallbacksApi add_or_update_callback_subscription POST /callbacks/inschrijvingen Voeg een callback inschrijving toe (of werk bij) voor de huidige client voor een adres.
CallbacksApi delete_notification_subscription DELETE /callbacks/inschrijvingen/{bagNummeraanduidingId} Verwijder de callback inschrijving voor deze client, dit adres en optioneel een geldverstrekker.
CallbacksApi get_notification_subscription GET /callbacks/inschrijvingen/{bagNummeraanduidingId} Haal de callback inschrijving op voor deze client, dit adres en eventueel opgegeven geldverstrekker.
CallbacksApi get_notification_subscriptions GET /callbacks/inschrijvingen Haal de callback inschrijvingen binnen voor deze client.
ConfiguratieApi get_callback_authentication GET /configuratie/callbacks/authentication Haal de geconfigureerde callback authenticatie op voor de huidige client.
ConfiguratieApi get_callbacks GET /configuratie/callbacks Haal de geconfigureerde callback URL's op voor de huidige client.
ConfiguratieApi get_mtls_certificate GET /configuratie/callbacks/mtls-certificate Get the self-signed mTLS certificate.
ConfiguratieApi get_signature_keys GET /configuratie/callbacks/signature-keys Get the JWKS keys, deze kunnen worden gebruikt om de echtheid van webhooks te verifiëren.
ConfiguratieApi post_callback_authentication POST /configuratie/callbacks/authentication Update de geconfigureerde callback authenticatie voor de huidige client.
ConfiguratieApi update_callbacks POST /configuratie/callbacks Configureer callback URL voor een specifieke API versie voor de huidige client.
FacturenApi get_factuur GET /facturen/{id} Factuur op basis van een waardering Id.
FileSetsApi confirm_inbound_file_set_by_id POST /file-sets/inbound/{inboundFileSetId} Confirm an inbound file set after it has been fully uploaded.
FileSetsApi create_inbound_file_set POST /file-sets/inbound Create a new inbound file set.
FileSetsApi delete_outbound_file_set_by_id DELETE /file-sets/outbound/{outboundFileSetId} Delete an outbound file set after it has been correctly received. If an outbound file set is not downloaded and deleted within 48 hours, it will expire and all its contents will be deleted automatically.
FileSetsApi get_file_set_limits GET /file-sets/limits Get file set limits.
FileSetsApi get_inbound_file_set_by_id GET /file-sets/inbound/{inboundFileSetId} Get a specific inbound file set by its ID.
FileSetsApi get_inbound_file_sets GET /file-sets/inbound Get all inbound file sets.
FileSetsApi get_outbound_file_by_index GET /file-sets/outbound/{outboundFileSetId}/{fileIndex} Get a specific outbound file content by its index within a file set.
FileSetsApi get_outbound_file_set_by_id GET /file-sets/outbound/{outboundFileSetId} Get a specific outbound file set by its ID.
FileSetsApi get_outbound_file_sets GET /file-sets/outbound Get all outbound file sets.
FileSetsApi put_file_chunk PUT /file-sets/inbound/{inboundFileSetId}/{fileIndex}/{chunkIndex} Upload a specific file chunk for an inbound file set.
FotosApi get_foto GET /fotos/{id} Foto op basis van een foto Id.
FunderingenApi get_fundering_by_id GET /funderingen/{bagNummeraanduidingId} Gegevens over de fundering op de locatie van een adres (BAG Nummeraanduiding ID).
GeldverstrekkersApi get_geldverstrekkers GET /geldverstrekkers/{productType} Alle geldverstrekkers die te gebruiken zijn voor aanvragen.
RapportenApi get_rapport GET /rapporten/{id} Rapport op basis van waardering Id.
WaarderingenApi check_producten POST /waarderingen/check Controleert mogelijke producten.
WaarderingenApi create_waardering POST /waarderingen Maak een waardering aan.
WaarderingenApi get_waardering GET /waarderingen/{id} Waardering op basis van Id.
WaarderingenApi get_waardering_by_report_hash GET /waarderingen/by-hash/{hash} Waardering op basis van upper-case hex SHA-256 hash van een PDF rapport. Als er een collision is wordt de nieuwste waardering teruggegeven.
WaarderingenApi get_waardering_ontwikkeling GET /waarderingen/{id}/ontwikkeling Waardering ontwikkeling op basis van waardering Id.
WaarderingenApi patch_waarderingen PATCH /waarderingen/{id} Patcht een waardering.
WaarderingenApi search_waarderingen POST /waarderingen/zoeken Zoek waardering op basis van input parameters.

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

oauth

  • Type: OAuth
  • Flow: application
  • Authorization URL:
  • Scopes:
  • api:adressen:read:
  • api:bestemmingsplannen:read:
  • api:bodem:read:
  • api:buurt:read:
  • api:callback:read:
  • api:callback:write:
  • api:configuratie:read:
  • api:configuratie:write:
  • api:facturen:read:
  • api:file-set:inbound:read:
  • api:file-set:inbound:write:
  • api:file-set:outbound:read:
  • api:file-set:outbound:write:
  • api:fotos:read:
  • api:funderingen:read:
  • api:geldverstrekkers:read:
  • api:rapporten:read:
  • api:waarderingen:read:
  • api:waarderingen:patch:
  • api:waarderingen:ontwikkeling:
  • api:waarderingen:create:

Author

info@calcasa.nl

Metadata

Release files for calcasa.api 1.6.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for calcasa.api 1.6.1
File Size Uploaded Provenance Actions
calcasa_api-1.6.1.tar.gz 89.4 kB Without provenance Details for calcasa_api-1.6.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for calcasa.api 1.6.1
File Interpreter ABI Platform Actions
calcasa_api-1.6.1-py3-none-any.whl Python 3 none any Details for calcasa_api-1.6.1-py3-none-any.whl

Total release size: 319.9 kB

Release files / calcasa_api-1.6.1.tar.gz

Download URL calcasa_api-1.6.1.tar.gz
Size 89.4 kB
Tags Source
SHA-256 checksum
How to use checksums
cc936af16bce55636095d83e53cce0cac703d33c9a123e39e30b61ad6585e66b
BLAKE2b-256 checksum
How to use checksums
78b6dc0b718f326c970fab38ad4c22834affdafd7b4429d34d891b76f720ab12
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.6

Release files / calcasa_api-1.6.1-py3-none-any.whl

Download URL calcasa_api-1.6.1-py3-none-any.whl
Size 230.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e92c7f206d9f107f6a719f4731322b400c2c770cf5146dc8fff683e68ed267b3
BLAKE2b-256 checksum
How to use checksums
e037883a4d30a0de937d5c5e40617111754b96500fa3c87e30cfee9be3725860
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.6

Security for calcasa.api 1.6.1

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.

Release history Release notifications | RSS feed

This release

1.6.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page