Get parkings grouped by provinces
GET/truckers/map/parkings/provinces
Returns truck parking grouped by provinces. Requires JWT token authentication and is subject to rate limiting.
Key features:
- Organizes parking by administrative division
- Allows filtering by geographic region
- Ideal for regional logistics planning
Example use cases:
- Display parking distribution by province
- Analyze geographic coverage
- Plan routes by region
Example response:
{
Madrid: [
{
id: n4o5p6q7-r8s9-0123,
name: Madrid South Parking,
location: {
lat: 40.416775,
lng: -3.703790
},
capacity: 45,
price: 12.50,
rating: 4.3,
features: [security, showers]
}
],
Barcelona: [
{
id: o5p6q7r8-s9t0-1234,
name: Barcelona East Parking,
location: {
lat: 41.385063,
lng: 2.173404
},
capacity: 35,
price: 14.00,
rating: 4.1,
features: [restaurant, wifi]
}
]
}
Responses
- 200
- 401
- 429
- 500
Parkings successfully obtained grouped by province
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