Eged and railways API

396 views
Skip to first unread message

Alex Arshavski

unread,
Aug 12, 2012, 2:59:59 AM8/12/12
to pywe...@googlegroups.com
Hi,

Maybe it's not so relevant question for the group, but I will ask anyway:
Does somebody knows of any Egged, Dan or Israel railways API for their tickets prices?

Thanks, Alex A.

Nadav Har Tzvi

unread,
Aug 12, 2012, 3:36:33 AM8/12/12
to pywe...@googlegroups.com
Well this is an interesting question, my guess is No, or at least not a public API.
If you ask how bus.co.il do it, my guess is that panther2000 (the web company that owns bus.co.il) is using either scrapers or they have special contracts with the bus companies.

At any rate, why not simply go ask the bus companies?

2012/8/12 Alex Arshavski <alex...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "PyWeb-IL" group.
To post to this group, send email to pywe...@googlegroups.com.
To unsubscribe from this group, send email to pyweb-il+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pyweb-il?hl=en.

Alex Arshavski

unread,
Aug 12, 2012, 3:38:37 AM8/12/12
to pywe...@googlegroups.com
Thanks for the fast reply.

That's what I'm going to do. Just thought someone had this experience already.

Regards, Alex A.

Michael Genkin

unread,
Aug 12, 2012, 5:13:50 AM8/12/12
to pywe...@googlegroups.com

Another option that I'd try is to check whatever the GTFS data the ministry of transportation recently released on http://data.gov.il contains price information.

Alex Arshavski

unread,
Aug 12, 2012, 5:25:29 AM8/12/12
to pywe...@googlegroups.com
Thanks,

Didn't find any related stuff there.

Regards, Alex A.

Yo'av Moshe

unread,
Aug 14, 2012, 6:04:57 PM8/14/12
to pywe...@googlegroups.com
If you're interested, I have a python code that queries the bus.gov.il free text service. If you ask for the price of the ride, it will tell you. It returns HTML, not JSON or anything like that, but I guess you can improve it to extract just the price out of it.

Yo'av

2012/8/12 Alex Arshavski <alex...@gmail.com>


--
Yo'av Moshe

Alex Arshavski

unread,
Aug 15, 2012, 12:37:34 AM8/15/12
to pywe...@googlegroups.com
Yes. It would be cool. Only if you don't mind :)
Reply all
Reply to author
Forward
0 new messages