DATAtourisme

API Access for Application

Hello,

I have an application linked to a feed.

I can see in the Download history that the webservice downloads are working through
the platform UI, but when I try to access the webservice URL programmatically,
I get 403 Forbidden errors.

Is there something else I have to do

Thank you!

Hi,

You need to add your own key to access the URL. See this post screenshot

Hope this helps.

Fred

1 « J'aime »

Merci @Fred_JANON pour votre réponse. J’ai déjà fait tout ça, mais ça marche pas!!

J’ai créé mon compte et plusieurs applications sur la plateforme DATAtourisme,
mais je n’arrive pas à accéder aux données de manière programmatique :

Clé API personnelle : fdd3205e*******
→ Retourne 401 sur https://api.datatourisme.fr/v1/entertainmentAndEvent

Applications créées :

  • appname_Server (Heavy application) : 6fbc25b6-9dcc-********
    → Retourne 403 sur le webservice diffuseur

Pourriez-vous activer l’accès API pour mon compte ? J’ai besoin d’une
synchronisation automatique quotidienne des événements dans mon application.

Merci d’avance !

Est-il possible que j’obtienne une réponse claire du support, ou dois-je attendre encore ?

Bonjour @Tech_RAFIK

Comme indiqué par @Fred_JANON l’url d’accès à votre flux est composé ainsi :
https://diffuseur.datatourisme.fr/webservice/{flux_key}/{app_key}
Avez vous bien assemblé ces deux éléments dans votre appel ?
Le flux retourne un fichier compressé avec les données au format demandé