Skip to content

API SIRI LiA API

by Réseau de transport en commun Le Havre Seine Métropole LiA

API keyHTTPSGovernment
Open documentation ↗

Overview

Les fonctions de l’API sont: * SIRI requête RequeteCheckStatus * SIRI requête LinesDiscovery * SIRI requête StopPoint Discovery. * SIRI requête StopMonitoring * SIRI requête GeneralMessage * SIRI requête CancelSubscribe * SIRI abonnement StopMonitoring * SIRI abonnement GeneralMessage [Lien vers la documentation.\ ](https://opendata.siri.transports-lia.fr/Documentation.html)[Lien vers le requeteur en ligne.](https://opendata.siri.transports-lia.fr/) Connecteur : opendata\ Préfixe des interrogations: LIAOD.

API SIRI LiA is a government API from Réseau de transport en commun Le Havre Seine Métropole LiA. Requests are authenticated with an API key. It is served over HTTPS.

At a glance

Authentication
API key
HTTPS
Yes
CORS
Unknown
Category
Government
Base URL
https://opendata.siri.transports-lia.fr/api?wsdl

Make a first request

Replace the placeholders; the documentation says exactly where credentials go.

cURL
curl -X GET "https://opendata.siri.transports-lia.fr/api?wsdl" \
  -H "Accept: application/json" \
  -H "X-API-Key: YOUR_API_KEY"
JavaScript
const response = await fetch("https://opendata.siri.transports-lia.fr/api?wsdl", {
  method: "GET",
  headers: {
    "Accept": "application/json",
    "X-API-Key": "YOUR_API_KEY",
  },
});
const data = await response.json();
console.log(data);
Python
import requests

response = requests.request(
    "GET",
    "https://opendata.siri.transports-lia.fr/api?wsdl",
    headers={
    "Accept": "application/json",
    "X-API-Key": "YOUR_API_KEY",
    },
    timeout=30,
)
print(response.json())

Questions

Does the API SIRI LiA API need an API key?

Yes. The API SIRI LiA API uses API key authentication; the documentation explains how to get credentials.

Does the API SIRI LiA API support HTTPS?

Yes, the API SIRI LiA API is served over HTTPS.

What are alternatives to the API SIRI LiA API?

Other Government APIs include EPA, UK Companies House, Open Government, Canada, Federal Register, Census.gov.

Compare alternatives →

Listed from data.gouv.fr (Licence Ouverte).