Table of contents
The sign up and login flows below have been tested with Firefox, Chrome and Edge (Chromium based), so any of those are known to work.
After API subscription the API key is used for calling the APIs and a web browser is no longer required. Any client that can perform HTTP calls should work.
Getting started guide:
Before you start consuming data from the API, we ask you to:
- Register as a user in DMI's Developer Portal
- Register an application in the Developer Portal and get your "API Key"
- Save the API key somewhere safe, because you need it every time you make a request for the API. Otherwise you will not be authorized by the API.
1. Register as a user
- Purpose: The goals is to get registered as a user in DMI's Developer Portal
- When you are done: You are not completely done after step 1 - you just have a user and a password. You still need to go through step 2
Please read the terms and conditions
Note: After this, you have an account in Gravitee. Don't leave the window, because you need to continue in step 2.
2. Get your API Key
- Purpose: The goal of this step is to get you "API Key", which is a password, you need every time you make a request for DMI's API. Otherwise you will not get authorized by the API.
- Other information: The API Key is linked with an application that uses the API.
- When you are done with this step: When you are done with this step, you can start using the API
Find your API Key
If you are not logged in (and you are presented with the screenshot on the right), follow the sub-steps below:
Retrieve your password if you have forgotten your password
Deleting your account
If you wish to delete your user to DMI’s open API-services, please contact us by using the contact form at https://www.dmi.dk/kontakt/frie-data/ Please state that you wish to have your account deleted and specify the email of the user account.
You will receive a confirmation once your account has been deleted. Processing time can be up to 5 working days.
About User Access Management
Description of the concepts of User Access Management for DMI's APIs
This section briefly introduces User Access Management for users of DMI's APIs.
DMI's Open Public Data APIs use Gravitee for User Access Management. Gravitee uses some concepts for handling user access management:
Consumer / User
When you use the API, you are a "consumer". Information about the consumer is represented in your user account with the following information:
- User type (citizen | company | government | union)
- Name (e.g. "Anders Andersen", "TV2/DANMARK A/S", "Digitaliseringsstyrelsen" or "FOA")
- CVR number (only relevant for companies or government entities)
- Business type (only relevant for companies or government entities)
- E-mail (used when you want to login to the development portal)
- Password (used when you want to login to the development portal)
A consumer application is an intermediate level between a consumer and an API and is used by the consumer to subscribe to that API before being able to consume it. As a consumer, you can have several applications. An application can consume data from different APIs by subscribing to the APIs through a so-called "plan".
An API in Gravitee's terminology refers to an API Service such as for example the Meteorological Observation (metObs) service. There can be several plans for one API, but in most cases, DMI will only have a single plan for one API, since all functionality is free.
Illustration: The model below illustrates the relationship between an "Application", a "Plan" and and API.
- No labels