Skip to main content

Get all parking lots

GET 

/truckers/map/parkings/all

Returns all available truck parkings in the system. Requires JWT token authentication and is subject to rate limiting.

Main features:

  • Provides the complete list of parkings
  • Includes all available data for each parking
  • Ideal for comprehensive analysis or integrations with other systems

Usage example:

  • Display a complete map of parkings
  • Perform statistical analysis
  • Synchronize with external systems

Response example:

[
{
id: p6q7r8s9-t0u1-2345,
name: Complete Parking,
location: {
lat: 40.416775,
lng: -3.703790
},
capacity: 60,
price: 13.50,
rating: 4.4,
features: [security, showers, restaurant, wifi]
},
{
id: q7r8s9t0-u1v2-3456,
name: Another Parking,
location: {
lat: 41.385063,
lng: 2.173404
},
capacity: 40,
price: 11.00,
rating: 4.0,
features: [security, restrooms]
}
]

Responses

All parkings obtained successfully