Skip to content

Instantly share code, notes, and snippets.

@muerl
Last active September 7, 2017 18:16
Show Gist options
  • Save muerl/dd24893bde692288bff64b30380b0e61 to your computer and use it in GitHub Desktop.
Save muerl/dd24893bde692288bff64b30380b0e61 to your computer and use it in GitHub Desktop.
Project MIA direct flights

Airports with direct flights:

LIM, EZE, LGA, EWR, MGA, BOG, MEX, LAS, MDE, ORD, JFK, PTY, CUN,  ATL, LAX, YYZ, DFW, GYE, KIN, TPA, SJO, DEN, IAH, GIG, AUA, CLO, SFO, CCS, SCL, GCM, DTW, CUR, MAO, UVF, BWI, GSO,  MCO, BOS, DCA,  IAD, GRU, TGU, ORF, GUA, YUL, MBJ, RDU, SAN,  CTG, SAL, MAR, AUS, SEA, IND, EGE, MCI, PIT, GDL, BGI, MEM, MTY, SAT, LIR, PHX, PHL, MVD, RIC, MSY, BSB, GNV, BNA, CLE, CNF, JAX, MID, CLT, TLH, BEL, MSP, SLC, STL, BZE, VVI, BHM, TUL, GND,  PNS, GEO, CHS, PVD, FDF, CZM, CVG, SDF, MKE, FOR, CMH

This removes airports in the leeward islands, PR, Hispanola, and Cuba and europe.

Map of where each code goes: http://www.gcmap.com/mapui?P=LIM,+EZE,+LGA,+EWR,+MGA,+BOG,+MEX,+LAS,+MDE,+ORD,+JFK,+PTY,+CUN,++ATL,+LAX,+YYZ,+DFW,+GYE,+KIN,+TPA,+SJO,+DEN,+IAH,+GIG,+AUA,+CLO,+SFO,+CCS,+SCL,+GCM,+DTW,+CUR,+MAO,+UVF,+BWI,+GSO,++MCO,+BOS,+DCA,++IAD,+GRU,+TGU,+ORF,+GUA,+YUL,+MBJ,+RDU,+SAN,++CTG,+SAL,+MAR,+AUS,+SEA,+IND,+EGE,+MCI,+PIT,+GDL,+BGI,+MEM,+MTY,+SAT,+LIR,+PHX,+PHL,+MVD,+RIC,+MSY,+BSB,+GNV,+BNA,+CLE,+CNF,+JAX,+MID,+CLT,+TLH,+BEL,+MSP,+SLC,+STL,+BZE,+VVI,+BHM,+TUL,+GND,++PNS,+GEO,+CHS,+PVD,+FDF,+CZM,+CVG,+SDF,+MKE,+FOR,++CMH

Go to http://matrix.itasoftware.com/ and click one way

Click Advanced Controls Enter N in the Routing Controls field

Paste the block of airports above in the destinations. Enter MIA for the origin (If you are trying to get out of FLL or PBI feel free to add them MIA, FLL, PBI for example)

Select 9/7/2016 as the departure date and choose or the next day

Search.

You can search by departure time (rather than price) and filter on how much you want to pay. Screen shot is limited to flights < $1000

Screen Shot of Matrix Result: https://www.dropbox.com/s/nnn5vxl3w4t9kun/Screenshot%202017-09-07%2013.57.22.png?dl=0

Pick your flight and use http://bookwithmatrix.com to book (or use your own favorite search engine)

If you run into issue comment here or @muerl on twitter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment