Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.32 KB

RouteSummary.md

File metadata and controls

34 lines (25 loc) · 1.32 KB

RouteSummary

Properties

Name Type Description Notes
time float The estimated travel time, in seconds
length float The estimated travel distance, in `units` (km or mi)
min_lat float The minimum latitude of the bounding box containing the route.
max_lat float The maximum latitude of the bounding box containing the route.
min_lon float The minimum longitude of the bounding box containing the route.
max_lon float The maximum longitude of the bounding box containing the route.

Example

from stadiamaps.models.route_summary import RouteSummary

# TODO update the JSON string below
json = "{}"
# create an instance of RouteSummary from a JSON string
route_summary_instance = RouteSummary.from_json(json)
# print the JSON string representation of the object
print(RouteSummary.to_json())

# convert the object into a dict
route_summary_dict = route_summary_instance.to_dict()
# create an instance of RouteSummary from a dict
route_summary_from_dict = RouteSummary.from_dict(route_summary_dict)

[Back to Model list] [Back to API list] [Back to README]