API
37 watchers
Sep 2014
1:12pm, 17 Sep 2014
14,927 posts
|
fetcheveryone
Just popping in with an update - I certainly haven't forgotten about this, nor do I plan to let it fester. But it struck me that it would be a good idea to check that our terms and conditions etc were sufficient to cover what we want this to do. Obviously, it's not a problem if it's just your own data, but when it comes to handling other peoples data, or (conversely) accessing the site via someone elses software - it becomes a potential issue. At least, that's what I know the legal department would say about it - and I don't want to give them any cause to be mad ![]() |
Sep 2014
6:06pm, 24 Sep 2014
4,435 posts
|
Badger
Fetch, are we likely to get an API to upload FIT files reasonably soon? I think I'm going to code something to parse them far enough to identify date and activity type, but I'm not sure I fancy doing a complete conversion to TCX.
|
Nov 2014
11:58am, 4 Nov 2014
15,346 posts
|
flanker
get anywhere on the .fit parsing Badger? Now that I'm 'temporarily between roles' I want to take the opportunity to get my Obj-C and Swift up-to-date and have a few ideas for test projects to practice the skills, and playing about with run data may come into them...
|
Nov 2014
11:38pm, 4 Nov 2014
4,485 posts
|
Badger
Give or take a bit of mission drift, yup. I got hold of a Python library, which was OK but fairly out of date for some of the events. Then I got hold of the FIT SDK from thisisant.com and started playing around with using cython and pycparser to build an interface semi-automatically, which is way more geeky fun than just using an existing library. I'd register on thisisant and grab the SDK if I were you. It has a C version which basically returns structs for each message, a C++ version which implements message listeners for each kind of event you want to handle, and a C# version which, er, is in C# which I've never learned (and includes a Windows DLL so wasn't cross platform enough for my liking). And java. And alleged documentation, which will tell you quite a lot about the structure of a file, but not enough about what's going on in individual messages. You can get most of that from example.h in the C version, which contains struct definitions including comments on how the binary values relate to real-world values. |
Nov 2014
7:41am, 5 Nov 2014
15,196 posts
|
fetcheveryone
Have you heard of fit2csv (or something like that)?
|
Nov 2014
9:41am, 5 Nov 2014
15,347 posts
|
flanker
hmmm. That's just got me looking at R, another distraction stopping me thinking about what I'm meant to be thinking about, which I think is getting dressed.
|
Nov 2014
10:08am, 5 Nov 2014
4,487 posts
|
Badger
fit2csv is part of the java bit of the FIT SDK, isn't it? I thought it was great for getting an idea of what was in fit files, but not very useful for what I wanted to do (because it left me needing to parse a csv file instead of needing to parse a binary file, so it was an extra step and an extra language for not much progress). We're shifting over to R for stats work here. It's an interesting learning curve. |
Nov 2014
4:50pm, 5 Nov 2014
15,348 posts
|
flanker
Yep, can't see the benefit into getting it into CSV other than that many scripting languages have prebuilt import-CSV methods/functions/libraries which may save a bit of time. R is now on my list of things to play with. Shame that list is about 5 times the size of the time available. |
Nov 2014
4:54pm, 5 Nov 2014
15,201 posts
|
fetcheveryone
I'm sure you all know your onions.
|
Nov 2014
5:15pm, 5 Nov 2014
4,488 posts
|
Badger
In my case, it's more like I know my pumpkins but haven't kept up with these new-fangled pumpkin sharps, and onions are a bit low-level for me ![]() |
Related Threads
-
Coders Mar 2025
-
Pi Club Jan 2022
-
Android App Apr 2021
-
Coders Aug 2020
-
Wireframe tools May 2019
-
Tapiriik? Mar 2019
-
Oracle club Sep 2018
-
Raspberry Pi Jan 2018
-
Calling All Coders Jan 2014
-
Upload from apple watch Mar 2025
Report This Content
You can report any content you believe to be unsafe. Please let me know why you believe this content is unsafe by choosing a category below.
Thank you for your report. The content will be assessed as soon as possible.