Table of contents






User Creation 

Getting started guide:

Before you start consuming data from the API, we ask you to:

  1. Register as a user in DMI's Developer Portal
  2. Register an application in the Developer Portal and get your "API Key"
  3. 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
StepActionScreen dump
1.1
  1. Go to https://dmiapi.govcloud.dk (please open the link in another window).
  2. Press the Login icon in the top right.
  3. Press "Register" to register as a new user.


1.2
  1. Type in the necessary fields in the registration formular
  2. Press "Register" when you are done.


1.3

Please read the terms and conditions

Press Accept

Note: After this, you have an account in Gravitee. Don't leave the window, because you need to continue in step 2.

2. Subscribe to Services

  • 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
StepActionScreen dump
2.1
  1. Continue in the same window from step 1 - or go to https://dmiapi.govcloud.dk
  2. Click on the API gallery icon in the top left
  3. Choose the service you wish to subscribe to, e.g. metObsAPI
  4. Press the subscribe icon


2.2
  1. Click the select an application drop down menu  and choose Default application
  2. Press the Subscribe icon

2.3
  1. Find your API Key under "step 3".
  2. Copy the API key and save the key somewhere safe. You will need it every time you make an API request. You can always log back onto the developer platform on https://dmiapi.govcloud.dk and find the API Key under your subscriptions.
  3. Please note that you need seperate API keys for each API, that you wish to subscribe to.
  4. Try to use the API Key in a query. Se Request / Response Examples for the desired service, where you can see how to generate your request - including how to incorporate your API Key into the request.



Retrieve your API Key

StepActionScreen dump
1
  1. Go to The Login Page
  2. Press Login

3

If you are not logged in (and you are presented with the screenshot on the right), follow the sub-steps below: 

  1. Type in your email and password
  2. Press Log In

4
  1. Press on the user icon in the top right
  2. Press "Applications"

5
  1. Press on the "Key" icon in the left sidebar menu, which presents your "Subscriptions".

6
  1. Under subscriptions press on the API, for which you would like to know your API Key (for example: metObsDMI")

7
  1. Find your API Key under "API Keys" in the buttom.
  2. Copy the API key
  3. Try to use the API Key in a query by going to Request & Response Examples page for the service for a guide on how to generate your request - including how to incorporate your API Key into the request



If you have forgotten your password

StepActionScreen dump
1
  1. Go to The Login Page
  2. Press Forgot Password

2
  1. Type in your email
  2. Press Submit
  3. Now you will receive an email from us with instructions on how to create a new password. Follow these instructions.


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.





  • No labels