Apidae Logo
An touristic object
Module confiiguration

About this module

Apidae Tourisme (formerly known as SITRA) is a french touristic information network : https://www.apidae-tourisme.com/

This module provide a bridge between Apidae Tourisme API and Drupal.

A new content type « Objet Touristique » will hold the content.

Prerequisite

Drupal modules :

  • telephone
  • geolocation
  • address
  • link

Installation

Download this module with composer and install it with drush or through the UI.

Configuration

Head to /admin/config/services/apidae

You'll need information from your apidae backoffice :

  • API Key
  • Project ID
  • Selections list IDs (commas separated)

If the module content_translation is enable, you can enable the translation of object_touristique bundle and therefore the translations will be imported.

Drush integration

Since 2.1.3, a new drush command has been added to sync apidae content :
drush apidae:sync
You can also force update with :
drush apidae:sync --force-update

Submodules

apidae_tourisme_selections

Only on 2.2.6+
Sync the the selections that an objet touristique belong to, to the node

This submodule has been sponsored by the Agence Gardeners

apidae_tourisme_criteres

Only on 2.2.0+

This module add a new field to node bundle « objet_touristique » to sync apidae's « critères interne » using a taxonomy that will be created during module installation.

This submodule has been sponsored by the Communauté d'Agglomération du Pays de Grasse

apidae_tourisme_dates

Only on 2.1.0+

This module add a new field to node bundle « objet_touristique » to sync apidae's date information.

It also provide a template to display the information as you need.

apidae_tourisme_examples

This module should stay disabled, it provides two code samples showing how to subscribe to main module's event in order to sync new data.

Supporting organizations: 
Providing free time to work on this module

Project information

Releases