| Crates.io | strava-wrapper |
| lib.rs | strava-wrapper |
| version | 0.0.1 |
| created_at | 2025-09-20 17:30:25.092831+00 |
| updated_at | 2025-09-20 17:30:25.092831+00 |
| description | [WIP] A Rust wrapper for the Strava API |
| homepage | |
| repository | https://github.com/MattBarkway/strava-wrapper |
| max_upload_size | |
| id | 1848060 |
| size | 71,962 |
An asynchronous wrapper for the Strava API, written in Rust.
This library provides a builder-style interface for accessing Strava API endpoints.
Currently supported:
Coming soon:
Add this to your Cargo.toml:
[dependencies]
strava-api-wrapper = "0.1.0"
use strava_api::StravaAPI;
let api = StravaAPI::new("https://www.strava.com/api", "YOUR_ACCESS_TOKEN");
// Get an activity by ID
let activity = api
.activities()
.get()
.id(123)
.send()
.await?;
// Get comments for activity by ID
let comments = api.activities()
.comments()
.get()
.id(123)
.per_page(10)
.page(2)
.send()
.await?;
cargo test