StaticconvertConverts a FIT course file to a GPX route file.
Optionaloptions: RouteParsingOptionsStaticconvertConverts a GPX route file to a FIT course file.
OptionaldomParser: anycustom DOMParser (case of NodeJs usage)
Optionaloptions: RouteParsingOptionsStaticexportExports a single first-class route as a FIT course file.
StaticexportExports first-class routes using GPX 1.1 route format, with metadata in schema order.
StaticimportParses and returns an event using FIT format
Optionaloptions: ActivityParsingOptionsStaticimportParses and returns an event using GPX format
OptionaldomParser: anycustom DOMParser (case of NodeJs usage)
Optionaloptions: ActivityParsingOptionsStaticimportRestores an event from Sports Lib's native JSON format.
Explicit stats are preserved except terrain summaries excluded for Diving activities. Missing pace, swim-pace, and grade-adjusted-pace summaries are hydrated from compatible speed summaries on the event, its activities, and their laps.
Sports Lib's native event representation.
The restored event with canonical stat keys and additive speed-derived summaries.
StaticimportParses and returns an event using Suunto format
Optionaloptions: ActivityParsingOptionsStaticimportParses and returns an event using TCX format
Optionaloptions: ActivityParsingOptionsStaticimportParses and returns first-class routes using FIT course format.
Optionaloptions: RouteParsingOptionsStaticimportParses and returns first-class routes using GPX format.
OptionaldomParser: anycustom DOMParser (case of NodeJs usage)
Optionaloptions: RouteParsingOptionsStaticimportParses and returns first-class routes using native format (SportsLib exported format).
RouteFileJSONInterface
Primary facade for importing activities and routes, exporting route files, and restoring Sports Lib's native JSON representation.