Expand description
A Rust client for the RideWithGPS API.
This crate provides a client for interacting with the RideWithGPS API v1, allowing you to manage routes, trips, events, collections, and more.
§Example
use ridewithgps_client::RideWithGpsClient;
let client = RideWithGpsClient::new(
"https://ridewithgps.com",
"your-api-key",
Some("your-auth-token")
);
// Get current user
let user = client.get_current_user().unwrap();
println!("User: {:?}", user);Structs§
- Auth
Token - Response containing an authentication token
- Collection
- A collection of routes and trips
- Course
Point - Course point (turn-by-turn cue) on a route
- Create
Auth Token Request - Request to create an authentication token
- Event
- An event
- Event
Request - Request to create or update an event
- Gear
- Gear/equipment used for a trip
- List
Collections Params - Parameters for listing collections
- List
Events Params - Parameters for listing events
- List
Members Params - Parameters for listing members
- List
Points OfInterest Params - Parameters for listing POIs
- List
Routes Params - Parameters for listing routes
- List
Trips Params - Parameters for listing trips
- Member
- A club member
- Member
Permissions - Member permissions
- Organizer
- Event organizer information
- Paginated
Response - Common response wrapper for paginated lists
- Pagination
- Pagination information for list responses
- Photo
- Photo attached to a route or trip
- Point
OfInterest - A point of interest
- Point
OfInterest Request - Request to create or update a POI
- Polyline
- Polyline data for a route
- Ride
With GpsClient - Main client for the RideWithGPS API
- Route
- A route
- Sync
Item - A synchronized item
- Sync
Response - Response from the sync endpoint
- Track
Point - Track point on a route
- Trip
- A trip (recorded ride)
- Trip
Track Point - Track point on a trip with telemetry data
- Update
Member Request - Request to update member permissions/status
- User
- User information
Enums§
- Error
- Error type for RideWithGPS API operations
- Item
Type - Types of items that can be synchronized
- Visibility
- Visibility setting for a route
Type Aliases§
- Result
- Result type for RideWithGPS API operations