Debian Codegraph @

docs/socialaccount/providers/trainingpeaks.rst

raw
1 TrainingPeaks
2 -------------
3
4 You need to request an API Partnership to get your OAth credentials:
5
6 https://api.trainingpeaks.com/request-access
7
8 Make sure to request scope `athlete:profile` to be able to use OAuth
9 for user login (default if setting `SCOPE` is omitted).
10
11 In development you should only use the sandbox services, which is the
12 default unless you set `USE_PRODUCTION` to `True`.
13
14 .. code-block:: python
15
16 SOCIALACCOUNT_PROVIDERS = {
17 'trainingpeaks': {
18 'SCOPE': ['athlete:profile'],
19 'USE_PRODUCTION': False,
20 }
21 }
22
23 API documentation:
24
25 https://github.com/TrainingPeaks/PartnersAPI/wiki