This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# quick & dirty export of workouts to *.gpx file with timestamps from MapMyFitness API | |
# for purpose of moving to other apps (tested with Endomondo) | |
# based on: https://developer.mapmyapi.com/docs/read/Authentication2 | |
# needs API access request "Request a key" @ https://developer.mapmyapi.com/ | |
from __future__ import unicode_literals | |
import requests | |
import urlparse | |
import webbrowser | |
import json | |
from requests_oauthlib import OAuth2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="viewport" content="initial-scale=1.0, user-scalable=no"/> | |
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true"></script> | |
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.js?1.29.1"></script> | |
<style type="text/css"> | |
html, body, #map { | |
width: 100%; |