Bug in NTA API?

28 views
Skip to first unread message

Mark Headd

unread,
Dec 4, 2012, 4:20:24 PM12/4/12
to sept...@googlegroups.com
The Next to Arrive API doesn't appear to return any results from a search for trains from Marcus Hook to Chester TC.


However, using the SEPTA site to search does return results.


Is this a bug? 

Thanks!

--

SEPTAdev

unread,
Dec 5, 2012, 4:54:28 PM12/5/12
to sept...@googlegroups.com

This should be corrected. “St. David” instead of “Ste. David” now works and we also changed “Ste. Martin” to “St. Martin”. Below is the complete list of stations/parameter. Thanks for posting this bug.

30th Street Station

49th St

Airport Terminal A

Airport Terminal B

Airport Terminal C-D

Airport Terminal E-F

Allegheny

Allen Lane

Ambler

Angora

Ardmore

Ardsley

Bala

Berwyn

Bethayres

Bridesburg

Bristol

Bryn Mawr

Carpenter

Chalfont

Cheltenham

Chester TC

Chestnut Hill East

Chestnut Hill West

Churchmans Crossing

Claymont

Clifton-Aldan

Colmar

Conshohocken

Cornwells Heights

Crestmont

Croydon

Crum Lynne

Curtis Park

Cynwyd

Darby

Daylesford

Delaware Valley College

Devon

Downingtown

Doylestown

East Falls

Eastwick Station

Eddington

Eddystone

Elkins Park

Elm St

Elwyn Station

Exton

Fern Rock TC

Fernwood

Folcroft

Forest Hills

Fortuna

Fox Chase

Ft Washington

Germantown

Gladstone

Glenolden

Glenside

Gravers

Gwynedd Valley

Hatboro

Haverford

Highland

Holmesburg Jct

Ivy Ridge

Jenkintown-Wyncote

Langhorne

Lansdale

Lansdowne

Lawndale

Levittown

Link Belt

Main St

Malvern

Manayunk East

Marcus Hook

Market East

Meadowbrook

Media

Melrose Park

Merion

Miquon

Morton

Moylan-Rose Valley

Mt Airy

Narberth

Neshaminy Falls

New Britain

Newark

Noble

Norristown TC

North Broad St

North Hills

North Philadelphia

North Wales

Norwood

Olney

Oreland

Overbrook

Paoli

Penllyn

Pennbrook

Philmont

Primos

Prospect Park

Queen Lane

Radnor

Ridley Park

Rosemont

Roslyn

Rydal

Ryers

Secane

Sedgwick

Sharon Hill

Somerton

Spring Mill

St. Davids

St. Martins

Stenton

Strafford

Suburban Station

Swarthmore

Tacony

Temple U

Thorndale

Torresdale

Trenton

Trevose

Tulpehocken

University City

Upsal

Villanova

Wallingford

Warminster

Washington Lane

Wayne

Wayne Jct

Wayne

West Trenton

Whitford

Willow Grove

Wilmington

Wissahickon

Wister

Woodbourne

Wyndmoor

Wynnefield Avenue

Wynnewood

Yardley

Mark Headd

unread,
Dec 6, 2012, 11:51:16 AM12/6/12
to sept...@googlegroups.com
OK, Chester TC seems to be working.

But when I try "St. Davids" and "St. Martins" respectively, I get a weird result (an HTTP 302 response). I think you mean "St Davids" and "St Martins" - without the "." - correct?

HTTP/1.1 302 Found
Date: Thu, 06 Dec 2012 16:48:32 GMT
Server: Apache
Vary: Accept-Encoding
Connection: close
Content-Type: text/html

HTTP/1.1 200 OK
Date: Thu, 06 Dec 2012 16:48:37 GMT
Server: Apache
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Last-Modified: Thu, 06 Dec 2012 16:48:37 GMT
Cache-Control: no-store, no-cache, must-revalidate
Cache-Control: post-check=0, pre-check=0
Pragma: no-cache
Connection: close
Content-Type: application/json

HTTP/1.1 302 Found
Date: Thu, 06 Dec 2012 16:48:48 GMT
Server: Apache
Vary: Accept-Encoding
Connection: close
Content-Type: text/html

HTTP/1.1 200 OK
Date: Thu, 06 Dec 2012 16:48:52 GMT
Server: Apache
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Last-Modified: Thu, 06 Dec 2012 16:48:52 GMT
Cache-Control: no-store, no-cache, must-revalidate
Cache-Control: post-check=0, pre-check=0
Pragma: no-cache
Connection: close
Content-Type: application/json

SEPTAdev

unread,
Dec 6, 2012, 4:36:10 PM12/6/12
to sept...@googlegroups.com
See if it works now, the rewrite needed a tweak

http://www3.septa.org/hackathon/NextToArrive/St.%20Davids/Overbrook%20/3

Aaron Ogle

unread,
Dec 10, 2012, 8:34:04 AM12/10/12
to sept...@googlegroups.com
Hey team,
I'm getting several reports over the past few days about missing results from NTA API (via Baldwin), and downtime last night. I'm not sure what changed but there are still some bugs. Can you all take a look?

// Looks like Chelten Avenue is not in the "offical" list any more

// Both stations look valid

Aaron

Kenny Chapman

unread,
Dec 10, 2012, 9:51:36 AM12/10/12
to sept...@googlegroups.com
I'm getting the same reports on the Warminster line
Reply all
Reply to author
Forward
0 new messages