Tagged: PHP

Strava ExplorerStrava, the software used by athletes to track their activities, has a new API available for accessing their data. I looked through it to see if I could do anything quick and interesting with it.

Earlier this year they angered many developers by unplugging their previous API, leaving many third-party apps stranded. My own interest is in seeing how cyclists use the city: which routes are preferred. Unfortunately, the data available in Strava’s v3 API is extremely limited. Most of the API is designed to reveal a selected user’s data, assuming they have specifically granted the program access. But there doesn’t seem to be a way to look at aggregate data.

In fact there seems to be only a single API function which accepts a geographic bounding box as an input. That API, the “segment explorer” returns up to 10 “popular” segments.

I wanted to see how easy it would be to use the API in a little test program. The result, my Strava Explorer, doesn’t really do anything interesting other than prove I can connect to the Strava API. » Continue Reading…