Jump to content

Recommended Posts

Posted

Hey guys,

I was wondering if anyone knows of a way that I can basically grab information from one of the VATSIM Data servers, and pull my pilots info out of it and match it with a pirep to add .5 more hours per flight that the pilot does on VATSIM. This is just a thought that I was thinking could be possible in the future at my VA.

Posted

Does VATSIM have open/completed flights XML?

I wrote a module that does pretty much exactly this for another tracking website so I can adapt it pretty easily...

Guest lorathon
Posted

What you are supposed to do is first download the following http://status.vatsim.net/status.txt

Then follow the instructions. (you should vary the data feed read between servers found in the status.txt to reduce bandwidth load on any one server)

Using a cron job....

I download the first once a day (status.txt). Then download the data feed every five minutes (varying the server). I seem to remember that the data feed only updates every 5 minutes so no need to download anymore than that. Then load both locally when the page is loaded.

Be sure to ask for permission first. I had no problems getting it. As long as you follow their instructions they seem to be pretty open to letting anyone use the data.

Guest lorathon
Posted

To be honest I have no idea. I just split it and looped through to get what I wanted. Pain in the rear but it worked.

Posted

They seriously need to choose some kind of decent standard, XML or JSON or something, anything... how are you supposed to tell when one row ends and another starts? :angry:

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...