Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getJSON function for laps or other fit sections #56

Open
lnovali opened this issue Sep 6, 2019 · 2 comments
Open

getJSON function for laps or other fit sections #56

lnovali opened this issue Sep 6, 2019 · 2 comments
Assignees

Comments

@lnovali
Copy link

lnovali commented Sep 6, 2019

Is it possible to have new getJSON functions for other FIT sections? This function extracts only data from "record" section, but I need also an extractor for "lap" section.
Thank you so much for this helpful lib!

@adriangibbons
Copy link
Owner

Hi @lnovali - off the top of my head it should be fairly straightforward to enable this. It might have to be through a call like getJSON("lap") or getJSON("all") to prevent breaking the API for others.

I'm very busy these days with other projects, but I'll try get round to this soon.

@adriangibbons
Copy link
Owner

@lnovali have a look at the getJSONLap() method I just added in f6427a0

I've this meets your purpose then I'll roll into a new release.

Initially I tried to create something more generic, but got tied-up in knots.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants