I regularly (every week) fly for work.
To do this at the moment, I have to manually check the website of the
couriers I use (Primarily Easyjet, BA, BMI).
This is a repetitive task which takes quite a lot of time, so I was thinking
about automating it.
Basically, I need to collect the prices of flights on dates I specify in
order to work out which flights best suit my needs.
Possible?
Any pointers on where to start?
--
Cheers,
James Goodman 5 1077
Hi James:
You might want to first check if the site offers a web service
interface. If so it might be as easy as "Add web Reference" from the
IDE's Project menu (and then writing a little bit of code to call the
service).
Alternatively, If you google for "screen scraping" you'll find
articles and tips on how to programatically request a web page and
parse information out. In .NET this is generally done with either the
WebClient or HttpWebRequest classes.
HTH,
--
Scott http://www.OdeToCode.com/blogs/scott/
On Mon, 25 Oct 2004 14:29:50 +0100, "James Goodman"
<jamesATnorto n-associates.co.u kREMOVE> wrote: I regularly (every week) fly for work.
To do this at the moment, I have to manually check the website of the couriers I use (Primarily Easyjet, BA, BMI).
This is a repetitive task which takes quite a lot of time, so I was thinking about automating it.
Basically, I need to collect the prices of flights on dates I specify in order to work out which flights best suit my needs.
Possible? Any pointers on where to start?
Very good question!!!
I have never done anything like that. But I read something about it. Look
int HttpRequest class. You can make a request to their website and parse out
their HTML. Also regular expressions might be some use to you for extracting
data wrapped around HTML tags.
"James Goodman" wrote: I regularly (every week) fly for work.
To do this at the moment, I have to manually check the website of the couriers I use (Primarily Easyjet, BA, BMI).
This is a repetitive task which takes quite a lot of time, so I was thinking about automating it.
Basically, I need to collect the prices of flights on dates I specify in order to work out which flights best suit my needs.
Possible? Any pointers on where to start?
-- Cheers,
James Goodman
Thanks.
How would I know if they have a web service?
--
Cheers,
James Goodman
"Scott Allen" <bitmask@[nospam].fred.net> wrote in message
news:ep******** *************** *********@4ax.c om... Hi James:
You might want to first check if the site offers a web service interface. If so it might be as easy as "Add web Reference" from the IDE's Project menu (and then writing a little bit of code to call the service).
Alternatively, If you google for "screen scraping" you'll find articles and tips on how to programatically request a web page and parse information out. In .NET this is generally done with either the WebClient or HttpWebRequest classes.
HTH,
-- Scott http://www.OdeToCode.com/blogs/scott/
On Mon, 25 Oct 2004 14:29:50 +0100, "James Goodman" <jamesATnorto n-associates.co.u kREMOVE> wrote:
I regularly (every week) fly for work.
To do this at the moment, I have to manually check the website of the couriers I use (Primarily Easyjet, BA, BMI).
This is a repetitive task which takes quite a lot of time, so I was thinking about automating it.
Basically, I need to collect the prices of flights on dates I specify in order to work out which flights best suit my needs.
Possible? Any pointers on where to start?
Me neither, & I thought it would be useful! :)
--
Cheers,
James Goodman
"WebMatrix" <We*******@disc ussions.microso ft.com> wrote in message
news:9F******** *************** ***********@mic rosoft.com... Very good question!!! I have never done anything like that. But I read something about it. Look int HttpRequest class. You can make a request to their website and parse out their HTML. Also regular expressions might be some use to you for extracting data wrapped around HTML tags.
"James Goodman" wrote:
I regularly (every week) fly for work.
To do this at the moment, I have to manually check the website of the couriers I use (Primarily Easyjet, BA, BMI).
This is a repetitive task which takes quite a lot of time, so I was thinking about automating it.
Basically, I need to collect the prices of flights on dates I specify in order to work out which flights best suit my needs.
Possible? Any pointers on where to start?
-- Cheers,
James Goodman
They would have to advertise the service somehow. Amazon and eBay have
a web service interface although they do not advertise the fact on the
front page (because it doesn't appeal to the masses) so you might have
to dig around on the site or send an email. If the site relies on
advertising for revenue, they probably do not expose a service because
it circumvents all the ads.
--
Scott http://www.OdeToCode.com/blogs/scott/
On Mon, 25 Oct 2004 17:40:37 +0100, "James Goodman"
<jamesATnorto n-associates.co.u kREMOVE> wrote: Thanks.
How would I know if they have a web service? This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Nat |
last post by:
Hi there,
I have code as following but it returns error
Error Type:
Microsoft VBScript compilation (0x800A03F6)
Expected 'End'
/urbisjhdintranet/metadata/resultList.asp, line 324
which is the second last line at the end of the code. I have no idea
where to put 'end'. It would be great if anyone could help.
Thanks heaps!
Nat
|
by: MT McNasty |
last post by:
Hi. I'm trying to start modifying a VNC client (say RealVNC or UltraVNC).
My problem is that I don't even know where to begin? I can't find a list of
API's on any of them, and I just don't know where to start.
If you could point me to a FAQ or ANYTHING that can help me get started I'd
be grateful.
|
by: GAVO. |
last post by:
This probably is not the best group to post this question but any ways.
I've been working with ms access for the last couple of years and gotten
very good at it. I have never been on any ms access course, all I know about
ms access I have learned from you guys and other websites and books. I
started creating very simple application and my latest one; I consider very
advances, which that I have developed with the help of Visual basic....
|
by: Mr. Mountain |
last post by:
In the following code I simulate work being done on different threads by
sleeping a couple methods for about 40 ms. However, some of these methods
that should finish in about 40 -80 ms take as long as 2300 ms to complete.
This is fairly rare, but the test code below will definitely show it.
Somehow, I must not have my design right.
The idea of this code is that I do two different types of processing (
1-starting and 2-ending) based on...
|
by: Odinn |
last post by:
Greetings , This is my first year at programming and 3rd week at this
so count me as a pure newbie.
I am trying to make a program that gets a number and prints out starts
as this:
For input 3 :
*
**
***
| |
by: saundra |
last post by:
This appears to be the code that is giving me trouble. Can someone help
<?
include("common.php");
require_once("$HeaderFile");
if(empty($_GET)){
$Start = '0';
}else{
$Start = $_GET;
|
by: =?Utf-8?B?cm9jY28=?= |
last post by:
Hello,
easy question:
- what are the best books to start learning C#?
Thanks!
Rocco
|
by: Ceebaby via AccessMonster.com |
last post by:
Hi Folks
I wondered if someone could point me in the right direction before I
completely tear my hair out.
I have a user selection form where options can be selected for a report.
Users now want to also filter the options by date selections or not if they
wish.
I added to unbound text fields to input the start and end dates and inserted
them into my str Where code. It was working fine until the these were added.
|
by: Phlip |
last post by:
1230987za wrote:
Kanze is a classically-trained "unit tester". In some circles "unit" is a QA
concept - specifically, if a test fails, you only need to inspect one unit.
So "units" are "things which are clearly delimited and accessible to
inspection". That should map onto C++ classes - specifically due to
overlapping requirements. C++ classes _should_ be "things which are clearly
delimited and accessible to inspection". Yet...
|
by: natalie99 |
last post by:
Hi All
I thought this would be easy but I am having great difficulty! Could someone kindly please explain where I am going wrong?
I have a single table of data, tblA
each line shows a start/stop, country, date and price
eg. lines:
Action-------Country----------Date-------------------Value
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |