Hi ,
It looks like you're using an ad blocker.



The revenue generated from the adverts on the site is a critical part of our funding - and it's because of these ads that I can offer the site for free. But using the site for free AND blocking the ads doesn't feel like a great thing to do, which is why this box is so large and inconvenient. Some sites will completely block your access, but I'm not doing that - I'm appealing to your good nature instead. Did you know that you can allow ads for specific sites, whilst still blocking them on others?

Thanks,
Ian Williams aka Fetch
or for an ad-free Fetcheveryone experience!

API

37 watchers
Sep 2014
1:12pm, 17 Sep 2014
14,927 posts
  • Quote
  • Pin
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
  • Quote
  • Pin
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
  • Quote
  • Pin
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
  • Quote
  • Pin
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
  • Quote
  • Pin
fetcheveryone
Have you heard of fit2csv (or something like that)?
Nov 2014
9:41am, 5 Nov 2014
15,347 posts
  • Quote
  • Pin
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
  • Quote
  • Pin
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
  • Quote
  • Pin
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
  • Quote
  • Pin
fetcheveryone
I'm sure you all know your onions.
Nov 2014
5:15pm, 5 Nov 2014
4,488 posts
  • Quote
  • Pin
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 :)

About This Thread

Maintained by fetcheveryone
We're very much in the "gently trying things out" stage, but please join in if you're interested in working with a Fetch API:

Get your developer keys here:
http://www.fetcheveryone.com/api-request-keys.php

And a basic PHP client example here:
http://www.fetcheveryone.com/demo/api_client.0.2.zip

With thanks to Badger, here's a Python version:
http://www.fetcheveryone.com/demo/FetchAPIPython_0.2.zip

Available methods:
http://www.fetcheveryone.com/api-doc.php

Join the developer group here:
http://www.fetcheveryone.com/groups-view.php?id=1167

If you'd care to port the client into another language, please let me know, and I can upload it to share with others.
  • Show full description...

Related Threads

  • api
  • coding
  • import

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.










Back To Top

Tag A User

To tag a user, start typing their name here:
X

Free training & racing tools for runners, cyclists, swimmers & walkers.

Fetcheveryone lets you analyse your training, find races, plot routes, chat in our forum, get advice, play games - and more! Nothing is behind a paywall, and it'll stay that way thanks to our awesome community!
Get Started
Click here to join 114,482 Fetchies!
Already a Fetchie? Sign in here