Citynature.eu offers an open REST API interface that can be used to utilise the information about nature trails from both Helsinki and Tallinn available on the site.

The contents of the website are not available in their entirety through the interface, but prepared route suggestions and waypoints are available for each destination. The routes have different themes (geological path, nature trail for children, tasks for phenomenon-based learning, etc.), which are further described in the contents of the waypoints.

When using the pictures available through the interface, the name of the photographer must be mentioned, in accordance with copyright rules. City of Helsinki reserves the right to all photos related to Helsinki, and City of Tallinn reserves the right to all photos related to Tallinn. The right to use the photo available through this REST API is restricted to only describing the nature route provided on this site. For this purpose, the use of the photos is free of charge. The use of photo or transformation to other purposes is forbidden.

The content for all destinations in Helsinki is available in Finnish, Swedish, English, and Estonian. The content for destinations in Tallinn is available in Finnish, English, Estonian, and Russian.

Technical instructions

The interface is available at https://citynature.eu/api/wp/v2/places

In order to retrieve the destinations for each city from the interface, the parameter ‘cityid’ must be entered. For destinations in Helsinki in Finnish, for example, can be retrieved using the interface request https://citynature.eu/api/wp/v2/places?cityid=5

The request replies with:

  • the destination ID
  • the title of the destination
  • the URL in the citynature.eu service
  • routes for the destination
  • waypoints for the destination
  • descriptions of the waypoints in html format

City interface

The city ID’s are retrievable from the interface https://citynature.eu/api/wp/v2/cities. In order to acquire the ID’s in the desired language, the parameter ‘lang’ must be given. For example: https://citynature.eu/api/wp/v2/cities?lang=fi

The lang parameter options are:

  • fi (Finnish)
  • en (English)
  • et (Estonian)
  • sv (Swedish)
  • ru (Russian)

Data and Resources

Additional information

Administrator Helsingin kaupunkiympäristön toimiala / Ympäristöpalvelut
Administrator's webpage http://www.citynature.eu/
Published 08.06.2018
Update frequency
More information
  1. http://www.hel.fi/nattours
  2. https://citynature.eu/fi/kehittajille/
Categories
Data collections
Tags
Geographical coverage
License Creative Commons Attribution 4.0
How to reference Source: Helsinki and Tallinn nature trails. The maintainer of the dataset is Helsingin kaupunkiympäristön toimiala / Ympäristöpalvelut. The dataset has been downloaded from Helsinki Region Infoshare service on 21.11.2024 under the license Creative Commons Attribution 4.0.
comments powered by Disqus