The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME Parser::FIT::Simple - simple flat-hash parser for FIT files

SYNOPSIS

  use Parser::FIT::Simple;
  my $parser = Parser::FIT::Simple->new();
  
  my $result = $parser->parse("some/file.fit");

  print "Total Calories: " . $result->{session}->[0]->{total_calories};

DESCRIPTION

This is a simple implementation for Parser::FIT which simply produces a flat hash result.

The keys of the hash correspond to the messages included in the FIT file.

The values of the hash are arrays of hashes of the actual message data.

AUTHOR

This module was created by Sven Eppler <ghandi@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2018-2022 by Sven Eppler

This program is free software, you can redistribute it and/or modify it under the terms of the Artistic License version 2.0.

SEE ALSO

Parser::FIT, https://developer.garmin.com/fit/protocol/