![]() |
Getting data from strava - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: Getting data from strava (/thread-20279.html) |
Getting data from strava - weihnachtsmo - Aug-03-2019 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: 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: Can anybody help me?Thanks! RE: Getting data from strava - stullis - Aug-06-2019 Based on the code posted, the access_token would likely be the error. It most likely requires an OAuth token to prove valid credentials were passed to Strava. |