Get top-rated parkings
GET/truckers/map/parkings/best
Returns truck parkings sorted by highest rating. Requires JWT token authentication and is subject to rate limiting.
Key features:
- Sorts parkings by descending rating (from 5 to 0 stars)
- Includes detailed information for each parking (capacity, price, etc.)
- Ideal for finding quality rest areas
Usage examples:
- Display premium parkings in the application
- Prioritize safe rest areas
- Integration with route planning systems
Response example:
[
{
id: j0k1l2m3-n4o5-6789,
name: Parking Premium,
location: {
lat: 40.417000,
lng: -3.704000
},
capacity: 50,
price: 15.50,
rating: 4.7,
features: [security, showers, restaurant]
}
]
Responses
- 200
- 401
- 429
- 500
Parkings obtained successfully
Unauthorized - Invalid or missing JWT token. Include a valid token in the Authorization header: Bearer {token}
Too many requests - The rate limit has been exceeded.
Wait before making new requests.
Internal Server Error