Authentication
Authentication is required for access to the API. The API key assigned to an account can be used for accessing the xml, json, or yaml feeds. The HTML interface requires a session (login using either HTTP authentication or the normal login on the site).
It is recommended that a secure connection is used for all request. For more information, see secure access.
Using API Keys
To specify the API key when accessing a resource pass api_key as params or
set the X-FlightCaster-API-Key header when requesting the resource. For
example, a call to get a list of flights would be:
curl http://api.flightcaster.com/flights.xml?api_key=my_api_key
Using HTTP Authentication
Optionally HTTP authentication will work as well. For example:
curl http://my_username:my_password@api.flightcaster.com/flights.xml
