Example code for working with the MapMyFitness APIs