Added new Google Fit scopes for sleep and heart rate read

This commit is contained in:
Fabio Manganiello 2021-05-10 21:21:03 +02:00
parent 664ce4050d
commit 18e99c6f12

View file

@ -10,6 +10,8 @@ class GoogleFitPlugin(GooglePlugin):
scopes = ['https://www.googleapis.com/auth/fitness.activity.read',
'https://www.googleapis.com/auth/fitness.body.read',
'https://www.googleapis.com/auth/fitness.body_temperature.read',
'https://www.googleapis.com/auth/fitness.heart_rate.read',
'https://www.googleapis.com/auth/fitness.sleep.read',
'https://www.googleapis.com/auth/fitness.location.read']
def __init__(self, user_id='me', *args, **kwargs):