Giter Club home page Giter Club logo

lametric-ratp's Introduction

RATP Schedules for LaMetric

LaMetric Ratp Index

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 Schedules" and choose a line in the drop down menu.

LaMetric Ratp App

Then, find the ID Destination and ID Station from the API RATP or see our example below.

Example :

If you want to get the schedules of the next subway* to Balard at the station Daumesnil, on the line 8.

Open https://api-ratp.pierre-grimaud.fr/v3/destinations/metros/8, you will get :

{
    "result": {
        "destinations": [
            {
                "name": "Pointe du Lac",
                "way": "A"
            },
            {
                "name": "Balard",
                "way": "R"
            }
        ]
    },
    "_metadata": {
        "call": "GET /destinations/metros/8",
        "date": "2017-06-16T01:24:58+02:00",
        "version": 3
    }
}
  • Find the way of the desired destination (R for Balard) and set it on the configuration panel.

  • Set the name of the station (daumesnil for Daumesnil).

  • Wait a few seconds and you will see :

LaMetric Ratp Destination LaMetric Ratp Schedule

*It also works with rer or tramway

Feedback

If you need help, create an issue or contact us on Twitter

lametric-ratp's People

Contributors

dependabot[bot] avatar pgrimaud avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

thefracasseur

lametric-ratp's Issues

Afficher des trains plus tardifs

Au lieu d'afficher les deux prochains trains, il serait intéressant d'afficher les deux trains venant dans X minutes. Le nombre de minutes étant paramétrable.
Par exemple : j'habite à 5 minutes de la gare, je pourrais afficher les deux trains qui vont passer dans 7 minutes ou plus. Ainsi, les deux horaires affichés me seraient utiles.

Problème URL V3 au lieu de V4 pour L'API

Bonjour,

Il semble avoir un problème d'url sur l'api fourni, il est indiqué V3 au lieu de V4 qui est sur l'autre lien.

Même chose dans le API.php

Est il possible de le corriger car j'ai l'impression que l'appli sur lametric ne répond plus à cause de ça ?

Merci

Please check app configuration for all lines

All lines, destinations, and start stations (except the sample given in the README) display the "plase check app configuration" message

For example:
Line: metro4
ID Destination: 90
ID Station: 154

Filtrer entrées inutiles

Bonjour
Serait-il possible de filtrer les prochains passages non pertinents ? Par exemple sur le RER :

  • train sans arrêt
  • train à quai (trop tard pour l'avoir)
  • train à l'approche (si on a mis délai > 0)

Et merci pour cette appli très pratique !

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.