| get_customer_data | Retrieves customer data from the vanMoof API.
Returns:
The rider vanMoof's customer data if authentication is successful, otherwise None.
|
| get_vanmoof_cities | Retrieves a list of city data from the vanMoof API.
Returns:
The rider vanMoof's city data if authentication is successful, otherwise None.
|
| get_rider_preferences | Retrieves rider preferences from the vanMoof API.
Returns:
The rider preferences if authentication is successful, otherwise None.
|
| get_rides_summary | Retrieves total rides summary for the VanMoof rider being authenticated.
Returns:
The a summary of the total rides of the VanMoof rider if authentication is successful, otherwise None.
The following information is returned:
- Average distance in km
- Total Rides
- Average duration in minutes
- Total distance in km
|
| get_rides_for_week | Retrieves rides for a specific week from the vanMoof API.
Args:
date_in_week: Any date within the week in format "YYYY-MM-DD".
If None, uses the current date.
Returns:
The rides for the specified week if authentication is successful, otherwise None.
|
| get_city_rides_thisweek | Retrieves total city rides summary from VanMoof riders.
Returns:
The a summary of the total rides of the VanMoof rider city if authentication is successful, otherwise None.
The following information is returned:
- City name
- Average distance in km
- Total Rides
- Average duration in minutes
- Location in latitude and longitude
|
| get_world_rides_thisweek | Retrieves total world rides summary from VanMoof riders.
Returns:
The a summary of the total rides of the VanMoof rider city if authentication is successful, otherwise None.
The following information is returned:
- Average distance in km
- Total Rides
- Average duration in minutes
|