google_fit v0.1.0 API Reference
Modules
This module is a namespace for all supported activity types
Aerobics activity type
AwakeDuringSleepCycle activity type
BackCountrySkiing activity type
Badminton activity type
Basketball activity type
Biathlon activity type
Biking activity type
Boxing activity type
Calisthenics activity type
CircuitTraining activity type
Cricket activity type
CrossCountrySkiing activity type
CrossSkating activity type
Curling activity type
Dancing activity type
DeepSleep activity type
Diving activity type
DownhillSkiing activity type
Elliptical activity type
Ergometer activity type
Fencing activity type
FootballAmerican activity type
FootballAustralian activity type
FootballSoccer activity type
Frisbee activity type
Gardening activity type
Golf activity type
Gymnastics activity type
Handball activity type
Handbiking activity type
Hiking activity type
Hockey activity type
HorsebackRiding activity type
Housework activity type
IceSkating activity type
InVehicle activity type
IndoorSkating activity type
InlineSkatingRollerblading activity type
Jogging activity type
JumpingRope activity type
Kayaking activity type
KettlebellTraining activity type
Kickboxing activity type
KiteSkiing activity type
Kitesurfing activity type
LightSleep activity type
MartialArts activity type
Meditation activity type
MixedMartialArts activity type
MountainBiking activity type
NordingWalking activity type
OnFoot activity type
OtherUnclassifiedFitnessActivity activity type
P90xExercises activity type
Paragliding activity type
Pilates activity type
Polo activity type
Qaseball activity type
Racquetball activity type
RemSleep activity type
RoadBiking activity type
RockClimbing activity type
RollerSkiing activity type
Rowing activity type
RowingMachine activity type
Rugby activity type
Running activity type
RunningOnSand activity type
RunningTreadmill activity type
Sailing activity type
ScubaDiving activity type
Skateboarding activity type
Skating activity type
Skiing activity type
Sledding activity type
Sleeping activity type
Snowboarding activity type
Snowmobile activity type
Snowshoeing activity type
Spinning activity type
Squash activity type
StairClimbing activity type
StairClimbingMachine activity type
StandUpPaddleboarding activity type
StationaryBiking activity type
StillNotMoving activity type
StrengthTraining activity type
Surfing activity type
Swimming activity type
SwimmingOpenWater activity type
SwimmingSwimmingPool activity type
TableTennisPingPong activity type
TeamSports activity type
Tennis activity type
TiltingSuddenDeviceGravityChange activity type
TreadmillWalkingOrRunning activity type
UnknownUnableToDetectActivity activity type
UtilityBiking activity type
Volleyball activity type
VolleyballBeach activity type
VolleyballIndoor activity type
Wakeboarding activity type
Walking activity type
WalkingFitness activity type
WalkingTreadmill activity type
Waterpolo activity type
Weightlifting activity type
Wheelchair activity type
Windsurfing activity type
Yoga activity type
Zumba activity type
This module is used to wrap request for aggregated data
This struct represents an application that has sent data to a particular data source
This struct represents a single source of data in the platform. It could be a single sensor or app that reports data or a source that is derived from one or more other sources by merger and/or aggregation
This struct represents details about a device that is reporting data to a data source
This struct represents data type for a particular data source. It containts list of fields and their primitive type (integer, float or map)
This struct represents a single field of a data type
This struct represents a span of time and the relevant data points for a data source
This struct represents a aggregated activity datapoint value
This module represents daily aggregation for numeric data types
This struct represents a nutrition datapoint value
This struct represents a datapoint in a dataset
This module represents a span of time where the user has been engaged in a single activity. A session can be composed of multiple segments with various activity types. For example soccer could have rest in half-time