Skip to content

cluffa/StravaConnect.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StravaConnect.jl

WIP

create a .secret file with contents:

CLIENT ID
CLIENT SECRET

Examples

using StravaConnect
user = setup_user()

refresh_if_needed!(user)
activities = get_all_activities(u)
activity = get_activity(ACTIVITY_ID, u)

get_all_activities returns NamedTuple of:

id = Int64[]
name = String[]
distance = Float64[]
distance_mi = Float64[]
start_date_local = DateTime[]
elapsed_time = Float64[]
sport_type = String[]

get_activity returns NamedTuple of:

time = Int64[]
distance = Float64[]
distance_mi = Float64[]
latlng = Tuple{Float64, Float64}[]
altitude = Float64[]
altitude_ft = Float64[]
velocity_smooth = Float64[]
heartrate = Int64[]
cadence = Int64[]
watts = Float64[]
temp = Int64[]
temp_f = Float64[]
moving = Bool[]
grade_smooth = Float64[]

only when applicable, otherwise vectors are empty.

About

Download Strava Activites

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages