UTC(Z)06:14
EST01:14
CST00:14
MST23:14
PST22:14
Home Blogs Forums Photos Roller

Some newbie questions

Last post 05-20-2009, 11:32 AM by agreen. 1 replies.
Sort Posts: Previous Next
  •  05-19-2009, 10:07 PM 1384

    Some newbie questions

    Hi, I'm learning to use the new API. Have an idea for a mashup that I'm excited about. Won't make me a million bucks, but should be fun.

    However, I'm a newbie and am encountering some obstacles. Fixing these might make it easier for the next person.

    1) For documentation, I go to http://fboweb.com/documentation/39/PlaneXML_API_Reference.html . FYI, there are many things that appear to be links to bookmarks on other parts of the page, but none of the bookmarks work. (Using Chrome and Firefox.)

    2) In the part that says, "FAA flight ID (ie, AAL1410)", can you link to a page that will show us all the codes for Airline Name to FAA abbreviation? I figured out that I could just View, Source on one of your search pages, but it would be nice to have a link right there.

    3) Can you show an example of what a Unix date format looks like?

    4) I need help on queries. You don't show any examples of actually using a query. If I want to find the Index of a flight VX900 on May 18, 2009, is it (keep in mind my date format is messed up pending your answer to #3 above)

    $history = $PlaneXML->FlightHistory("ident=='VRD900'&&deptime>'20090318000000'&&arrtime

    Thanks. Seems cool, and I hope we can all find great uses for this API.

    Jeral
  •  05-20-2009, 11:32 AM 1385 in reply to 1384

    Re: Some newbie questions

    Hey Jeral!

    As for the links to the bookmarks in the docs, I'll double check - we were having problems when we copied the help docs from the editor we used (it was screwing up some links) and I suspect that's what has happened again.

    As for number 2, that's a great idea... in the interim, you can use Wikipedia for finding the 3 letter ID's for airlines.

    As for 3, its basically just a long-integer - but I'll see if we can put up some conversion code to convert from regular dates to Unix timestamp dates.

    With item 4, when specifying the dates in the query, they would be in plane-english dates... ie, deptime>'3/18/2009'

    Hope this helps - I'll go dig up the info on the timestamp code.
View as RSS news feed in XML
Powered by Community Server, by Telligent Systems