forked from platypush/platypush
Added new Google Fit scopes for sleep and heart rate read
This commit is contained in:
parent
664ce4050d
commit
18e99c6f12
1 changed files with 2 additions and 0 deletions
|
@ -10,6 +10,8 @@ class GoogleFitPlugin(GooglePlugin):
|
||||||
scopes = ['https://www.googleapis.com/auth/fitness.activity.read',
|
scopes = ['https://www.googleapis.com/auth/fitness.activity.read',
|
||||||
'https://www.googleapis.com/auth/fitness.body.read',
|
'https://www.googleapis.com/auth/fitness.body.read',
|
||||||
'https://www.googleapis.com/auth/fitness.body_temperature.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']
|
'https://www.googleapis.com/auth/fitness.location.read']
|
||||||
|
|
||||||
def __init__(self, user_id='me', *args, **kwargs):
|
def __init__(self, user_id='me', *args, **kwargs):
|
||||||
|
|
Loading…
Reference in a new issue