CKWOpenData
home
CKW API to access to CKW Open Data.
The information is grouped by areas. Currently we have the following:
- netzinformationen: Open data about the electricity network.
For security reasons the API has concurrence limits (take it in consideration for a correct retry policy).
Authentication
Request Token
The api requires authentication with a valid jwt token from Microsoft. The token can be requested from the microsoft endpoint.
Azure Tenant: ckwgruppe.onmicrosoft.com or 4abcb15f-9fd7-4a13-ac16-3d55a64fa21e
Host: https://login.microsoftonline.com/{{azure.tenant}}/oauth2/v2.0/token
Authentication: Basic auth with {{user}} {{password}}
body:
grant_type:client_credentials
scope:{{user}}/.default
API Requests
The token has to be sent with each request according to the api specification.
Authorization: Bearer <token>
CKW API für den Zugang zu CKW Open Data.
Die Informationen sind nach Bereichen gruppiert. Zurzeit haben wir die folgenden:
- Netzinformationen: Offene Daten über das Elektrizitätsverteilnetz.
Aus Sicherheitsgründen hat die API eine Beschränkung des Zugriffs (bitte beachten Sie dies für eine korrekte Logik für Neuversuche).
Authentifizierung
Token Anfordern
Endpunkte für Postanforderungen sind gesichert und erfordern eine gültige JWT-Token-Authentifizierung von
Microsoft.
Azure Mandant: ckwgruppe.onmicrosoft.com oder 4abcb15f-9fd7-4a13-ac16-3d55a64fa21e
Host: https://login.microsoftonline.com/{{azure.tenant}}/oauth2/v2.0/token
Authentifizierung: Basic auth mit {{benutzer}} {{passwort}}
body:
grant_type:client_credentials
scope:{{benutzer}}/.default
API Abfragen
Der token muss mit jeder Anfrage mitgeschickt werden wie in der Spezifikation beschrieben.
Authorization: Bearer <token>