Aug-03-2019, 10:48 AM
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:
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:
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()and got this error:
Error:AccessUnauthorized: Unauthorized: Authorization Error: [{'resource': 'AccessToken', 'field': 'activity:read_permission', 'code': 'missing'}]
Can anybody help me?Thanks!