Can you download a fit file from strava






















The resulting poster was just as I'd hoped for! It turns out I'm also a technology geek, so I figured out how to export Strava data into a spreadsheet so I could get the numbers I needed for my poster.

There are a few steps involved, but it's not THAT hard. Grab a cold one and get your browser console ready, 'cause we're going to go on a Strava data expedition! Tibor commented on my original post a while ago, and I had reason to use their code when my wife and daughter summarized their day hike streak.

This is by far the easiest and quickest approach. No arbitrary wait time between downloads and some control over the saved filename, too. It's a different use case than above, but very useful if you're trying to get per-workout data out to transfer to another platform or analyze further.

Note: An astute reader pointed out that Strava already had an export feature. Go to profile settings and you'll see "Download your data" in the right column. However, that downloads only a zip file of your owrkouts in GPX format. It doesn't supply a single spreadsheet view with oodles of data, which is what I was after.

True, Strava provides a developer API, but that's a bit heavy-handed for a single query. All API-based plugins or add-ons that I tried while researching this post did not work for my use case; they either didn't work at all, didn't have all the columns I needed, or only exported a certain number of workouts. Open up your browser console. I'm going to show you this in Chrome, which is how I'd do this, but if you use Firefox or shudder Internet Explorer, you can do this there, too.

Right-click anywhere on the web page and click Inspect. In the inspector, there are navigation options along the top. Click Network.

Below that, you can filter network traffic by type. We're looking for XHR, so click that. Now, any data request the browser makes back to the server will be summarized here. Who knew browsers could show you such cool stuff? You get a nice tabular view of your workouts, right? Unfortunately Strava will only let you see 20 activities at a time, but you can filter by sport type and search by keyword.

If you want to use these filters before you export your data, so you get a subset of your workouts, now is the time to use them. Web pages can make a lot of requests in the background for data. In the upper left corner, under that red dot, you can search for "training" and see just those requests, which is what we're looking for. Click the first request in the list. On the right side, you can see a preview of the response for the data. Click anywhere in that raw data that pretty red and blue text , hit Ctrl-A to select all of it, and then Ctrl-C to copy it to your clipboard.

The data's in what's called JSON format, and we need to get it into another format so we can import it into the spreadsheet of our choice. Open a new tab don't leave the Strava tab, 'cause we have more work to do! Now we can go back to our Strava tab, scroll to the bottom of the 20 workouts shown in the actual web page, and click the Next button to view the next set.

When you do this, you'll see another XHR request in the inspector. This time, it's requesting workouts , whereas the first time, it was workouts It'd be easier if Strava let you change the results per page to something other than 20, but it doesn't.

Apparently this site used to be able to generate the FIT files used by Garmins but Strava made some fairly radical changes to their API that broke that site and many others. If you authorize my app then your PR time will also be included in the file. Update — You can now add a goal to the generated FIT file if you generate the file from the segment details page.

Hi, I used gniza's tool quite a while. I tested yesterday an exported segment which I download here. So far I'm not sure which datat is included in the fit-file generated here.

The "gniza"-fit-files contained the effort I picked before downloading usually the segment leader time. If you connect your Strava account to my page, it will include your PR data. Hello Chris, is it possible to automaticly load segments while riding with the navigation on a garmin edge ? I have a edge plus. And used your site. The segments show up in my device but I can't get it to popup on my display.

Am I doeing something wrong? I have selected Garmin segments in the device. Should I select strava segments instead? I don't have access to a plus so unfortunately can't test it. I'd have thought the is pretty similar to to the so I'd have thought it should work. You'll want to be set to Garmin segments, if you set it to Strava segments it will try to sync your starred segments from Strava which will only work if you've got a Premium account and if you've got a Premium acount that's probably the best approach anyway.

Is it a problem with all the segments or just a specific one? Might be something related to what's in one of the segments. Thank you! I had some segments that weren't getting transferred to my Fenix 5X and I was able to transfer them with your site. For a long time I was looking for some website or app that could download the strava segments and consequently could share them in garmin and use them because the gniza site no longer works unfortunately. But from looking, I found this post and I followed the steps and downloaded a segment.

I'll test it and hope it all goes well. I'm from Brazil! Thank you very much : We need this kind of tools like gniza. Strava is insufficient in some respects. Do you think to improve your tool? For example are we able to merge our different achivements such as PR, last ride or any ride in a specific date? Thanks, Ugur. Your PR should be in there if you've authorised my Strava app. I could potentially fill any of them if they are useful. I guess they could also be reused for other things but I think that could be confusing.

I'm thinking goal could be pretty useful and I can hopefully just pick it up from Strava, so you can set it to whatever you like? Although looking at it more closely the Strava API doesn't give me access to a user's goal on a segment, but I could probably add an option for adding a custom goal when generating the FIT file? Just want to say i really appreciate the work you've done setting up this website, it has worked great with my Garmin for sometime now!

Many thanks. As far as I can tell it generates FIT files for workouts and uses GPX for routes so it understands the formats but I can't find any information about what it uses for segments If you do buy one I'd certainly be interested to know if works I was leaning towards buying a new Garmin to replace my ageing but maybe I should buy a Wahoo instead for testing purposes! Hi, I managed to upload the fit file into the newfiles and the segments show up on my garmin edge But the problem is they are getting removed as soon as it syncs.

Is there a way to avoid this happening over and over. Can I add these segments on garmin connect? Hi, Do your PRs automatically update, or do you have to download an updated fit file to overwrite the existing data?

Ps your segment downloader is really useful, as Strava have now stopped you from using live segments, if they are downhill. There is no point being a Premium member, if you are a mountain biker now.

Thanks for your work! From a first glance, it looks like only the KOM effort is available in the fit file tested on a Garmin Edge I would need the QOM data not the personal data. Unfortunately some changes by Strava mean the QOM is no longer available to me, just the fastest overall. Did anyone figure out if you can load these fit files onto a wahoo?

I'm working on a similar feature for Sauce for Strava but I too only have Garmin's for testing. Doogal You sir are a geezer Since Strava have seen fit in their wisdom to disable live segment loads on anything they consider a downhill segment less than avg gradient minus 0.

I assume that if I beat a PR I'd also have to load.



0コメント

  • 1000 / 1000