XML access to ATC bookings

Support forum for VATBOOK, the flight booking system. For general vroute queries please use vroute.premium forums above.

Moderator: Michal Rok

XML access to ATC bookings

Postby administrator » Sun Aug 12, 2007 7:22 am

You can download the upcoming bookings in XML format for presenting on your website using the following link:

http://vatbook.euroutepro.com/xml.php?fir=EPWW

Replace EPWW with your FIR name. Please cache the file and avoid downloading it every time someone views your website.


Michal
administrator
Site Admin
 
Posts: 5
Joined: Tue Aug 23, 2005 6:58 pm

Re: XML access to ATC bookings

Postby Markus Zürcher » Sat May 17, 2008 10:22 pm

It looks like there is a limitation of days in the future beeing displayed.

We have curently 3 bookings for the 6th of June. I can see them in vroute but not in the XML output.

How many days in the future are displayed in the XML output & is there a way to show all bookings w/o a limitation?
Markus Zürcher
 
Posts: 6
Joined: Mon Feb 11, 2008 6:48 pm

Re: XML access to ATC bookings

Postby Michal Rok » Sun May 18, 2008 8:57 am

There's a limit of 14 days forward in the standard xml.php interface.

There's a newer version available at http://vatbook.euroutepro.com/xml2.php?fir=EPWW
which shows data in a slightly different structure, including both ATC and flights. I increased the time range there to 6 months in advance. I prefer to keep some time limit in place, to avoid people booking 2080 by spelling accident and showing it till the end of our civilisation (or the end of VATBOOK, whichever comes first).


Michal
User avatar
Michal Rok
Five Star Club
 
Posts: 2430
Joined: Wed Aug 31, 2005 4:23 pm
Location: Warsaw, Poland

Re: XML access to ATC bookings

Postby Markus Zürcher » Sun May 18, 2008 2:51 pm

Hi Michal

Thx for your answer...

Im sure, the end of the civilisation comes first... :?
Markus Zürcher
 
Posts: 6
Joined: Mon Feb 11, 2008 6:48 pm

Re: XML access to ATC bookings

Postby bbeach » Fri Jul 25, 2008 8:35 pm

How's about one for specific IDs? It would be great to show (on my own personal website) my ATC and flight bookings for vRoute.
bbeach
Premium User
 
Posts: 2
Joined: Sun May 04, 2008 12:35 am

Re: XML access to ATC bookings

Postby Markus Zürcher » Mon Jul 28, 2008 3:52 pm

bbeach wrote:How's about one for specific IDs? It would be great to show (on my own personal website) my ATC and flight bookings for vRoute.

Or on a Member Detail Page, good Idea!
Markus Zürcher
 
Posts: 6
Joined: Mon Feb 11, 2008 6:48 pm

Re: XML access to ATC bookings

Postby Michal Rok » Mon Jul 28, 2008 6:29 pm

Or maybe it would be more interesting to do something like vatsimindicators.net including booking info?


Michal
User avatar
Michal Rok
Five Star Club
 
Posts: 2430
Joined: Wed Aug 31, 2005 4:23 pm
Location: Warsaw, Poland


Return to VATBOOK

Who is online

Users browsing this forum: No registered users and 2 guests

cron