Documentation

Google_Service_Fitness extends Google_Service
in package

Service definition for Fitness (v1).

The Fitness API for managing users' fitness tracking data.

For more information about this service, see the API Documentation

Tags
author

Google, Inc.

Table of Contents

FITNESS_ACTIVITY_READ  = "https://www.googleapis.com/auth/fitness.activity.read"
Use Google Fit to see and store your physical activity data.
FITNESS_ACTIVITY_WRITE  = "https://www.googleapis.com/auth/fitness.activity.write"
See and add to your Google Fit physical activity data.
FITNESS_BLOOD_GLUCOSE_READ  = "https://www.googleapis.com/auth/fitness.blood_glucose.read"
See info about your blood glucose in Google Fit. I consent to Google sharing my blood glucose information with this app.
FITNESS_BLOOD_GLUCOSE_WRITE  = "https://www.googleapis.com/auth/fitness.blood_glucose.write"
See and add info about your blood glucose to Google Fit. I consent to Google sharing my blood glucose information with this app.
FITNESS_BLOOD_PRESSURE_READ  = "https://www.googleapis.com/auth/fitness.blood_pressure.read"
See info about your blood pressure in Google Fit. I consent to Google sharing my blood pressure information with this app.
FITNESS_BLOOD_PRESSURE_WRITE  = "https://www.googleapis.com/auth/fitness.blood_pressure.write"
See and add info about your blood pressure in Google Fit. I consent to Google sharing my blood pressure information with this app.
FITNESS_BODY_READ  = "https://www.googleapis.com/auth/fitness.body.read"
See info about your body measurements and heart rate in Google Fit.
FITNESS_BODY_TEMPERATURE_READ  = "https://www.googleapis.com/auth/fitness.body_temperature.read"
See info about your body temperature in Google Fit. I consent to Google sharing my body temperature information with this app.
FITNESS_BODY_TEMPERATURE_WRITE  = "https://www.googleapis.com/auth/fitness.body_temperature.write"
See and add to info about your body temperature in Google Fit. I consent to Google sharing my body temperature information with this app.
FITNESS_BODY_WRITE  = "https://www.googleapis.com/auth/fitness.body.write"
See and add info about your body measurements and heart rate to Google Fit.
FITNESS_LOCATION_READ  = "https://www.googleapis.com/auth/fitness.location.read"
See your Google Fit speed and distance data.
FITNESS_LOCATION_WRITE  = "https://www.googleapis.com/auth/fitness.location.write"
See and add to your Google Fit location data.
FITNESS_NUTRITION_READ  = "https://www.googleapis.com/auth/fitness.nutrition.read"
See info about your nutrition in Google Fit.
FITNESS_NUTRITION_WRITE  = "https://www.googleapis.com/auth/fitness.nutrition.write"
See and add to info about your nutrition in Google Fit.
FITNESS_OXYGEN_SATURATION_READ  = "https://www.googleapis.com/auth/fitness.oxygen_saturation.read"
See info about your oxygen saturation in Google Fit. I consent to Google sharing my oxygen saturation information with this app.
FITNESS_OXYGEN_SATURATION_WRITE  = "https://www.googleapis.com/auth/fitness.oxygen_saturation.write"
See and add info about your oxygen saturation in Google Fit. I consent to Google sharing my oxygen saturation information with this app.
FITNESS_REPRODUCTIVE_HEALTH_READ  = "https://www.googleapis.com/auth/fitness.reproductive_health.read"
See info about your reproductive health in Google Fit. I consent to Google sharing my reproductive health information with this app.
FITNESS_REPRODUCTIVE_HEALTH_WRITE  = "https://www.googleapis.com/auth/fitness.reproductive_health.write"
See and add info about your reproductive health in Google Fit. I consent to Google sharing my reproductive health information with this app.
$availableScopes  : mixed
$batchPath  : mixed
$resource  : mixed
$rootUrl  : mixed
$servicePath  : mixed
$users_dataset  : mixed
$users_dataSources  : mixed
$users_dataSources_dataPointChanges  : mixed
$users_dataSources_datasets  : mixed
$users_sessions  : mixed
$version  : mixed
$client  : mixed
__construct()  : mixed
Constructs the internal representation of the Fitness service.
createBatch()  : Google_Http_Batch
Create a new HTTP Batch handler for this service
getClient()  : Google_Client
Return the associated Google_Client class.

Constants

FITNESS_ACTIVITY_READ

Use Google Fit to see and store your physical activity data.

public mixed FITNESS_ACTIVITY_READ = "https://www.googleapis.com/auth/fitness.activity.read"

FITNESS_ACTIVITY_WRITE

See and add to your Google Fit physical activity data.

public mixed FITNESS_ACTIVITY_WRITE = "https://www.googleapis.com/auth/fitness.activity.write"

FITNESS_BLOOD_GLUCOSE_READ

See info about your blood glucose in Google Fit. I consent to Google sharing my blood glucose information with this app.

public mixed FITNESS_BLOOD_GLUCOSE_READ = "https://www.googleapis.com/auth/fitness.blood_glucose.read"

.

FITNESS_BLOOD_GLUCOSE_WRITE

See and add info about your blood glucose to Google Fit. I consent to Google sharing my blood glucose information with this app.

public mixed FITNESS_BLOOD_GLUCOSE_WRITE = "https://www.googleapis.com/auth/fitness.blood_glucose.write"

.

FITNESS_BLOOD_PRESSURE_READ

See info about your blood pressure in Google Fit. I consent to Google sharing my blood pressure information with this app.

public mixed FITNESS_BLOOD_PRESSURE_READ = "https://www.googleapis.com/auth/fitness.blood_pressure.read"

.

FITNESS_BLOOD_PRESSURE_WRITE

See and add info about your blood pressure in Google Fit. I consent to Google sharing my blood pressure information with this app.

public mixed FITNESS_BLOOD_PRESSURE_WRITE = "https://www.googleapis.com/auth/fitness.blood_pressure.write"

.

FITNESS_BODY_READ

See info about your body measurements and heart rate in Google Fit.

public mixed FITNESS_BODY_READ = "https://www.googleapis.com/auth/fitness.body.read"

FITNESS_BODY_TEMPERATURE_READ

See info about your body temperature in Google Fit. I consent to Google sharing my body temperature information with this app.

public mixed FITNESS_BODY_TEMPERATURE_READ = "https://www.googleapis.com/auth/fitness.body_temperature.read"

.

FITNESS_BODY_TEMPERATURE_WRITE

See and add to info about your body temperature in Google Fit. I consent to Google sharing my body temperature information with this app.

public mixed FITNESS_BODY_TEMPERATURE_WRITE = "https://www.googleapis.com/auth/fitness.body_temperature.write"

.

FITNESS_BODY_WRITE

See and add info about your body measurements and heart rate to Google Fit.

public mixed FITNESS_BODY_WRITE = "https://www.googleapis.com/auth/fitness.body.write"

FITNESS_LOCATION_READ

See your Google Fit speed and distance data.

public mixed FITNESS_LOCATION_READ = "https://www.googleapis.com/auth/fitness.location.read"

FITNESS_LOCATION_WRITE

See and add to your Google Fit location data.

public mixed FITNESS_LOCATION_WRITE = "https://www.googleapis.com/auth/fitness.location.write"

FITNESS_NUTRITION_READ

See info about your nutrition in Google Fit.

public mixed FITNESS_NUTRITION_READ = "https://www.googleapis.com/auth/fitness.nutrition.read"

FITNESS_NUTRITION_WRITE

See and add to info about your nutrition in Google Fit.

public mixed FITNESS_NUTRITION_WRITE = "https://www.googleapis.com/auth/fitness.nutrition.write"

FITNESS_OXYGEN_SATURATION_READ

See info about your oxygen saturation in Google Fit. I consent to Google sharing my oxygen saturation information with this app.

public mixed FITNESS_OXYGEN_SATURATION_READ = "https://www.googleapis.com/auth/fitness.oxygen_saturation.read"

.

FITNESS_OXYGEN_SATURATION_WRITE

See and add info about your oxygen saturation in Google Fit. I consent to Google sharing my oxygen saturation information with this app.

public mixed FITNESS_OXYGEN_SATURATION_WRITE = "https://www.googleapis.com/auth/fitness.oxygen_saturation.write"

.

FITNESS_REPRODUCTIVE_HEALTH_READ

See info about your reproductive health in Google Fit. I consent to Google sharing my reproductive health information with this app.

public mixed FITNESS_REPRODUCTIVE_HEALTH_READ = "https://www.googleapis.com/auth/fitness.reproductive_health.read"

.

FITNESS_REPRODUCTIVE_HEALTH_WRITE

See and add info about your reproductive health in Google Fit. I consent to Google sharing my reproductive health information with this app.

public mixed FITNESS_REPRODUCTIVE_HEALTH_WRITE = "https://www.googleapis.com/auth/fitness.reproductive_health.write"

.

Properties

$availableScopes

public mixed $availableScopes

$servicePath

public mixed $servicePath

$users_dataset

public mixed $users_dataset

$users_dataSources

public mixed $users_dataSources

$users_dataSources_dataPointChanges

public mixed $users_dataSources_dataPointChanges

$users_dataSources_datasets

public mixed $users_dataSources_datasets

$users_sessions

public mixed $users_sessions

Methods

__construct()

Constructs the internal representation of the Fitness service.

public __construct(Google_Client $client[, string $rootUrl = null ]) : mixed
Parameters
$client : Google_Client

The client used to deliver requests.

$rootUrl : string = null

The root URL used for requests to the service.

Return values
mixed

Search results