SHARKdata is a web service with a REST API to be used for accessing marine environmental monitoring data from the seas surrounding Sweden. SHARKdata also have a web site for documentation and administration where it is possible to access some parts of the data directly.
SHARKdata is build on the concept of datasets. A dataset is a collection of data with a unique identifier and connected metadata that describes the dataset. Is should be possible to assign a version stamp to a dataset. Metadata can, for example, be used by data catalogues like ECDS.
Requests via the REST API are made by URL:s, for example https://sharkdata.smhi.se/datasets/table.txt to get a text table containing all available datasets.
SHARKdata is based on modules and new modules will be developed over time. The module Resources contains administrative data. It can contain files for header translations, screening of data, taxonomic information, etc.
SHARKdata is currently under development and only a limited number of datasets and response formats are available for test.
There is no full API description yet, but these examples can be a start. Click on the links below to test the API.
- Available datasets as a text table:
- Available datasets as a list of JSON objects:
- Available datasets as a JSON object with header and rows:
- Metadata for a dataset in text:
- Metadata for a dataset in JSON:
- Data from a dataset in text:
- Data from a dataset as a JSON object with header and rows:
- Available resources as a text table:
- Available resources as a JSON object with header and rows:
SHARKdata is written in Python 3 and based on the Django web framework. All code developed in the project is open source and published under the MIT license. The code repository can be found here: https://github.com/sharkdata/sharkdata. Please contact us by email to email@example.com if you are developing a client application and want to be notified when we are planning changes to the API.