Description
Alerts from the Loire-Atlantique Department mobility portal for major events (rare).
They are also available directly in format:
- RSS 1.0: HTTP://INFOROUTES.LOIRE-ATLANTIQUE.FR/PLUGINS/INFOROUTESPLUGIN/JSP/API/ALERTES/1.0/RSS1.0.JSP
- RSS 2.0: HTTP://INFOROUTES.LOIRE-ATLANTIQUE.FR/PLUGINS/INFOROUTESPLUGIN/JSP/API/ALERTES/1.0/RSS2.0.JSP
- ATOM 1.0: HTTP://INFOROUTES.LOIRE-ATLANTIQUE.FR/PLUGINS/INFOROUTESPLUGIN/JSP/API/ALERTES/1.0/ATOM1.0.JSP
Without a specified parameter, the resulting stream returns all available alerts. It is possible to indicate in parameter alert categories in order to filter the result stream.
The categories of alerts are:
- Info routes (value: “inforoutes”)
- Saint-Nazaire Bridge (value: “pontstnaz”)
- Loire tanks (value: “bacs”)
- Winter conditions (value: “winter conditions”)
- Cycle paths (value: “cycle paths”)
Thus, to limit the flow to a given alert type, the filter category parameter(s) should be added to the call URL(s) in the “cat” parameter. For example, to get only alerts about the info routes or the St Nazaire bridge in a stream in Atom 1.0 format, the call URL must be: http://inforoutes.loire-atlantique.fr/plugins/InforoutesPlugin/jsp/api/alertes/1.0/RSS1.0.jsp?cat=inforoutes&cat;=pontstnaz In case of an invalid parameter or an unscheduled value for the “cat” parameter, the service returns an error 500.
See also:
Resources
| Name | Format | Description | Link |
|---|---|---|---|
| 224400028_mobility alerts-in-loire-atlantic-rt.json | JSON | Open resource | |
| 224400028_mobility-en-loire-atlantic-rt.csv alerts | CSV | Open resource |