Hi,
I want to Import and Analyse data from strava. I have no experience with it, but Little experience with python.
I use Spyder within anaconda for coding.
I already created a API on strava, but I don´t know what to put into the Website field. So far I entered this: https://nikolausjaeger.wixsite.com/test (a Website created by my own)
Now I tried this Code:
and got this error:
Thanks!
I want to Import and Analyse data from strava. I have no experience with it, but Little experience with python.
I use Spyder within anaconda for coding.
I already created a API on strava, but I don´t know what to put into the Website field. So far I entered this: https://nikolausjaeger.wixsite.com/test (a Website created by my own)
Now I tried this Code:
1 2 3 4 5 6 |
from stravalib.client import Client client = Client(access_token = 'GOT_IT_FROM_STRAVA' ) activities = client.get_activities(limit = 1000 ) sample = list (activities)[ 0 ] sample.to_dict() |
Error:AccessUnauthorized: Unauthorized: Authorization Error: [{'resource': 'AccessToken', 'field': 'activity:read_permission', 'code': 'missing'}]
Can anybody help me?Thanks!