{"id":1362,"date":"2023-09-01T16:06:56","date_gmt":"2023-09-01T21:06:56","guid":{"rendered":"https:\/\/www.nathanhunstad.com\/blog\/?p=1362"},"modified":"2023-09-01T16:06:57","modified_gmt":"2023-09-01T21:06:57","slug":"parsefit-my-simple-python-tool-to-parse-tcx-files-from-google-fit","status":"publish","type":"post","link":"https:\/\/www.nathanhunstad.com\/blog\/2023\/09\/parsefit-my-simple-python-tool-to-parse-tcx-files-from-google-fit\/","title":{"rendered":"ParseFit: My simple Python tool to parse TCX files from Google Fit"},"content":{"rendered":"\n<p>Over ten years ago, I used a tool called SportyPal to track my bike rides on my <a href=\"https:\/\/www.nathanhunstad.com\/blog\/2010\/04\/another-smartphone-convert\/\" target=\"_blank\" rel=\"noopener\" title=\"\">fancy new smartphone<\/a>. I used it for several years, then life intervened in the form of a house, kids, and a lot less time to bike. I forgot about the app for a while, and when I finally went back to it, I was in for a surprise: SportyPal was no more, and with no warning. Just like that, all of my data was gone, never to be seen again.<\/p>\n\n\n\n<p>This wasn&#8217;t the first time that the death of a free service left me high and dry. For example, I and a lot of other people were very unhappy when Google dropped support for Google Reader. As a data hoarder it annoyed me to no end that all of this data was sent into a blackhole, and I didn&#8217;t want this to happen again.<\/p>\n\n\n\n<p>Fast-forward to today. Nowadays I use Google Fit for tracking my workouts. This has two benefits: first, Google is unlikely to disappear anytime soon without warning, and second, they make it easy to download data as I talked about in my <a href=\"https:\/\/www.nathanhunstad.com\/blog\/2023\/08\/add-geolocation-data-to-photos-the-easy-way\/\" target=\"_blank\" rel=\"noopener\" title=\"\">post about Geosetter<\/a>. So I can, and have, downloaded my data just in case, and I have my activities safely stored in TCX files for long-term storage. But could I do better?<\/p>\n\n\n\n<p>One thing I wanted to do was ensure that I could keep track of things like distance outside of Google Fit, which isn&#8217;t great at doing that kind of aggregate reporting. Distance is stored in those files, but in annoying and hard-to-use XML. Thus, I decided to create a Python script to parse out useful data, and <a href=\"https:\/\/github.com\/huns0004\/ParseFit\" target=\"_blank\" rel=\"noopener\" title=\"\">ParseFit<\/a> was born.<\/p>\n\n\n\n<p>It&#8217;s nothing fancy: point it at a folder with TCX files in it, add an optional filter to only get data from some activities like &#8220;Biking&#8221; or &#8220;Walking&#8221;, and you&#8217;ll get distance data in text or CSV format per workout:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">File: 2023-06-25T10_14_03.336-05_00_PT1H26M30.682S_Biking.tcx, NiceDate: 06\/25\/2023, Distance: 29748.637312993083\r\nFile: 2023-07-02T08_09_08.331-05_00_PT2H16M57.505S_Biking.tcx, NiceDate: 07\/02\/2023, Distance: 43849.77351833329\r\nFile: 2023-07-23T10_10_47.441-05_00_PT1H58M50.898S_Biking.tcx, NiceDate: 07\/23\/2023, Distance: 35872.04551453308<\/pre>\n\n\n\n<p>As an aside, I used ChatGPT to generate some of this code, but as I&#8217;ve found with using AI for code, it&#8217;s only a start: you have to know the language well enough to take what AI gives you and expand upon it. So it&#8217;s great for creating stub CSV or XML parsing output functions with Python syntax, for example, but you need to use your own brain to make it do what you want.<\/p>\n\n\n\n<p>With this tool, I can better track my workouts outside of Google Fit and ensure my data is where I want it to be. When it comes to SaaS tools, especially free ones, you always need to work to preserve your data.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After losing all my workout data when SportyPal disappeared, I wrote a tool in Python to parse TCX files from Google Fit so it doesn&#8217;t happen again.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[19],"tags":[],"class_list":["post-1362","post","type-post","status-publish","format-standard","hentry","category-tech-2","entry"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"After losing all my workout data when SportyPal disappeared, I wrote a tool in Python to parse TCX files from Google Fit so it doesn&#039;t happen again.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Nathan Hunstad\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.nathanhunstad.com\/blog\/2023\/09\/parsefit-my-simple-python-tool-to-parse-tcx-files-from-google-fit\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"The blog of Nathan Hunstad |\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"ParseFit: My simple Python tool to parse TCX files from Google Fit | The blog of Nathan Hunstad\" \/>\n\t\t<meta property=\"og:description\" content=\"After losing all my workout data when SportyPal disappeared, I wrote a tool in Python to parse TCX files from Google Fit so it doesn&#039;t happen again.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.nathanhunstad.com\/blog\/2023\/09\/parsefit-my-simple-python-tool-to-parse-tcx-files-from-google-fit\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/www.nathanhunstad.com\/blog\/wp-content\/uploads\/2023\/05\/facicon-stretched.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/www.nathanhunstad.com\/blog\/wp-content\/uploads\/2023\/05\/facicon-stretched.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"484\" \/>\n\t\t<meta property=\"og:image:height\" content=\"258\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2023-09-01T21:06:56+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2023-09-01T21:06:57+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"ParseFit: My simple Python tool to parse TCX files from Google Fit | The blog of Nathan Hunstad\" \/>\n\t\t<meta name=\"twitter:description\" content=\"After losing all my workout data when SportyPal disappeared, I wrote a tool in Python to parse TCX files from Google Fit so it doesn&#039;t happen again.\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.nathanhunstad.com\/blog\/wp-content\/uploads\/2023\/05\/facicon-stretched.jpg\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.nathanhunstad.com\\\/blog\\\/2023\\\/09\\\/parsefit-my-simple-python-tool-to-parse-tcx-files-from-google-fit\\\/#article\",\"name\":\"ParseFit: My simple Python tool to parse TCX files from Google Fit | The blog of Nathan Hunstad\",\"headline\":\"ParseFit: My simple Python tool to parse TCX files from Google Fit\",\"author\":{\"@id\":\"https:\\\/\\\/www.nathanhunstad.com\\\/blog\\\/author\\\/huns0004\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.nathanhunstad.com\\\/blog\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.nathanhunstad.com\\\/blog\\\/2023\\\/09\\\/parsefit-my-simple-python-tool-to-parse-tcx-files-from-google-fit\\\/#articleImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c5113ffdbe47c3095654b9158d4f067a549f1c82013a3f3c5dd7773d3f4b5be0?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Nathan Hunstad\"},\"datePublished\":\"2023-09-01T16:06:56-05:00\",\"dateModified\":\"2023-09-01T16:06:57-05:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.nathanhunstad.com\\\/blog\\\/2023\\\/09\\\/parsefit-my-simple-python-tool-to-parse-tcx-files-from-google-fit\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.nathanhunstad.com\\\/blog\\\/2023\\\/09\\\/parsefit-my-simple-python-tool-to-parse-tcx-files-from-google-fit\\\/#webpage\"},\"articleSection\":\"Tech\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.nathanhunstad.com\\\/blog\\\/2023\\\/09\\\/parsefit-my-simple-python-tool-to-parse-tcx-files-from-google-fit\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.nathanhunstad.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.nathanhunstad.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.nathanhunstad.com\\\/blog\\\/category\\\/tech-2\\\/#listItem\",\"name\":\"Tech\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.nathanhunstad.com\\\/blog\\\/category\\\/tech-2\\\/#listItem\",\"position\":2,\"name\":\"Tech\",\"item\":\"https:\\\/\\\/www.nathanhunstad.com\\\/blog\\\/category\\\/tech-2\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.nathanhunstad.com\\\/blog\\\/2023\\\/09\\\/parsefit-my-simple-python-tool-to-parse-tcx-files-from-google-fit\\\/#listItem\",\"name\":\"ParseFit: My simple Python tool to parse TCX files from Google Fit\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.nathanhunstad.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.nathanhunstad.com\\\/blog\\\/2023\\\/09\\\/parsefit-my-simple-python-tool-to-parse-tcx-files-from-google-fit\\\/#listItem\",\"position\":3,\"name\":\"ParseFit: My simple Python tool to parse TCX files from Google Fit\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.nathanhunstad.com\\\/blog\\\/category\\\/tech-2\\\/#listItem\",\"name\":\"Tech\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.nathanhunstad.com\\\/blog\\\/#person\",\"name\":\"Nathan Hunstad\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.nathanhunstad.com\\\/blog\\\/2023\\\/09\\\/parsefit-my-simple-python-tool-to-parse-tcx-files-from-google-fit\\\/#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c5113ffdbe47c3095654b9158d4f067a549f1c82013a3f3c5dd7773d3f4b5be0?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Nathan Hunstad\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.nathanhunstad.com\\\/blog\\\/author\\\/huns0004\\\/#author\",\"url\":\"https:\\\/\\\/www.nathanhunstad.com\\\/blog\\\/author\\\/huns0004\\\/\",\"name\":\"Nathan Hunstad\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.nathanhunstad.com\\\/blog\\\/2023\\\/09\\\/parsefit-my-simple-python-tool-to-parse-tcx-files-from-google-fit\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c5113ffdbe47c3095654b9158d4f067a549f1c82013a3f3c5dd7773d3f4b5be0?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Nathan Hunstad\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.nathanhunstad.com\\\/blog\\\/2023\\\/09\\\/parsefit-my-simple-python-tool-to-parse-tcx-files-from-google-fit\\\/#webpage\",\"url\":\"https:\\\/\\\/www.nathanhunstad.com\\\/blog\\\/2023\\\/09\\\/parsefit-my-simple-python-tool-to-parse-tcx-files-from-google-fit\\\/\",\"name\":\"ParseFit: My simple Python tool to parse TCX files from Google Fit | The blog of Nathan Hunstad\",\"description\":\"After losing all my workout data when SportyPal disappeared, I wrote a tool in Python to parse TCX files from Google Fit so it doesn't happen again.\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.nathanhunstad.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.nathanhunstad.com\\\/blog\\\/2023\\\/09\\\/parsefit-my-simple-python-tool-to-parse-tcx-files-from-google-fit\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.nathanhunstad.com\\\/blog\\\/author\\\/huns0004\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.nathanhunstad.com\\\/blog\\\/author\\\/huns0004\\\/#author\"},\"datePublished\":\"2023-09-01T16:06:56-05:00\",\"dateModified\":\"2023-09-01T16:06:57-05:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.nathanhunstad.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.nathanhunstad.com\\\/blog\\\/\",\"name\":\"The blog of Nathan Hunstad\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.nathanhunstad.com\\\/blog\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"ParseFit: My simple Python tool to parse TCX files from Google Fit | The blog of Nathan Hunstad","description":"After losing all my workout data when SportyPal disappeared, I wrote a tool in Python to parse TCX files from Google Fit so it doesn't happen again.","canonical_url":"https:\/\/www.nathanhunstad.com\/blog\/2023\/09\/parsefit-my-simple-python-tool-to-parse-tcx-files-from-google-fit\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.nathanhunstad.com\/blog\/2023\/09\/parsefit-my-simple-python-tool-to-parse-tcx-files-from-google-fit\/#article","name":"ParseFit: My simple Python tool to parse TCX files from Google Fit | The blog of Nathan Hunstad","headline":"ParseFit: My simple Python tool to parse TCX files from Google Fit","author":{"@id":"https:\/\/www.nathanhunstad.com\/blog\/author\/huns0004\/#author"},"publisher":{"@id":"https:\/\/www.nathanhunstad.com\/blog\/#person"},"image":{"@type":"ImageObject","@id":"https:\/\/www.nathanhunstad.com\/blog\/2023\/09\/parsefit-my-simple-python-tool-to-parse-tcx-files-from-google-fit\/#articleImage","url":"https:\/\/secure.gravatar.com\/avatar\/c5113ffdbe47c3095654b9158d4f067a549f1c82013a3f3c5dd7773d3f4b5be0?s=96&d=mm&r=g","width":96,"height":96,"caption":"Nathan Hunstad"},"datePublished":"2023-09-01T16:06:56-05:00","dateModified":"2023-09-01T16:06:57-05:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.nathanhunstad.com\/blog\/2023\/09\/parsefit-my-simple-python-tool-to-parse-tcx-files-from-google-fit\/#webpage"},"isPartOf":{"@id":"https:\/\/www.nathanhunstad.com\/blog\/2023\/09\/parsefit-my-simple-python-tool-to-parse-tcx-files-from-google-fit\/#webpage"},"articleSection":"Tech"},{"@type":"BreadcrumbList","@id":"https:\/\/www.nathanhunstad.com\/blog\/2023\/09\/parsefit-my-simple-python-tool-to-parse-tcx-files-from-google-fit\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.nathanhunstad.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.nathanhunstad.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.nathanhunstad.com\/blog\/category\/tech-2\/#listItem","name":"Tech"}},{"@type":"ListItem","@id":"https:\/\/www.nathanhunstad.com\/blog\/category\/tech-2\/#listItem","position":2,"name":"Tech","item":"https:\/\/www.nathanhunstad.com\/blog\/category\/tech-2\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.nathanhunstad.com\/blog\/2023\/09\/parsefit-my-simple-python-tool-to-parse-tcx-files-from-google-fit\/#listItem","name":"ParseFit: My simple Python tool to parse TCX files from Google Fit"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.nathanhunstad.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.nathanhunstad.com\/blog\/2023\/09\/parsefit-my-simple-python-tool-to-parse-tcx-files-from-google-fit\/#listItem","position":3,"name":"ParseFit: My simple Python tool to parse TCX files from Google Fit","previousItem":{"@type":"ListItem","@id":"https:\/\/www.nathanhunstad.com\/blog\/category\/tech-2\/#listItem","name":"Tech"}}]},{"@type":"Person","@id":"https:\/\/www.nathanhunstad.com\/blog\/#person","name":"Nathan Hunstad","image":{"@type":"ImageObject","@id":"https:\/\/www.nathanhunstad.com\/blog\/2023\/09\/parsefit-my-simple-python-tool-to-parse-tcx-files-from-google-fit\/#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/c5113ffdbe47c3095654b9158d4f067a549f1c82013a3f3c5dd7773d3f4b5be0?s=96&d=mm&r=g","width":96,"height":96,"caption":"Nathan Hunstad"}},{"@type":"Person","@id":"https:\/\/www.nathanhunstad.com\/blog\/author\/huns0004\/#author","url":"https:\/\/www.nathanhunstad.com\/blog\/author\/huns0004\/","name":"Nathan Hunstad","image":{"@type":"ImageObject","@id":"https:\/\/www.nathanhunstad.com\/blog\/2023\/09\/parsefit-my-simple-python-tool-to-parse-tcx-files-from-google-fit\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/c5113ffdbe47c3095654b9158d4f067a549f1c82013a3f3c5dd7773d3f4b5be0?s=96&d=mm&r=g","width":96,"height":96,"caption":"Nathan Hunstad"}},{"@type":"WebPage","@id":"https:\/\/www.nathanhunstad.com\/blog\/2023\/09\/parsefit-my-simple-python-tool-to-parse-tcx-files-from-google-fit\/#webpage","url":"https:\/\/www.nathanhunstad.com\/blog\/2023\/09\/parsefit-my-simple-python-tool-to-parse-tcx-files-from-google-fit\/","name":"ParseFit: My simple Python tool to parse TCX files from Google Fit | The blog of Nathan Hunstad","description":"After losing all my workout data when SportyPal disappeared, I wrote a tool in Python to parse TCX files from Google Fit so it doesn't happen again.","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.nathanhunstad.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.nathanhunstad.com\/blog\/2023\/09\/parsefit-my-simple-python-tool-to-parse-tcx-files-from-google-fit\/#breadcrumblist"},"author":{"@id":"https:\/\/www.nathanhunstad.com\/blog\/author\/huns0004\/#author"},"creator":{"@id":"https:\/\/www.nathanhunstad.com\/blog\/author\/huns0004\/#author"},"datePublished":"2023-09-01T16:06:56-05:00","dateModified":"2023-09-01T16:06:57-05:00"},{"@type":"WebSite","@id":"https:\/\/www.nathanhunstad.com\/blog\/#website","url":"https:\/\/www.nathanhunstad.com\/blog\/","name":"The blog of Nathan Hunstad","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.nathanhunstad.com\/blog\/#person"}}]},"og:locale":"en_US","og:site_name":"The blog of Nathan Hunstad |","og:type":"article","og:title":"ParseFit: My simple Python tool to parse TCX files from Google Fit | The blog of Nathan Hunstad","og:description":"After losing all my workout data when SportyPal disappeared, I wrote a tool in Python to parse TCX files from Google Fit so it doesn't happen again.","og:url":"https:\/\/www.nathanhunstad.com\/blog\/2023\/09\/parsefit-my-simple-python-tool-to-parse-tcx-files-from-google-fit\/","og:image":"https:\/\/www.nathanhunstad.com\/blog\/wp-content\/uploads\/2023\/05\/facicon-stretched.jpg","og:image:secure_url":"https:\/\/www.nathanhunstad.com\/blog\/wp-content\/uploads\/2023\/05\/facicon-stretched.jpg","og:image:width":484,"og:image:height":258,"article:published_time":"2023-09-01T21:06:56+00:00","article:modified_time":"2023-09-01T21:06:57+00:00","twitter:card":"summary","twitter:title":"ParseFit: My simple Python tool to parse TCX files from Google Fit | The blog of Nathan Hunstad","twitter:description":"After losing all my workout data when SportyPal disappeared, I wrote a tool in Python to parse TCX files from Google Fit so it doesn't happen again.","twitter:image":"https:\/\/www.nathanhunstad.com\/blog\/wp-content\/uploads\/2023\/05\/facicon-stretched.jpg"},"aioseo_meta_data":{"post_id":"1362","title":null,"description":null,"keywords":[],"keyphrases":{"focus":{"keyphrase":"Python","score":70,"analysis":{"keyphraseInTitle":{"score":9,"maxScore":9,"error":0},"keyphraseInDescription":{"score":9,"maxScore":9,"error":0},"keyphraseLength":{"score":9,"maxScore":9,"error":0,"length":1},"keyphraseInURL":{"score":5,"maxScore":5,"error":0},"keyphraseInIntroduction":{"score":3,"maxScore":9,"error":1},"keyphraseInSubHeadings":[],"keyphraseInImageAlt":[],"keywordDensity":{"score":0,"type":"low","maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2023-09-01 19:08:16","updated":"2025-06-04 06:07:13","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.nathanhunstad.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.nathanhunstad.com\/blog\/category\/tech-2\/\" title=\"Tech\">Tech<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tParseFit: My simple Python tool to parse TCX files from Google Fit\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.nathanhunstad.com\/blog"},{"label":"Tech","link":"https:\/\/www.nathanhunstad.com\/blog\/category\/tech-2\/"},{"label":"ParseFit: My simple Python tool to parse TCX files from Google Fit","link":"https:\/\/www.nathanhunstad.com\/blog\/2023\/09\/parsefit-my-simple-python-tool-to-parse-tcx-files-from-google-fit\/"}],"_links":{"self":[{"href":"https:\/\/www.nathanhunstad.com\/blog\/wp-json\/wp\/v2\/posts\/1362","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.nathanhunstad.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nathanhunstad.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nathanhunstad.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nathanhunstad.com\/blog\/wp-json\/wp\/v2\/comments?post=1362"}],"version-history":[{"count":3,"href":"https:\/\/www.nathanhunstad.com\/blog\/wp-json\/wp\/v2\/posts\/1362\/revisions"}],"predecessor-version":[{"id":1366,"href":"https:\/\/www.nathanhunstad.com\/blog\/wp-json\/wp\/v2\/posts\/1362\/revisions\/1366"}],"wp:attachment":[{"href":"https:\/\/www.nathanhunstad.com\/blog\/wp-json\/wp\/v2\/media?parent=1362"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nathanhunstad.com\/blog\/wp-json\/wp\/v2\/categories?post=1362"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nathanhunstad.com\/blog\/wp-json\/wp\/v2\/tags?post=1362"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}