<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">J'ai commencé tester cette interface, c'est sympathique. Excellent exercice pour des étudiants ou des apprentis en programmation, qui voudraient faire quelque chose de fun avec du XML ou du JSON.<div><br></div><div><div apple-content-edited="true">
<div>Notez que sur la page d'accueil, il y a une petite erreur. La requête suivante pour trouver le nom d'un arrêt est</div><div><div><a href="http://rtpi.data.tpg.ch/v1/GetStops?key=XXXXXXXXXXX&name=Bachet"><span style="color: rgb(0, 0, 255); "><code>http://rtpi.data.tpg.ch/v1/GetStops?key=XXXXXXXXXXX&name=Bachet</code></span></a></div><div><br></div><div>Est erronée. Après test, le paramètre correct est stopName:</div><div><a href="http://rtpi.data.tpg.ch/v1/GetStops?key=XXXXXXXXXXX&stopName=Bachet">http://rtpi.data.tpg.ch/v1/GetStops?key=XXXXXXXXXXX&stopName=Bachet</a><br></div></div><div><br></div><div>(Note: il faut demander un clé aux TPGs au moyen du formulaire, pour pouvoir accéder aux requêtes).</div><br class="Apple-interchange-newline">
</div>
<br><div><div>Le 26 sept. 2013 à 12:12, Laurent Franceschetti <<a href="mailto:laurent@franceschetti.net">laurent@franceschetti.net</a>> a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite">Pour votre information, les Transports Public Genevois ont une initiative "Open Data". Ils ont mis à disposition une API pour accéder aux données temps réel du réseau:<br><a href="http://www.tpg.ch/web/7289503/5">http://www.tpg.ch/web/7289503/5</a><br><br><br>Laurent Franceschetti<br><br><br>______________<br>No one shall be subjected to arbitrary interference with his privacy, family, home or correspondence, nor to attacks upon his honour and reputation. Everyone has the right to the protection of the law against such interference or attacks (Art 12 Universal Declaration of Human Rights).<br><br><br><br><br></blockquote></div><br></div></body></html>