Created
August 11, 2018 20:33
-
-
Save ezequielpereira/ec914b7a53b2a683029589a7bffd3f46 to your computer and use it in GitHub Desktop.
Más datos sobre las APIs de ómnibus de Montevideo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
POST /stmonlineRest/nextETA HTTP/1.1 | |
Host: m.montevideo.gub.uy | |
Content-Type: application/json | |
Content-Length: 100 | |
{ | |
"variante": [], | |
"parada": 1192, | |
"linea": ["526","G","148","329"], | |
"cantPorLinea": 3 | |
} | |
{"type":"FeatureCollection","features":[{"type":"Feature","properties":{"codigoBus":75,"codigoEmpresa":10,"variante":3538,"eta":0,"dist":748,"pos":2}, "geometry": {"type": "Point", "coordinates":[-56.2224,-34.80562]}},{"type":"Feature","properties":{"codigoBus":82,"codigoEmpresa":20,"variante":3370,"eta":163,"dist":1817,"pos":5}, "geometry": {"type": "Point", "coordinates":[-56.222168,-34.7997]}},{"type":"Feature","properties":{"codigoBus":73,"codigoEmpresa":70,"variante":7725,"eta":444,"dist":2050,"pos":8}, "geometry": {"type": "Point", "coordinates":[-56.246483,-34.7977]}},{"type":"Feature","properties":{"codigoBus":1074,"codigoEmpresa":50,"variante":3565,"eta":544,"dist":4469,"pos":16}, "geometry": {"type": "Point", "coordinates":[-56.224583,-34.79789]}}]} | |
-- | |
GET /transporteRest/variantes/4190 HTTP/1.1 | |
Host: m.montevideo.gub.uy | |
Content-Type: application/json | |
Content-Length: 0 | |
{"descripcion":"19 DE JUNIO y EDUARDO A RAIZ","destinos":{"3596":"PLAYA MALVÍN","3370":"PLAYA MALVÍN","3574":"PARQUE RODÓ","3575":"8 DE OCTUBRE Y BVAR BATLLE Y ORDÓÑEZ","3358":"PLAZA ESPAÑA","7436":"SAYAGO","3428":"PLAZA ESPAÑA","3425":"PARQUE RODÓ","3578":"RIVERA Y LUIS A DE HERRERA","3426":"RIVERA Y LUIS A DE HERRERA","3427":"8 DE OCTUBRE Y BVAR BATLLE Y ORDÓÑEZ"},"variantes":{"443":[3425,3427,3426,3428,3575,3578,3358,3574],"449":[3596,7436,3370]},"lineas":{"443":"145","449":"526"}} | |
-- | |
http://www.montevideo.gub.uy/horariosSTM/ | |
-- | |
transporteRest/lineas/{parada} (Ver: https://github.com/dti-montevideo/servicios-abiertos/blob/master/transporte.md) | |
-- | |
transporteRest/pasadas/{parada}/{tipo_dia}/{hora} (Ver: https://github.com/dti-montevideo/servicios-abiertos/blob/master/transporte.md) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment