platypush.plugins.google.fit

class platypush.plugins.google.fit.GoogleFitPlugin(user_id='me', *args, **kwargs)[source]

Google Fit plugin

__init__(user_id='me', *args, **kwargs)[source]
Parameters:user_id (str or int) – Default Google user_id (default: ‘me’, default configured account user)
get_data(data_source_id, user_id=None, limit=None)[source]

Get raw data for the specified data_source_id

Parameters:data_source_id (str) – Data source ID, see get_data_sources
get_data_sources(user_id=None)[source]

Get the available data sources for the specified user_id