FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » makes searching and booking applications airfares
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
makes searching and booking applications airfares [message #181260] Fri, 26 April 2013 15:25 Go to next message
Fransiscus Gultom is currently offline  Fransiscus Gultom
Messages: 1
Registered: April 2013
Karma: 0
Junior Member
does anyone know how to take the flight schedule of the airline website?
Re: makes searching and booking applications airfares [message #181261 is a reply to message #181260] Fri, 26 April 2013 15:28 Go to previous messageGo to next message
Salvatore is currently offline  Salvatore
Messages: 38
Registered: September 2012
Karma: 0
Member
On 2013-04-26, Fransiscus Gultom <fransiscusgultom16(at)gmail(dot)com> wrote:
> does anyone know how to take the flight schedule of the airline website?

No.

--
Blah blah bleh...
GCS/CM d(-)@>-- s+:- !a C++$ UBL++++$ L+$ W+++$ w M++ Y++ b++
Re: makes searching and booking applications airfares [message #181262 is a reply to message #181260] Fri, 26 April 2013 15:56 Go to previous messageGo to next message
Daniel Pitts is currently offline  Daniel Pitts
Messages: 68
Registered: May 2012
Karma: 0
Member
On 4/26/13 8:25 AM, Fransiscus Gultom wrote:
> does anyone know how to take the flight schedule of the airline website?


It's likely a different system for each airline. Not to mention there
are probably licensing and business issues. If it were easy, more
companies would be doing it.
Re: makes searching and booking applications airfares [message #181263 is a reply to message #181260] Fri, 26 April 2013 16:49 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 4/26/2013 11:25 AM, Fransiscus Gultom wrote:
> does anyone know how to take the flight schedule of the airline website?
>

You *might* be able to do it with cURL; it depends on several things,
like if the use javascript or not.

But as Daniel said, it would be different for each airline, and probably
a copyright violation if you use it on your own website.

If you want to do this, you should contact each airline to find out if
they will let you do it, how much it costs and how to get access to
their data.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
Re: makes searching and booking applications airfares [message #181264 is a reply to message #181260] Fri, 26 April 2013 18:14 Go to previous messageGo to next message
Denis McMahon is currently offline  Denis McMahon
Messages: 634
Registered: September 2010
Karma: 0
Senior Member
On Fri, 26 Apr 2013 08:25:14 -0700, Fransiscus Gultom wrote:

> does anyone know how to take the flight schedule of the airline website?

You use the airline's api for flight schedules, which may present data as
xml or json or delimited strings or some other proprietary format, and
they may charge for access too.

Also different airlines may have different apis.

--
Denis McMahon, denismfmcmahon(at)gmail(dot)com
Re: makes searching and booking applications airfares [message #181271 is a reply to message #181260] Sun, 28 April 2013 20:38 Go to previous messageGo to next message
Arno Welzel is currently offline  Arno Welzel
Messages: 317
Registered: October 2011
Karma: 0
Senior Member
Fransiscus Gultom, 2013-04-26 17:25:

> does anyone know how to take the flight schedule of the airline website?

There is no "the airline website".

Every airline has its own website with different layout etc..

Ask the airlines if they provide a service to query the schedules using
a standard protocol.


--
Arno Welzel
http://arnowelzel.de
http://de-rec-fahrrad.de
Re: makes searching and booking applications airfares [message #181286 is a reply to message #181260] Fri, 03 May 2013 01:54 Go to previous messageGo to next message
Dan Smith is currently offline  Dan Smith
Messages: 1
Registered: May 2013
Karma: 0
Junior Member
scraping might work - though that isn't always legal to my knowledge ( I don't know enough about the legality of such things ).

this library might be useful for you - http://simplehtmldom.sourceforge.net/

__

http://seatacwebdesign.com
Re: makes searching and booking applications airfares [message #181434 is a reply to message #181271] Thu, 16 May 2013 02:53 Go to previous messageGo to next message
gordonb.6qynk is currently offline  gordonb.6qynk
Messages: 1
Registered: May 2013
Karma: 0
Junior Member
>> does anyone know how to take the flight schedule of the airline website?
>
> There is no "the airline website".
>
> Every airline has its own website with different layout etc..

Air*ports* might also be a source of this information.

> Ask the airlines if they provide a service to query the schedules using
> a standard protocol.

There exists a Kindle app (and it probably runs on other smart
phones) called "Flightboard" by Mobiata. It gets flight schedule
data for an airport (multiple airlines are included, pretty seamlessly.
The app claims it covers 4,000 airports and 1,400 airlines worldwide.)
It gets flight data for flights about to take off or land (no date,
just a time). It looks a lot like the signs in airports labelled
"Arrivals" and "Departures", although you can sort the data by
various fields. Don't use this to schedule a flight next month
(that info might be available to different mobile apps). Do use
this if you want to know if the flight you intend to meet is on
time. The app has to get the data *somewhere*.

There is reference to airline data delays and an FAA-required delay
in live aircraft info, which may be up to 15 minutes. That also
suggests some kind of official status for the data.

Data comes from Flightstats (according to the app), so check out
www.flightstats.com. Their terms of use do not allow screen-scraping.
Forking over enough money might change that.

The app also includes a link to Expedia, which is probably useful
if you are shopping for a future flight based on cost, schedule,
airline, etc.

There are some other apps for more heavy-duty tracking of multiple
flights which probably cost more than Amazon's
$0.00-when-it's-the-free-app-of-the-day, $3.99 when it's not. No,
I have no association with any of these companies other than
occasionally using the app.
Re: makes searching and booking applications airfares [message #181438 is a reply to message #181434] Thu, 16 May 2013 11:19 Go to previous messageGo to next message
Denis McMahon is currently offline  Denis McMahon
Messages: 634
Registered: September 2010
Karma: 0
Senior Member
On Wed, 15 May 2013 21:53:27 -0500, Gordon Burditt wrote:

>>> does anyone know how to take the flight schedule of the airline
>>> website?
>>
>> There is no "the airline website".
>>
>> Every airline has its own website with different layout etc..
>
> Air*ports* might also be a source of this information.

> There exists a Kindle app ....

From the subject, I assumed that the OP is / was trying to obtain fares
and booking information, not real time arrivals and departures (as far as
I know, you can't make a booking on a flight that's closed for departure
unless you have a very special agreement with the airline).

--
Denis McMahon, denismfmcmahon(at)gmail(dot)com
Re: makes searching and booking applications airfares [message #181439 is a reply to message #181434] Thu, 16 May 2013 11:31 Go to previous messageGo to next message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma: 0
Senior Member
On 16/05/13 03:53, Gordon Burditt wrote:
> Their terms of use do not allow screen-scraping.
But does their technology render it impossible ? :-)

--
Ineptocracy

(in-ep-toc’-ra-cy) – a system of government where the least capable to lead are elected by the least capable of producing, and where the members of society least likely to sustain themselves or succeed, are rewarded with goods and services paid for by the confiscated wealth of a diminishing number of producers.
Re: makes searching and booking applications airfares [message #181440 is a reply to message #181439] Thu, 16 May 2013 12:47 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 5/16/2013 7:31 AM, The Natural Philosopher wrote:
> On 16/05/13 03:53, Gordon Burditt wrote:
>> Their terms of use do not allow screen-scraping.
> But does their technology render it impossible ? :-)
>

Never impossible, but it could easily lead you to be on the wrong end of
a lawsuit. Not that you care - you've got nothing, anyway.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
Re: makes searching and booking applications airfares [message #181441 is a reply to message #181439] Thu, 16 May 2013 13:17 Go to previous message
Peter H. Coffin is currently offline  Peter H. Coffin
Messages: 245
Registered: September 2010
Karma: 0
Senior Member
On Thu, 16 May 2013 12:31:52 +0100, The Natural Philosopher wrote:
> On 16/05/13 03:53, Gordon Burditt wrote:
>> Their terms of use do not allow screen-scraping.
> But does their technology render it impossible ? :-)

If a browser can render it, it's possible. It may, though, be a
prohibitive pain in the ass. They've got plenty of web designers on-hand
to rearrange the site details continually, with or without actually
making visible changes, and an interest in NOT making the sites easily
scraped.

--
48. I will treat any beast which I control through magic or technology
with respect and kindness. Thus if the control is ever broken, it
will not immediately come after me for revenge.
--Peter Anspach's list of things to do as an Evil Overlord
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: isset not working with select
Next Topic: php run captcha script on localhost
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 10 09:25:44 GMT 2024

Total time taken to generate the page: 0.03215 seconds