Skip to content

ayhanozemre/strava-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

- Strava Basic Client

This is a simple Strava client. Currently it has two views which uses the leaderboards data.

How does it work ?

  • create strava application
  • pip install -r requirements.txt
  • set the secret key of your application in env to the variable STRAVA_SECRET_KEY
  • python manage.py

Endpoints

  • uri : /leaderboard-intersection
  • description : This view returns the intersection of riders who appear on multiple popular segments.

  • uri : /leaderboard-ontersection-scores
  • description : This view creates the score information for leaderboard-intersection view.

Score Calculation

While calculation score, riders' rank, their metres-per-second data and total watts spent per hour is used and an integer value is returned for each entry. If the rider has multiple entries, then integer values for each entry is added together and it gives us their score.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages