https://github.com/pgrimaud/lametric-ratp-bus
RATP Bus Schedules for LaMetric
https://github.com/pgrimaud/lametric-ratp-bus
bus lametric paris php ratp station
Last synced: 3 months ago
JSON representation
RATP Bus Schedules for LaMetric
- Host: GitHub
- URL: https://github.com/pgrimaud/lametric-ratp-bus
- Owner: pgrimaud
- License: mit
- Created: 2016-12-26T09:19:22.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-04-19T21:17:21.000Z (about 2 years ago)
- Last Synced: 2025-01-06T09:11:33.087Z (5 months ago)
- Topics: bus, lametric, paris, php, ratp, station
- Language: PHP
- Homepage:
- Size: 1.39 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# RATP Bus Schedules for LaMetric

# 2017-06-16 - Important update
### Parameters data have changed, due to the takedown of the old middleware. You must reconfigure your app and follow the instructions bellow. Sorry for inconvenience.
# How it works ?
First, launch your LaMetric app, install our app "RATP Bus Schedules".

Then, find the line, the ID Destination and ID Station from the [API RATP](https://github.com/pgrimaud/horaires-ratp-api) or see our example below.
####Example :
If you want to get the schedules of the next bus to **Chateau de Vincennes** at the station **Michel Bizot**, on the line **46**.
- Open https://api-ratp.pierre-grimaud.fr/v3/destinations/bus/46, you will get :
```
{
"result": {
"destinations": [
{
"name": "Chateau de Vincennes",
"way": "A"
},
{
"name": "Gare du Nord",
"way": "R"
}
]
},
"_metadata": {
"call": "GET /destinations/bus/46",
"date": "2017-06-16T02:31:26+02:00",
"version": 3
}
}
```- Find the ```way``` of the desired destination (A for **Chateau de Vincennes**) and set it on the configuration panel.
- Set the name of the station (michel bizot for **Michel Bizot**).
- Wait a few seconds and you will see :

## Feedback
If you need help, [create an issue](https://github.com/pgrimaud/lametric-ratp-bus/issues) or contact us on [Twitter](http://twitter.com/pgrimaud_)