Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

API endpoint:

POST /v1/flights/paths

Example 1:

Request:
  [["SFO", "EWR"]]
Response:
  {
    "airport_code": ["SFO","EWR"],
    "ordered_paths": [["SFO","EWR"]]
  }

Example 2:

Request:
  [["ATL", "EWR"], ["SFO", "ATL"]]
Response:
  {
    airport_code: ["SFO", "EWR"],
    ordered_paths: [["SFO", "EWR"]]
  }

Example 3:

Request:
  [["IND", "EWR"], ["SFO", "ATL"], ["GSO", "IND"], ["ATL", "GSO"]]
Response
  {
    airport_code: ['SFO', 'EWR'],
    ordered_paths: [  
        ["SFO", "ATL"],
        ["ATL", "GSO"],
        ["GSO", "IND"],
        ["IND", "EWR"]
      ]
  }

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages