jglynn / segmund

A crummy app that aggregates segment data from Strava to support enduro style events.
https://segmund.mybluemix.net/
Apache License 2.0
1 stars 0 forks source link

Use Stravalib #5

Closed rocconnick closed 4 years ago

rocconnick commented 4 years ago

This updates the leaderboard request to go through the Stravalib library. It's a little bit hokey because the model objects in that library don't support dict conversion well... the builtin vars() method doesn't work on the model attributes, it only returns the attributes of the base class.

We might not want to merge this yet. I'm going to see if another library comes out cleaner. There's a different library that's generated using Swagger codegen that might work better.

jglynn commented 4 years ago

IBM Cloud toolchain: Delivery Pipeline deployed segmund to dev, including commit 219d4d800da10e75541493facd4ad3bdb3e3ca85