Welcome to the Postman Collections Quickstart Guide! If you're looking for an easy way to get started with the Flyline API with no additional code, you're in the right place. Postman is a great tool that allows users explore API functionality by manually sending API requests and receiving responses. We have created a collection of pre-populated HTTP requests that can be sent to the Flyline API. This quickstart is a step-by-step guide that will get you up and running with Postman and Flyline’s Postman collection to enable you for ad-hoc exploration and testing.
If you are looking for a more in-depth guide and reference for the Flyline API, please refer to the Flyline API documentation.
Follow these steps to quickly get started with the Flyline API:
-
Sign up with Flyline to get a API key that is required for interacting with the API.
-
Download and install the Postman app
-
Install the Flyline Postman Collection. Click the "Run in Postman" button below to install the Flyline collection!
-
Once both the collection and the environment variables are imported into Postman, see the Configuration section on how to correctly configure the API key with the collection.
The Flyline Postman collection uses Postman environment variables to simplify each API request. More information on managing Postman environments can be found at Setting up an environment with variables.
- Select the
Flyline
environment in the top right corner - Click the
eye
icon to open the environment settings - Copy in your Flyline API key from your Flyline Dashboard, into
FToken
field. - Save your changes and start making Flyline API requests!
The following collection is a fully-featured set of pre-filled requests that allow you to test the Flyline API, and visualize the responses in a friendly format.
-
One-way - Retrieves information of air attributes and amenties on a specific flight
- One-way - Retrieves one-way trip airfare information
-
Round-trip
- Round-trip - Retrieves round-trip airfare information
-
Air Fare by Airlines - Retrieves airfare information of specific airlines
- American Airlines - Retrieves airfare information of American Airlines
- Unitied Airlines - Retrieves airfare information of Unitied Airlines
- Air Canada - Retrieves airfare information of Air Canada
- British Airways - Retrieves airfare information of British Airways
- Frontier Airlines - Retrieves airfare information of Frontier Airlines
- Spirit Airlines - Retrieves airfare information of Spirit Airlines
- Alaska Air - Retrieves airfare information of Alaska Air
- Jetblue Airways - Retrieves airfare information of Jetblue Airways
- Delta Airlines - Retrieves airfare information of Delta Airlines
- Southwest Airlines - Retrieves airfare information of Southwest Airlines
- Singapore Airlines - Retrieves airfare information of Singapore Airlines
- Air France - Retrieves airfare information of Air France
-
Air Fares with Parameters
- Filter by Cabin Class - Filter airfare information by cabin class
- Filter by Departure Time Duration - Filter by airfare information by departure time range
- Filter by Arrival Date Duration - Filter by airfare information by arrival date range
- Filter by Arrival Time Duration - Filter by arifare information by arrival time range
- Filter by Flight Numbers - Filter by airfare information by a list of flight numbers
- Filter by Stops - Filter by airfare information by stops
- Filter by Max Price - Filter by airfare information by max price
- Filter by Airlines - Filter by airfare information by airlines
-
Air Attribute by Flight Number - Retrieves information of air attributes and amenties on a specific flight
-
Air Attribute by Route
- One-way - Retrieves information of air attributes and amenities by one-way trip
- Round-trip - Retrieves information of air attributes and amenities for round-trip
- Schedule by Route - Retrieve information of specific flight schedule by flight number
- Schedule by Flight Number - Retrieve information of flight schedules by the route
- SeatMap - Retrieve seatmap information of by airline and aircraft
-
Aircraft Data API
- List Aircraft - Retrieves a paginated list of all supported aircraft
- Get Aircraft - Retrieves information of an aircraft by its iata code
-
Airline Data API
- List Airlines - Retrieves a paginated list of all supported airlines
- Get Airline - Retrieves information of an airline by its iata code
-
Airport Data API
- List Airports - Retrieves a paginated list of all supported airports
- Get Airport - Retrieves information of an airport by its iata code
- Get Airports By City - Retrieves a list of airports in a city specified city iata code
-
City Data API
- List Aircraft - Retrieves a paginated list of all supported cities
- Get Aircraft - Retrieves information of a city by its iata code
-
Cabin Class Mapping Data API
- Get Cabin Class Mapping - Retrieves cabin class and booking class mapping
-
Air Amenities Data API
- List Seats - Retrieves a paginated list of all supported seat
- List Seat Layouts - Retrieves a paginated list of all supported seat layout
- List Foods - Retrieves a paginated list of all supported foods
- List Beverages - Retrieves a paginated list of all supported beverages
- List Entertainments - Retrieves a paginated list of all supported entertainments
- List Wifis - Retrieves a paginated list of all supported wifis
- List Powers - Retrieves a paginated list of all supported powers