DMI provides its various datasets to be consumed in two ways: either through an API or by downloading the data as one or more files. It is fully up to you which you prefer to use.
Regardless of which way you wish to consume DMI's data, you have to:
A guide explaining how to do the steps above can be found on the Authentication page. Once this has been done, you have free access to the dataset of which you subscribed and acquired your API key. There are no limits on how many applications and subscriptions you can have.
The data of each of the API's has documentation on what it represents, its models, abstractions and terminology. These can be found under Data in the left menu. For reference, here are the direct links:
If you want to explore the dataset in a more hands-on way before you write any code, you can install and run our dedicated QGIS plugin. If you don't want to install the plugin, the API's are supported directly in QGIS, albeit with fewer features. To see how, follow our guide on how to open the dataset in QGIS.
Our API's follow the OGC API - features standard to make it as easy as possible to use existing tools to work with our data. Even if your favorite tools do not support OGC API - features directly, it builds upon well known standards such as OpenAPI and GeoJSON which are generally well supported.
If you are already familiar with REST API's, you should probably go to the page for the API that contains the data you are interrested in and use the swagger link to test and get help with the type of requests you can make.
If not, you should probably start by looking at the Query primer page. When you have read and understood that, go to API page for the service and see the 'Query parameters' section to learn how to use the API of your choice. The exact structure of a response is also shown on that page.
You can also find guides, examples and packages/libraries made by other users by going to Third-party Examples. Be aware that DMI does not support or provide any guarantees on the content found under user application examples.
As stated above, you will need your API key in order to download the data as one or more files. See Download for more information.
Our API's will not be subject to big breaking changes, because they adhere to the OGC API - features standard. We continuously develop and improve these API's, so minor changes and bug fixes might change the behavior of the API. If you suspect your integration has broken due to changed behavior, please check Release Notes where we announce released changes that might affect your integration.
For operational status, see API Status & Contact.
|
|