Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
washington dc transportation apis

This is actually a brand run by social bicycles. The API is documented at https://app.socialbicycles.com/developer/#!/areas/GET_areas_format_get_0 and most things want a login

request

DC Jump bikes are network_id=136. To get all the bikes with a distance from lat/lon

https://app.socialbicycles.com/api/bikes.json?latitude=38.901369&longitude=-76.986551&network_id=136&page=1&sort=distance_asc

reply

{"current_page":1,"per_page":100,"total_entries":64,"items":[{"id":16528,"name":"JUMP DC-0215","network_id":136,"hub_id":null,"inside_area":true,"address":"637-639 Elliott Street Northeast, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-76.98652333333334,38.898405]},"ebike_battery_level":48,"ebike_battery_distance":13.92,"distance":329.58},{"id":16601,"name":"JUMP DC-0235","network_id":136,"hub_id":null,"inside_area":true,"address":"733 11th Street Northeast, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-76.99143,38.90006]},"ebike_battery_level":100,"ebike_battery_distance":29.0,"distance":448.2},{"id":16527,"name":"JUMP DC-0212","network_id":136,"hub_id":null,"inside_area":true,"address":"1201 E Street Northeast, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-76.99009666666667,38.89607]},"ebike_battery_level":61,"ebike_battery_distance":17.69,"distance":664.88},{"id":16519,"name":"JUMP DC-0172","network_id":136,"hub_id":null,"inside_area":true,"address":"1415 D Street Northeast, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-76.98494,38.89451666666667]},"ebike_battery_level":55,"ebike_battery_distance":15.95,"distance":774.67},{"id":16529,"name":"JUMP DC-0210","network_id":136,"hub_id":null,"inside_area":true,"address":"718 E Street Northeast, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-76.99554333333333,38.89618166666666]},"ebike_battery_level":60,"ebike_battery_distance":17.4,"distance":971.16},{"id":16598,"name":"JUMP DC-0232","network_id":136,"hub_id":null,"inside_area":true,"address":"653-655 Constitution Avenue Northeast, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-76.99617833333333,38.89198833333333]},"ebike_battery_level":99,"ebike_battery_distance":28.71,"distance":1337.05},{"id":16509,"name":"JUMP DC-0196","network_id":136,"hub_id":null,"inside_area":true,"address":"214 Massachusetts Avenue Northeast, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-77.00308833333334,38.89519166666667]},"ebike_battery_level":54,"ebike_battery_distance":15.66,"distance":1592.63},{"id":16492,"name":"JUMP DC-0179","network_id":136,"hub_id":3518,"inside_area":true,"address":"4 Union Station Drive Northeast, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-77.00746333333333,38.89781833333333]},"ebike_battery_level":99,"ebike_battery_distance":28.71,"distance":1859.4},{"id":16516,"name":"JUMP DC-0174","network_id":136,"hub_id":null,"inside_area":true,"address":"2241 S Street Northeast, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-76.97226166666667,38.91402]},"ebike_battery_level":73,"ebike_battery_distance":21.17,"distance":1876.11},{"id":15849,"name":"JUMP DC-0006","network_id":136,"hub_id":3518,"inside_area":true,"address":"601-665 First Street Northeast, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-77.00763333333333,38.897261666666665]},"ebike_battery_level":86,"ebike_battery_distance":24.94,"distance":1887.86},{"id":16497,"name":"JUMP DC-0184","network_id":136,"hub_id":null,"inside_area":true,"address":"900-998 1st Street Northwest, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-77.01227166666666,38.901498333333336]},"ebike_battery_level":36,"ebike_battery_distance":10.44,"distance":2234.77},{"id":16505,"name":"JUMP DC-0191","network_id":136,"hub_id":null,"inside_area":true,"address":"100 I Street Southeast, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-77.00548833333333,38.87941]},"ebike_battery_level":61,"ebike_battery_distance":17.69,"distance":2944.44},{"id":15854,"name":"JUMP DC-0081","network_id":136,"hub_id":null,"inside_area":true,"address":"651-699 L Street Northwest, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-77.021095,38.90425833333333]},"ebike_battery_level":94,"ebike_battery_distance":27.26,"distance":3018.42},{"id":16518,"name":"JUMP DC-0173","network_id":136,"hub_id":null,"inside_area":true,"address":"806 7th Street Northwest, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-77.02198166666666,38.900056666666664]},"ebike_battery_level":32,"ebike_battery_distance":9.28,"distance":3081.86},{"id":16606,"name":"JUMP DC-0241","network_id":136,"hub_id":null,"inside_area":true,"address":"701-777 Mount Vernon Place Northwest, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-77.02213166666667,38.903055]},"ebike_battery_level":100,"ebike_battery_distance":29.0,"distance":3097.05},{"id":16630,"name":"JUMP DC-0216","network_id":136,"hub_id":null,"inside_area":true,"address":"1104 7th Street Northwest, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-77.02213166666667,38.904268333333334]},"ebike_battery_level":74,"ebike_battery_distance":21.46,"distance":3108.11},{"id":16624,"name":"JUMP DC-0229","network_id":136,"hub_id":null,"inside_area":true,"address":"1020 7th Street Northwest, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-77.022395,38.903393333333334]},"ebike_battery_level":77,"ebike_battery_distance":22.33,"distance":3122.36},{"id":16599,"name":"JUMP DC-0233","network_id":136,"hub_id":null,"inside_area":true,"address":"1001-1099 9th Street Northwest, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-77.02376666666666,38.903081666666665]},"ebike_battery_level":100,"ebike_battery_distance":29.0,"distance":3239.03},{"id":16520,"name":"JUMP DC-0171","network_id":136,"hub_id":null,"inside_area":true,"address":"2015-2199 Jackson Street Northeast, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-76.975215,38.930121666666665]},"ebike_battery_level":71,"ebike_battery_distance":20.59,"distance":3345.19},{"id":16611,"name":"JUMP DC-0246","network_id":136,"hub_id":null,"inside_area":true,"address":"R Street Northwest, 7th and R St NW / Shaw Library, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-77.022415,38.912861666666664]},"ebike_battery_level":58,"ebike_battery_distance":16.82,"distance":3367.62},{"id":15848,"name":"JUMP DC-0052","network_id":136,"hub_id":null,"inside_area":true,"address":"973-999 K Street Northwest, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-77.025615,38.90262833333333]},"ebike_battery_level":70,"ebike_battery_distance":20.3,"distance":3396.91},{"id":15840,"name":"JUMP DC-0023","network_id":136,"hub_id":3519,"inside_area":true,"address":"716-794 Monroe Street Northeast, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-76.99527666666667,38.93240333333333]},"ebike_battery_level":74,"ebike_battery_distance":21.46,"distance":3532.93},{"id":16607,"name":"JUMP DC-0242","network_id":136,"hub_id":3519,"inside_area":true,"address":"716 Monroe Street Northeast, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-76.99527,38.93245666666667]},"ebike_battery_level":50,"ebike_battery_distance":14.5,"distance":3538.6},{"id":16625,"name":"JUMP DC-0230","network_id":136,"hub_id":null,"inside_area":true,"address":"901-999 Wesley Place Southwest, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-77.015955,38.878315]},"ebike_battery_level":48,"ebike_battery_distance":13.92,"distance":3619.4},{"id":16631,"name":"JUMP DC-0222","network_id":136,"hub_id":null,"inside_area":true,"address":"356 12th Street Northwest, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-77.02822166666667,38.893835]},"ebike_battery_level":74,"ebike_battery_distance":21.46,"distance":3716.38},{"id":16514,"name":"JUMP DC-0202","network_id":136,"hub_id":null,"inside_area":true,"address":"1019-1047 4th Street Southwest, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-77.01775,38.87822]},"ebike_battery_level":65,"ebike_battery_distance":18.85,"distance":3738.42},{"id":16634,"name":"JUMP DC-0226","network_id":136,"hub_id":3521,"inside_area":true,"address":"1235-1239 Good Hope Road Southeast, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-76.987485,38.86718]},"ebike_battery_level":100,"ebike_battery_distance":29.0,"distance":3802.4},{"id":16629,"name":"JUMP DC-0219","network_id":136,"hub_id":3521,"inside_area":true,"address":"1234-1298 Good Hope Road Southeast, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-76.987445,38.86716833333333]},"ebike_battery_level":97,"ebike_battery_distance":28.13,"distance":3803.62},{"id":16628,"name":"JUMP DC-0220","network_id":136,"hub_id":3521,"inside_area":true,"address":"1243 Good Hope Road Southeast, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-76.98732666666666,38.866955]},"ebike_battery_level":97,"ebike_battery_distance":28.13,"distance":3827.14},{"id":16627,"name":"JUMP DC-0217","network_id":136,"hub_id":null,"inside_area":true,"address":"1500 Vermont Avenue Northwest, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-77.029585,38.910315]},"ebike_battery_level":73,"ebike_battery_distance":21.17,"distance":3868.8},{"id":16609,"name":"JUMP DC-0244","network_id":136,"hub_id":null,"inside_area":true,"address":"1345 Vermont Avenue Northwest, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-77.03148833333333,38.90625333333333]},"ebike_battery_level":44,"ebike_battery_distance":12.76,"distance":3941.81},{"id":16608,"name":"JUMP DC-0243","network_id":136,"hub_id":null,"inside_area":true,"address":"550-582 Water Street Southwest, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-77.020795,38.87598333333333]},"ebike_battery_level":46,"ebike_battery_distance":13.34,"distance":4101.59},{"id":16504,"name":"JUMP DC-0204 ","network_id":136,"hub_id":null,"inside_area":true,"address":"1106 Connecticut Avenue Northwest, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-77.04030166666666,38.903976666666665]},"ebike_battery_level":96,"ebike_battery_distance":27.84,"distance":4679.0},{"id":16507,"name":"JUMP DC-0195","network_id":136,"hub_id":null,"inside_area":true,"address":"1401-1419 Webster Street Northeast, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-76.98501,38.944228333333335]},"ebike_battery_level":100,"ebike_battery_distance":29.0,"distance":4767.33},{"id":15847,"name":"JUMP DC-0065","network_id":136,"hub_id":null,"inside_area":true,"address":"1105 Kenyon Street Northwest, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-77.02806166666667,38.92993666666667]},"ebike_battery_level":41,"ebike_battery_distance":11.89,"distance":4805.39},{"id":16517,"name":"JUMP DC-0199","network_id":136,"hub_id":3515,"inside_area":true,"address":"3632-3634 Georgia Avenue Northwest, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-77.024225,38.93501666666667]},"ebike_battery_level":100,"ebike_battery_distance":29.0,"distance":4970.5},{"id":16488,"name":"JUMP DC-0214","network_id":136,"hub_id":3517,"inside_area":true,"address":"3030 14th Street Northwest, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-77.03285,38.92857]},"ebike_battery_level":93,"ebike_battery_distance":26.97,"distance":5032.15},{"id":16533,"name":"JUMP DC-0203","network_id":136,"hub_id":3517,"inside_area":true,"address":"1401-1419 Irving Street Northwest, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-77.03277333333334,38.928778333333334]},"ebike_battery_level":75,"ebike_battery_distance":21.75,"distance":5040.79},{"id":16604,"name":"JUMP DC-0238","network_id":136,"hub_id":3517,"inside_area":true,"address":"3111-3115 14th Street Northwest, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-77.03265333333333,38.92966166666667]},"ebike_battery_level":76,"ebike_battery_distance":22.04,"distance":5092.55},{"id":15844,"name":"JUMP DC-0070","network_id":136,"hub_id":null,"inside_area":true,"address":"4800-4820 16th Street Northeast, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-76.98317833333333,38.94721]},"ebike_battery_level":94,"ebike_battery_distance":27.26,"distance":5105.38},{"id":16502,"name":"JUMP DC-0189","network_id":136,"hub_id":null,"inside_area":true,"address":"2333 Ontario Road Northwest, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-77.03980333333334,38.92108666666667]},"ebike_battery_level":43,"ebike_battery_distance":12.47,"distance":5119.33},{"id":16511,"name":"JUMP DC-0213","network_id":136,"hub_id":null,"inside_area":true,"address":"1901-1999 Virginia Avenue Northwest, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-77.04494833333334,38.894355]},"ebike_battery_level":65,"ebike_battery_distance":18.85,"distance":5133.67},{"id":15850,"name":"JUMP DC-0038","network_id":136,"hub_id":3515,"inside_area":true,"address":"3706 Georgia Avenue Northwest, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-77.02451333333333,38.937085]},"ebike_battery_level":100,"ebike_battery_distance":29.0,"distance":5161.76},{"id":16515,"name":"JUMP DC-0190","network_id":136,"hub_id":3515,"inside_area":true,"address":"3706 Georgia Avenue Northwest, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-77.02446333333333,38.93714166666667]},"ebike_battery_level":43,"ebike_battery_distance":12.47,"distance":5163.83},{"id":16610,"name":"JUMP DC-0245","network_id":136,"hub_id":3515,"inside_area":true,"address":"3700 Georgia Avenue Northwest, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-77.02454,38.937198333333335]},"ebike_battery_level":74,"ebike_battery_distance":21.46,"distance":5172.93},{"id":16493,"name":"JUMP DC- 0180","network_id":136,"hub_id":null,"inside_area":true,"address":"2012-2014 R Street Northwest, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-77.04599666666667,38.912571666666665]},"ebike_battery_level":58,"ebike_battery_distance":16.82,"distance":5312.57},{"id":15853,"name":"JUMP DC-0058","network_id":136,"hub_id":null,"inside_area":true,"address":"1337 Otis Place Northwest, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-77.03104166666667,38.93476666666667]},"ebike_battery_level":58,"ebike_battery_distance":16.82,"distance":5359.54},{"id":16510,"name":"JUMP DC-0197","network_id":136,"hub_id":null,"inside_area":true,"address":"1756 Lanier Place Northwest, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-77.04203333333334,38.924505]},"ebike_battery_level":45,"ebike_battery_distance":13.05,"distance":5463.27},{"id":16602,"name":"JUMP DC-0236","network_id":136,"hub_id":null,"inside_area":true,"address":"2007 Columbia Road Northwest, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-77.04604166666667,38.917368333333336]},"ebike_battery_level":50,"ebike_battery_distance":14.5,"distance":5465.8},{"id":16536,"name":"JUMP DC-0227","network_id":136,"hub_id":null,"inside_area":true,"address":"1521-1599 22nd Street Northwest, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-77.04860333333333,38.91102]},"ebike_battery_level":71,"ebike_battery_distance":20.59,"distance":5496.76},{"id":16513,"name":"JUMP DC-0198 ","network_id":136,"hub_id":null,"inside_area":true,"address":"3182 Mount Pleasant Street Northwest, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-77.03845333333334,38.931128333333334]},"ebike_battery_level":92,"ebike_battery_distance":26.68,"distance":5592.44},{"id":15841,"name":"JUMP DC-0039","network_id":136,"hub_id":null,"inside_area":true,"address":"2924-3098 Ontario Road Northwest, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-77.044235,38.925936666666665]},"ebike_battery_level":83,"ebike_battery_distance":24.07,"distance":5707.13},{"id":15838,"name":"JUMP DC-0032","network_id":136,"hub_id":null,"inside_area":true,"address":"2519 P Street Northwest, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-77.05407666666666,38.90943333333333]},"ebike_battery_level":76,"ebike_battery_distance":22.04,"distance":5934.71},{"id":16489,"name":"JUMP DC-0176","network_id":136,"hub_id":null,"inside_area":true,"address":"5201-5277 Rock Creek Church Road Northeast, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-77.00712333333334,38.95353333333333]},"ebike_battery_level":54,"ebike_battery_distance":15.66,"distance":6069.0},{"id":15852,"name":"JUMP DC-0026","network_id":136,"hub_id":null,"inside_area":true,"address":"1887-1899 Newton Street Northwest, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-77.04405,38.934223333333335]},"ebike_battery_level":70,"ebike_battery_distance":20.3,"distance":6187.9},{"id":16490,"name":"JUMP DC-0177","network_id":136,"hub_id":3514,"inside_area":true,"address":"2618 Connecticut Avenue Northwest, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-77.05210166666667,38.92428]},"ebike_battery_level":45,"ebike_battery_distance":13.05,"distance":6238.21},{"id":16524,"name":"JUMP DC-0209","network_id":136,"hub_id":null,"inside_area":true,"address":"2501-2507 24th Street Northwest, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-77.052565,38.92363833333334]},"ebike_battery_level":67,"ebike_battery_distance":19.43,"distance":6246.37},{"id":16526,"name":"JUMP DC-0205","network_id":136,"hub_id":null,"inside_area":true,"address":"2566 28th Street Northwest, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-77.05586333333333,38.92270166666667]},"ebike_battery_level":87,"ebike_battery_distance":25.23,"distance":6471.56},{"id":16500,"name":"JUMP DC-0187","network_id":136,"hub_id":null,"inside_area":true,"address":"2900-2978 Connecticut Avenue Northwest, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-77.05506166666666,38.92946333333333]},"ebike_battery_level":76,"ebike_battery_distance":22.04,"distance":6721.27},{"id":15846,"name":"JUMP DC-0044 ","network_id":136,"hub_id":null,"inside_area":true,"address":"2120 Huidekoper Place Northwest, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-77.07446666666667,38.91870333333333]},"ebike_battery_level":44,"ebike_battery_distance":12.76,"distance":7876.96},{"id":16530,"name":"JUMP DC-0207","network_id":136,"hub_id":null,"inside_area":true,"address":"3063-3099 Veazey Terrace Northwest, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-77.06329666666667,38.944471666666665]},"ebike_battery_level":81,"ebike_battery_distance":23.49,"distance":8209.86},{"id":16506,"name":"JUMP DC-0193","network_id":136,"hub_id":null,"inside_area":true,"address":"2936 Brandywine Street Northwest, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-77.06029166666667,38.94962833333334]},"ebike_battery_level":80,"ebike_battery_distance":23.2,"distance":8355.32},{"id":17237,"name":"JUMP DC-0239","network_id":136,"hub_id":null,"inside_area":true,"address":"112 Carroll Street Northwest, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-77.014515,38.974775]},"ebike_battery_level":32,"ebike_battery_distance":9.28,"distance":8515.36},{"id":16523,"name":"JUMP DC-0167","network_id":136,"hub_id":null,"inside_area":true,"address":"Glover-Archbold Trail, Washington","sponsored":false,"current_position":{"type":"Point","coordinates":[-77.082125,38.930476666666664]},"ebike_battery_level":79,"ebike_battery_distance":22.91,"distance":8910.62}]}

get all bikes in an unspecified radius (it's at least several blocks, may be able to specify a bounding box somehow)

request

https://mwx.mobike.com/mobike-api/rent/nearbyBikesInfo.do?latitude=38.901369&longitude=-76.986551

reply

{
   "object" : [
      {
         "bikeIds" : "A016001525#",
         "biketype" : 1,
         "distY" : 38.901279,
         "distance" : "267",
         "distNum" : 1,
         "boundary" : null,
         "type" : 0,
         "distX" : -76.989634,
         "distId" : "A016001525"
      },
      {
         "type" : 0,
         "boundary" : null,
         "distX" : -76.983976,
         "distId" : "A016001206",
         "biketype" : 1,
         "distY" : 38.89888,
         "bikeIds" : "A016001206#",
         "distNum" : 1,
         "distance" : "355"
      },
      {
         "distId" : "A016001523",
         "boundary" : null,
         "type" : 0,
         "distX" : -76.981252,
         "distance" : "767",
         "distNum" : 1,
         "biketype" : 1,
         "distY" : 38.895848,
         "bikeIds" : "A016001523#"
      },
      {
         "distId" : "A016001703",
         "boundary" : null,
         "distX" : -76.980635,
         "type" : 0,
         "distance" : "810",
         "distNum" : 1,
         "biketype" : 1,
         "distY" : 38.895724,
         "bikeIds" : "A016001703#"
      },
      {
         "distId" : "A016001287",
         "distX" : -76.99627,
         "boundary" : null,
         "type" : 0,
         "distance" : "846",
         "distNum" : 1,
         "distY" : 38.900594,
         "biketype" : 1,
         "bikeIds" : "A016001287#"
      }
   ],
   "message" : "",
   "biketype" : 0,
   "code" : 0
}

Get stops

request

https://www.dcstreetcar.com/nextbus/nextbusproxy-3.php?command=routeConfig&a=dc-streetcar&r=h_route&terse

respone

<?xml version="1.0" encoding="utf-8" ?> 
<body copyright="All data copyright DC Streetcar 2018.">
<route tag="h_route" title="H/Benning Line" color="ff0000" oppositeColor="ffffff" latMin="38.897407" latMax="38.9002709" lonMin="-77.004289" lonMax="-76.966747">
<stop tag="benspurw" title="Benning Rd Spur Eastbound" shortTitle="Benning Spur Eastbound" lat="38.897407" lon="-76.9667492" stopId="108"/>
<stop tag="benspure" title="Benning Rd Spur Westbound" shortTitle="Benning Spur Westbound" lat="38.8974987" lon="-76.966747" stopId="109"/>
<stop tag="benokwest" title="Benning Rd &amp; Oklahoma Ave Westbound" shortTitle="Benning &amp; Oklahoma Westbound" lat="38.8977819" lon="-76.9698314" stopId="110"/>
<stop tag="ben19west" title="Benning Rd &amp; 19th St Westbound" shortTitle="Benning &amp; 19th Westbound" lat="38.898867" lon="-76.9760633" stopId="111"/>
<stop tag="ben15west" title="Benning Rd @ 15th St Westbound" shortTitle="Benning @ 15th Westbound" lat="38.9000799" lon="-76.9829967" stopId="112"/>
<stop tag="h13west" title="H St &amp; 13th St Westbound" shortTitle="H &amp; 13th Westbound" lat="38.900242" lon="-76.9881031" stopId="113"/>
<stop tag="h8west" title="H St &amp; 8th St Westbound" shortTitle="H &amp; 8th Westbound" lat="38.900237" lon="-76.9946746" stopId="114"/>
<stop tag="h5west" title="H St &amp; 5th St Westbound" shortTitle="H &amp; 5th Westbound" lat="38.9002489" lon="-76.9992908" stopId="115"/>
<stop tag="h3west" title="H St &amp; 3rd St Westbound" shortTitle="H &amp; 3rd Westbound" lat="38.900248" lon="-77.00178" stopId="116"/>
<stop tag="hunion" title="H St @ Union Station" shortTitle="H @ Union Station" lat="38.900162" lon="-77.004289" stopId="100"/>
<stop tag="h3east" title="H St &amp; 3rd St Eastbound" shortTitle="H &amp; 3rd Eastbound" lat="38.900152" lon="-77.0014814" stopId="101"/>
<stop tag="h5east" title="H St &amp; 5th Eastbound" shortTitle="H &amp; 5th Eastbound" lat="38.9001659" lon="-76.9997198" stopId="102"/>
<stop tag="h8east" title="H St &amp; 8th St Eastbound" shortTitle="H &amp; 8th Eastbound" lat="38.900161" lon="-76.9951842" stopId="103"/>
<stop tag="h13east" title="H St &amp; 13th St Eastbound" shortTitle="H &amp; 13th Eastbound" lat="38.900143" lon="-76.9885137" stopId="104"/>
<stop tag="ben15east" title="Benning Rd @ 15th St Eastbound" shortTitle="Benning @ 15th Eastbound" lat="38.900016" lon="-76.983022" stopId="105"/>
<stop tag="ben19east" title="Benning Rd &amp; 19th St Eastbound" shortTitle="Benning &amp; 19th Eastbound" lat="38.8987869" lon="-76.9760908" stopId="106"/>
<stop tag="benokeast" title="Benning Rd &amp; Oklahoma Ave Eastbound" shortTitle="Benning &amp; Oklahoma Eastbound" lat="38.897707" lon="-76.969843" stopId="107"/>
<direction tag="west" title="Westbound" name="" useForUI="true">
  <stop tag="benspurw" />
  <stop tag="benspure" />
  <stop tag="benokwest" />
  <stop tag="ben19west" />
  <stop tag="ben15west" />
  <stop tag="h13west" />
  <stop tag="h8west" />
  <stop tag="h5west" />
  <stop tag="h3west" />
</direction>
<direction tag="east" title="Eastbound" name="" useForUI="true">
  <stop tag="hunion" />
  <stop tag="h3east" />
  <stop tag="h5east" />
  <stop tag="h8east" />
  <stop tag="h13east" />
  <stop tag="ben15east" />
  <stop tag="ben19east" />
  <stop tag="benokeast" />
</direction>
</route>
</body>

Get predictions

request

https://www.dcstreetcar.com/nextbus/nextbusproxy-3.php?command=predictions&a=dc-streetcar&r=h_route&s=h13west&useShortTitles=true

@n-west

This comment has been minimized.

Copy link
Owner Author

@n-west n-west commented Jan 9, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment