{ "opencollection": "1.0.0", "info": { "name": "Lufthansa LH Public Cargo Operations API", "version": "1.0" }, "items": [ { "info": { "name": "Operations", "type": "folder" }, "items": [ { "info": { "name": "Lufthansa Flight Status", "type": "http" }, "http": { "method": "GET", "url": "https://api.lufthansa.com/v1/operations/flightstatus/:flightNumber/:date", "headers": [ { "name": "Accept", "value": "" } ], "params": [ { "name": "flightNumber", "value": "", "type": "path", "description": "Flight number including carrier code and any suffix (e.g. 'LH400')" }, { "name": "date", "value": "", "type": "path", "description": "The departure date (YYYY-MM-DD) in the local time of the departure airport" }, { "name": "limit", "value": "", "type": "query", "description": "Number of records returned per request. Defaults to 20, maximum is 100 (if a value bigger than 100 is given, 100 will be taken)" }, { "name": "offset", "value": "", "type": "query", "description": "Number of records skipped. Defaults to 0" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://api.lufthansa.com/v1/oauth/token", "accessTokenUrl": "https://api.lufthansa.com/v1/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Status of a particular flight (boarding, delayed, etc.)." }, { "info": { "name": "Lufthansa Flight Status by Route", "type": "http" }, "http": { "method": "GET", "url": "https://api.lufthansa.com/v1/operations/flightstatus/route/:origin/:destination/:date", "headers": [ { "name": "Accept", "value": "" } ], "params": [ { "name": "origin", "value": "", "type": "path", "description": "3-letter IATA airport (e.g. 'FRA')" }, { "name": "destination", "value": "", "type": "path", "description": "3-letter IATA airport code (e.g. 'JFK')" }, { "name": "date", "value": "", "type": "path", "description": "Departure date (YYYY-MM-DD) in local time of departure airport" }, { "name": "limit", "value": "", "type": "query", "description": "Number of records returned per request. Defaults to 20, maximum is 100 (if a value bigger than 100 is given, 100 will be taken)" }, { "name": "offset", "value": "", "type": "query", "description": "Number of records skipped. Defaults to 0" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://api.lufthansa.com/v1/oauth/token", "accessTokenUrl": "https://api.lufthansa.com/v1/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Status of flights between a given origin and destination on a given date." }, { "info": { "name": "Lufthansa Flight Status at Arrival Airport", "type": "http" }, "http": { "method": "GET", "url": "https://api.lufthansa.com/v1/operations/flightstatus/arrivals/:airportCode/:fromDateTime", "headers": [ { "name": "Accept", "value": "" } ], "params": [ { "name": "airportCode", "value": "", "type": "path", "description": "3-letter IATA aiport code (e.g. 'ZRH')" }, { "name": "fromDateTime", "value": "", "type": "path", "description": "Start of time range in local time of arrival airport (YYYY-MM-DDTHH:mm)" }, { "name": "limit", "value": "", "type": "query", "description": "Number of records returned per request. Defaults to 20, maximum is 100 (if a value bigger than 100 is given, 100 will be taken)" }, { "name": "offset", "value": "", "type": "query", "description": "Number of records skipped. Defaults to 0" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://api.lufthansa.com/v1/oauth/token", "accessTokenUrl": "https://api.lufthansa.com/v1/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Status of all arrivals at a given airport up to 4 hours from the provided date time." }, { "info": { "name": "Lufthansa Flight Status at Departure Airport", "type": "http" }, "http": { "method": "GET", "url": "https://api.lufthansa.com/v1/operations/flightstatus/departures/:airportCode/:fromDateTime", "headers": [ { "name": "Accept", "value": "" } ], "params": [ { "name": "airportCode", "value": "", "type": "path", "description": "Departure airport. 3-letter IATA airport code (e.g. 'HAM')" }, { "name": "fromDateTime", "value": "", "type": "path", "description": "Start of time range in local time of departure airport (YYYY-MM-DDTHH:mm)" }, { "name": "limit", "value": "", "type": "query", "description": "Number of records returned per request. Defaults to 20, maximum is 100 (if a value bigger than 100 is given, 100 will be taken)" }, { "name": "offset", "value": "", "type": "query", "description": "Number of records skipped. Defaults to 0" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://api.lufthansa.com/v1/oauth/token", "accessTokenUrl": "https://api.lufthansa.com/v1/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Status of all departures from a given airport up to 4 hours from the provided date time." }, { "info": { "name": "Lufthansa Flight Schedules", "type": "http" }, "http": { "method": "GET", "url": "https://api.lufthansa.com/v1/operations/schedules/:origin/:destination/:fromDateTime", "headers": [ { "name": "Accept", "value": "" } ], "params": [ { "name": "origin", "value": "", "type": "path", "description": "Departure airport. 3-letter IATA airport code (e.g. 'ZRH')" }, { "name": "destination", "value": "", "type": "path", "description": "Destination airport. 3-letter IATA airport code (e.g. 'FRA')" }, { "name": "fromDateTime", "value": "", "type": "path", "description": "Local departure date and optionally departure time (YYYY-MM-DD or YYYY-MM-DDTHH:mm). When not provided, time is assumed to be 00:01" }, { "name": "directFlights", "value": "", "type": "query", "description": "Show only direct flights (false=0, true=1). Default is false" }, { "name": "limit", "value": "", "type": "query", "description": "Number of records returned per request. Defaults to 20, maximum is 100 (if a value bigger than 100 is given, 100 will be taken)" }, { "name": "offset", "value": "", "type": "query", "description": "Number of records skipped. Defaults to 0" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://api.lufthansa.com/v1/oauth/token", "accessTokenUrl": "https://api.lufthansa.com/v1/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Scheduled flights between given airports on a given date." } ] } ], "bundled": true }