Skip to content

This project turnkey is distributed as a middleware to expose RATP realtime data as REST resources

License

Notifications You must be signed in to change notification settings

pgrimaud/ratp-api-rest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

002e8f8 · Feb 13, 2023
Feb 16, 2021
May 12, 2019
Jan 17, 2022
Feb 16, 2021
Feb 13, 2023
Jun 2, 2019
Feb 13, 2023
Dec 17, 2019
Feb 16, 2021
Feb 16, 2021
May 13, 2019
Feb 16, 2021
Jan 17, 2022
Feb 13, 2023
Jan 17, 2022

Repository files navigation

REST RATP API (v4)

SensioLabsInsight

This project turnkey is distributed as a middleware to expose RATP data as REST resources. You can retrieve real time schedules for any given RER (train), Metro, Tramway, Bus or Noctilien stop in real time.

This project uses the package horaires-ratp-sdk which consume the official RATP API.

Old version 3 README is available here.

Official documentation on GitHub with dashboard example.

Demo

Demo is available here : https://api-ratp.pierre-grimaud.fr/v4/

Requirements

  • Access to the official RATP API (see here)
  • PHP >= 8.0
  • Redis server (for cache)

Installation

First :

git clone [email protected]:pgrimaud/ratp-api-rest
cd ratp-api-rest
composer install

TODO

  • Add Opendata SNCF data

Feedback or questions

You can create an issue if needed or contact me on Twitter.

Contributing

Pull requests are appreciated. Everyone is welcome and even encouraged to contribute with their own improvements.

Copyrights

This project is not affiliated with or endorsed by the RATP.

License

Licensed under the terms of the MIT License.