Notices


Reply
Thread Tools
krk969's Avatar
Posts: 754 | Thanked: 630 times | Joined on Sep 2009 @ London
#11
added VIA option in the ROUTING window.
TravelApp 0.1-2 in extras-devel now.
screenshot attached:
Attached Images
 

Last edited by krk969; 2010-01-21 at 12:14. Reason: added version
 
Posts: 127 | Thanked: 54 times | Joined on Nov 2009
#12
Looks good. have you thought about integrating it into the live departure boards?

I have some python code I wrote to retrieve the live deapture boards info for both London tube and UK rail. It's probably not very well written as it's the first python thing I've ever done - but you're welcome to it if it helps the project.
 

The Following User Says Thank You to wizbowes For This Useful Post:
krk969's Avatar
Posts: 754 | Thanked: 630 times | Joined on Sep 2009 @ London
#13
Originally Posted by wizbowes View Post
Looks good. have you thought about integrating it into the live departure boards?

I have some python code I wrote to retrieve the live deapture boards info for both London tube and UK rail. It's probably not very well written as it's the first python thing I've ever done - but you're welcome to it if it helps the project.
thanks wizbowes.
would be nice to have access to API's with live departure info.
Not sure if its so relevant for underground trains but certainly helps for national rail.
Do you know of any web api's that provide national rail routing in XML/HTML/JSON/whatever ouput ?

Im looking to integrate even bus/air travel into this, for UK or other popular places on request here, some members from canada have sent me links which seems easy to integrate but I need to know if the websites are open to queries from apps.

cheers
 
Posts: 127 | Thanked: 54 times | Joined on Nov 2009
#14
There's an API for national rail described here:



However I don't think it contains any route information - Not at all sure how you'd get that - the documentation doesn't really make it very clear..
 

The Following User Says Thank You to wizbowes For This Useful Post:
krk969's Avatar
Posts: 754 | Thanked: 630 times | Joined on Sep 2009 @ London
#15
travelapp-0.1-3 has a minor update.
the routing data display window has been changed to a webkit window to display it as a html file .
kinetic scrolling now works in the webkit window which didnt earlier which was why I hadnt used it and had resorted to a simple text window.
 

The Following 2 Users Say Thank You to krk969 For This Useful Post:
Posts: 299 | Thanked: 241 times | Joined on Oct 2009 @ Singapore
#16
I just posted about the need (!?) for a bus stop info app for Singapore (where the N900 is not yet available...).

http://talk.maemo.org/showthread.php...950#post506950

Format of the data can be found here:
http://antrix.net/journal/techtalk/sbsnextbus3.html
 
krk969's Avatar
Posts: 754 | Thanked: 630 times | Joined on Sep 2009 @ London
#17
Originally Posted by magnuslu View Post
I just posted about the need (!?) for a bus stop info app for Singapore (where the N900 is not yet available...).

http://talk.maemo.org/showthread.php...950#post506950

Format of the data can be found here:
http://antrix.net/journal/techtalk/sbsnextbus3.html
seems like only 1 of the 2 api's are working
http://sbsnextbus.appspot.com/api/v1/<busstopnumber> works while
http://sbsnextbus.appspot.com/api/v1/<busstopnumber>/<service>/
didnt. I just tried the examples posted there.

Also , is there some place to get the list of stops and services, would be better to have a drop down instead of making the user type it.

cheers
 
Posts: 299 | Thanked: 241 times | Joined on Oct 2009 @ Singapore
#18
Hi,

Maybe you forgot the '/' at the end of the second one? I did the first time I tried, but when it is added it works.

I'll see if I can find a list of bus stops with their respective numbers, prefereably as an API.

/Magnus
 
Posts: 299 | Thanked: 241 times | Joined on Oct 2009 @ Singapore
#19
List of road names and bus stops:

http://www.transitlink.com.sg/eguide2.html

Or something from this one:

http://www.smrtbuses.com.sg/ebusguide/busguide.asp


Or this:

http://www.sbstransit.com.sg/irisbus..._findstop.aspx

In case you're not familiar with Singapore roads, Orchard Road is a good one to test with.
 
krk969's Avatar
Posts: 754 | Thanked: 630 times | Joined on Sep 2009 @ London
#20
Originally Posted by magnuslu View Post
List of road names and bus stops:

http://www.transitlink.com.sg/eguide2.html

Or something from this one:

http://www.smrtbuses.com.sg/ebusguide/busguide.asp


Or this:

http://www.sbstransit.com.sg/irisbus..._findstop.aspx

In case you're not familiar with Singapore roads, Orchard Road is a good one to test with.
Due to the requests there are and my lack of time ( since im on a full time job )
I would appreciate if you could attach in text format the list of stations and bus services that I need to have in a drop down fashion input. The http query I need to do with the station and service you have already provided me.
It would make things easier for me to update the app.

thanks for understanding.
 
Reply


 
Forum Jump


All times are GMT. The time now is 09:26.