FlyerTalk Forums - View Single Post - Aeroplan City Pair mileage (new pseudo-MPM)
Old Jul 1, 17, 5:54 pm
  #231  
Fly1234
 
Join Date: Mar 2016
Posts: 18
How to get MPM yourself

I'm surprised no one has posted this, as Aeroplan has included the MPM in their search results source for several years.

Simply search for a 3 flight multicity trip with dummy dates, set the origin and return your home airport and the 1st or 2nd destination your desired POT. Make sure the other stop is a lot closer to home and that all 3 legs have availability. Then once the flight results load, in a new tab quickly open the JSON source using this URL (replace the dns if different):

https://www5.aeroplan.com/adr/Result...forceIkk=false

Then in the JSON, search for the text "mpm". You'll also see other goodies in the file such as the miles between each segment's city pair.

Or, a faster method but only tested on Chrome, after the results load simply type this into your browser's address bar. Replace [colon] with the real : character

javascript[colon]alert(results.results.NormalResults.mpm);

To verify your POT is correct, type

javascript[colon]alert(results.results.NormalResults.pot);

To view the city pair distances, use:

javascript[colon]alert(JSON.stringify(results.results.NormalResults .distances));

Last edited by Fly1234; Jul 2, 17 at 10:29 am
Fly1234 is offline