Strava API Wrapper
An asynchronous wrapper for the Strava API, written in Rust.
This library provides a builder-style interface for accessing Strava API endpoints.
Currently supported:
- Activities
- Comments
- Kudos
Coming soon:
AthletesClubsGearRoutesSegmentsSegmentEffortsUploads
Installation
Add this to your Cargo.toml:
[]
= "0.1.0"
Usage
use StravaAPI;
let api = new;
// Get an activity by ID
let activity = api
.activities
.get
.id
.send
.await?;
// Get comments for activity by ID
let comments = api.activities
.comments
.get
.id
.per_page
.page
.send
.await?;
Testing