Open Manu1400 opened 3 years ago
⚠️ Régie des transports métropolitains, anciennement Régie des transports de Marseille, l'exploitant du réseau de transports en commun de Marseille, ainsi que d'autres communes de la Métropole d'Aix-Marseille-Provence (via ses filiales)
GET https://carte-interactive.rtm.fr/content/Parkings.json?d=1612972648514 => JSON => 20 parkings ??
"dyn_places_dispo": "6" => 6 places restantes đź‘Ť
extract
{
"_id": "P_ARM_1",
"_rev": "1139910-cfecfe3b4557b3c78f0067bc61487147",
"dateheure": "2021-02-10 16:48:55.390",
"id_niveau": "P_ARM_1",
"code_parking": "P_ARM",
"nom_parking": "Louis Armand",
"capacite": "91",
"dyn_id": "14223",
"dyn_niveau": "1",
"dyn_mode": "Auto",
"dyn_statut": "Free",
"dyn_capacite": "89",
"dyn_places_dispo": "6",
"global_mode": "",
"global_statut": "",
"global_capacite": "0",
"global_places_dispo": "0",
"horaires": "lundi:de 6h30 Ă 20h;mardi:de 6h30 Ă 20h;mercredi:de 6h30 Ă 20h;jeudi:de 6h30 Ă 20h;vendredi:de 6h30 Ă 20h;samedi:de 6h30 Ă 20h",
"adresse": "boulevard Louis Armand 13012",
"lieu": "ARM",
"longitude": "5.41298",
"latitude": "43.3001",
"correspondances": "M1,10,67",
"surveille": "1",
"niveaux": "1",
"code_arrets_prox": "00946,00947,00948,02724,ARM",
"description": "FONCTIONNEMENT\r\nRéservés aux titulaires de la carte TRANSPASS / Pass XL permanent, annuel, 30 jours, 7 jours, combinés, libre circulation ou recharge d'euros\r\n(les titres occasionnels ne sont pas acceptés)\r\n\r\n- vous garez votre voiture - vous utilisez un aller et un retour en bus, métro, BHNS ou tramway pour vous rendre en ville (dernière validation du retour 2h maximum avant la sortie du parking) - vous récupérez votre voiture\r\n\r\nLes heures de fermeture des parkings correspondent à la fermeture de l'entrée du parking. Vous pouvez donc récupérer votre voiture au-delà de l'heure de fermeture de celui-ci, dans la limite de 24h.\r\n\r\nTARIFS\r\nPour les abonnés : Pass XL permanent, annuel, 30 jours, 7 jours, combinés ou libre circulation : GRATUIT\r\n\r\nPour les utilisateurs de la recharge d’euros sur carte TRANSPASS :\r\n- jusqu'à 3h : 30cts/ 15mn\r\n- de 3h à 12h : 10cts/ 15mn\r\n- de 12h à 24h : 30cts/ h\r\nLe coût de votre stationnement sera prélevé directement sur votre carte TRANSPASS.\r\n\r\nSi vous ressortez du parking avant 10 min, aucun paiement ne sera exigé / Le stationnement de plus de 24h est interdit / Sans utilisation d'un aller-retour en bus, métro, BHNS ou tramway un forfait de 15€ sera prélevé sur la carte TRANSPASS.",
"photo": "http://api.rtm.fr/couchdb_rtm/photos/ARM/ARM_20170913.jpg",
"horaires_obj": [
{
"jour": 1,
"horaire": "04h30 - 20h"
},
{
"jour": 2,
"horaire": "04h30 - 20h"
},
{
"jour": 3,
"horaire": "04h30 - 20h"
},
{
"jour": 4,
"horaire": "04h30 - 20h"
},
{
"jour": 5,
"horaire": "04h30 - 20h"
},
{
"jour": 6,
"horaire": "04h30 - 20h"
},
{
"jour": 7,
"horaire": "04h30 - 20h"
}
],
"ordre": "10",
"refnetex": "RTM:POI:1696"
}
Map : https://www.lepilote.com/fr/itineraires/4/JourneyPlanner/Index display many P+R in Bouches-du-RhĂ´ne like :
P+R Route des Alpes
<INDÉTERMINÉE>
Route de Sisteron
13100
Place(s) libre(s) : 145 / 200
Mise à jour : 17h04 temps réel
GET https://www.lepilote.com/api/occupancy/GetParkingAvailabilities?placeIds=6000003 return :
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Cityway.TSI.Core.Model.Occupancy">
<d2p1:ParkingAvailability>
<d2p1:BikeCapacity i:nil="true"/>
<d2p1:CarCapacity>200</d2p1:CarCapacity>
<d2p1:FreePlaces>145</d2p1:FreePlaces>
<d2p1:Id>58717841</d2p1:Id>
<d2p1:MotorbikeCapacity>0</d2p1:MotorbikeCapacity>
<d2p1:ParkingProviderRef>AMP</d2p1:ParkingProviderRef>
<d2p1:ParkingRef>AMP:13001_5</d2p1:ParkingRef>
<d2p1:ParkingStatus>OPEN</d2p1:ParkingStatus>
<d2p1:ParkingType>Parking</d2p1:ParkingType>
<d2p1:PlaceId>6000003</d2p1:PlaceId>
<d2p1:RecordedAtTime>2021-02-10T17:06:48</d2p1:RecordedAtTime>
<d2p1:SourceTime i:nil="true"/>
</d2p1:ParkingAvailability>
</Data>
<Message i:nil="true"/>
<StatusCode>0</StatusCode>
</Response>
prefer add Content-Type: application/json; charset=utf-8
for having data in JSON đź‘Ť đź‘Ť đź‘Ť :
[
{
"Id": 58717654,
"PlaceId": 6000003,
"RecordedAtTime": "2021-02-10T17:04:48",
"ParkingRef": "AMP:13001_5",
"ParkingStatus": "OPEN",
"CarCapacity": 200,
"BikeCapacity": null,
"MotorbikeCapacity": 0,
"FreePlaces": 145,
"ParkingProviderRef": "AMP",
"ParkingType": 1,
"SourceTime": null,
"SourceTimeFormatted": null,
"RecordedAtTimeFormatted": "17h04",
"HasData": true
}
]
New website :
semble correct đź‘Ť
đź‘Ž Les parkings ne sont pas dans la base nationale des parkings de transport.data.gouv.fr
VĂ©lo : https://www.lepilote.com/ftp/document/l-abri-velo-specificites-par-site-sept-2020-lepilote.pdf et https://www.rtm.fr/abrivelo