• Resolved gardenczar

    (@gardenczar)


    I have been looking to put a Strava Club Activities widget in the footer of a webpage and exercise some control on its appearance using CSS. I understand this Keyring does not do this but it might be an integral part of what I am trying to do. If it is not obvious, I am in no way a developer so hang in there a moment. I have read the Keyring Developer’s Guide and the Strava documentation but am no closer to understanding how to do any of this. I don’t know the languages for coding. I also looked at the github link provided for Keyring importers and see that the Strava importer has a note in it saying that it is a horrible hack.

    Questions:
    Would this be a difficult widget to make?
    Do you have knowledge of anyone who has or can make this widget?
    Is it a widget or a plugin that would have to be made?

    Any information is appreciated.

Viewing 1 replies (of 1 total)
  • Plugin Author Beau Lebens

    (@beaulebens)

    Hi — this sounds kind of similar to the Eventbrite work in this plugin; https://www.ads-software.com/plugins/eventbrite-api/

    Keyring definitely doesn’t do it out of the box, but it provides an authentication system that would help in the process. It’d look something like this as long as you were OK with it being kind of manual;

    – you’d need a Strava service (you’re in luck, we have that already)
    – you could use the default Keyring UI to configure and connect to Strava
    – you’d then need to create a widget that would load available Strava connections (from above) and use that to request the Clubs that your Athlete is a member of (https://developers.strava.com/docs/reference/#api-Clubs-getLoggedInAthleteClubs)
    – when rendered on the site, that widget would then load the activities for the club (https://developers.strava.com/docs/reference/#api-Clubs-getClubActivitiesById) and basically loop through them and output a list of some sort.

    That’s just making some assumptions about what you want to do, but something along those lines is probably what would need to happen. Keyring would really just help with the process of handling the connection to Strava, and making the authenticated requests to their APIs. You’d need to make the custom widget, handle any caching etc. It doesn’t sound that hard, but definitely requires custom development.

    Hope that helps.

Viewing 1 replies (of 1 total)
  • The topic ‘Strava Club Widget’ is closed to new replies.