Recent GoPro cameras record a telemetry stream along with video that contains quite a rich selection of data.
This library parses that stream and provides low level access to that data (as well as some high level access to come common/tedious parts). GoPro's own project documents the format and features therein.
You can read the API documentation to make awesome things with this.