stadiamaps 4.0.0__py3-none-any.whl → 6.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- stadiamaps/__init__.py +32 -14
- stadiamaps/api/geocoding_api.py +976 -153
- stadiamaps/api/geospatial_api.py +7 -3
- stadiamaps/api/routing_api.py +22 -8
- stadiamaps/api_client.py +15 -6
- stadiamaps/configuration.py +156 -40
- stadiamaps/exceptions.py +18 -1
- stadiamaps/models/__init__.py +31 -13
- stadiamaps/models/access.py +1 -1
- stadiamaps/models/addendum_v2.py +143 -0
- stadiamaps/models/address_components_v2.py +134 -0
- stadiamaps/models/admin_region.py +1 -1
- stadiamaps/models/administrative.py +1 -1
- stadiamaps/models/annotation_filters.py +1 -1
- stadiamaps/models/auto_costing_options.py +1 -1
- stadiamaps/models/base_costing_options.py +1 -1
- stadiamaps/models/base_trace_request.py +4 -4
- stadiamaps/models/bicycle_costing_options.py +1 -1
- stadiamaps/models/bike_network.py +1 -1
- stadiamaps/models/bulk_request.py +1 -1
- stadiamaps/models/bulk_request_query.py +1 -1
- stadiamaps/models/bulk_search_response.py +4 -4
- stadiamaps/models/context.py +119 -0
- stadiamaps/models/contour.py +1 -1
- stadiamaps/models/coordinate.py +1 -1
- stadiamaps/models/costing_model.py +1 -1
- stadiamaps/models/costing_options.py +1 -1
- stadiamaps/models/directions_options.py +4 -4
- stadiamaps/models/distance_unit.py +1 -1
- stadiamaps/models/edge_sign.py +1 -1
- stadiamaps/models/edge_use.py +1 -1
- stadiamaps/models/end_node.py +1 -1
- stadiamaps/models/extended_directions_options.py +1 -1
- stadiamaps/models/feature_properties_v2.py +126 -0
- stadiamaps/models/feature_properties_v2_properties.py +184 -0
- stadiamaps/models/foursquare_addendum.py +113 -0
- stadiamaps/models/geo_attributes.py +1 -1
- stadiamaps/models/geo_json_geometry.py +1 -1
- stadiamaps/models/geo_json_geometry_base.py +1 -1
- stadiamaps/models/geo_json_line_string.py +1 -1
- stadiamaps/models/geo_json_point.py +1 -1
- stadiamaps/models/geo_json_polygon.py +1 -1
- stadiamaps/models/{pelias_response.py → geocode_response.py} +8 -8
- stadiamaps/models/geocode_response_envelope_properties_v2.py +125 -0
- stadiamaps/models/{pelias_geo_json_feature.py → geocoding_geo_json_feature.py} +8 -8
- stadiamaps/models/{pelias_geo_json_properties.py → geocoding_geo_json_properties.py} +43 -15
- stadiamaps/models/{pelias_geo_json_properties_addendum.py → geocoding_geo_json_properties_addendum.py} +7 -7
- stadiamaps/models/{pelias_geo_json_properties_addendum_osm.py → geocoding_geo_json_properties_addendum_osm.py} +5 -5
- stadiamaps/models/{pelias_layer.py → geocoding_layer.py} +3 -3
- stadiamaps/models/geocoding_meta.py +108 -0
- stadiamaps/models/geocoding_object.py +1 -1
- stadiamaps/models/{pelias_source.py → geocoding_source.py} +4 -3
- stadiamaps/models/geonames_addendum.py +101 -0
- stadiamaps/models/height_request.py +1 -1
- stadiamaps/models/height_response.py +1 -1
- stadiamaps/models/highway_classification.py +1 -1
- stadiamaps/models/intersecting_edge.py +1 -1
- stadiamaps/models/isochrone_costing_model.py +1 -1
- stadiamaps/models/isochrone_feature.py +1 -1
- stadiamaps/models/isochrone_properties.py +1 -1
- stadiamaps/models/isochrone_request.py +1 -1
- stadiamaps/models/isochrone_response.py +1 -1
- stadiamaps/models/layer_id.py +57 -0
- stadiamaps/models/locate_detailed_edge.py +1 -1
- stadiamaps/models/locate_edge.py +1 -1
- stadiamaps/models/locate_edge_info.py +1 -1
- stadiamaps/models/locate_node.py +1 -1
- stadiamaps/models/locate_object.py +1 -1
- stadiamaps/models/low_speed_vehicle_costing_options.py +1 -1
- stadiamaps/models/maneuver_sign.py +1 -1
- stadiamaps/models/maneuver_sign_element.py +1 -1
- stadiamaps/models/map_match_costing_model.py +1 -1
- stadiamaps/models/map_match_request.py +10 -8
- stadiamaps/models/map_match_route_response.py +1 -1
- stadiamaps/models/map_match_trace_options.py +1 -1
- stadiamaps/models/map_match_waypoint.py +3 -3
- stadiamaps/models/match_type.py +39 -0
- stadiamaps/models/matched_point.py +1 -1
- stadiamaps/models/matrix_costing_model.py +1 -1
- stadiamaps/models/matrix_distance.py +1 -1
- stadiamaps/models/matrix_request.py +4 -4
- stadiamaps/models/matrix_response.py +4 -4
- stadiamaps/models/matrix_waypoint.py +1 -1
- stadiamaps/models/motor_scooter_costing_options.py +1 -1
- stadiamaps/models/motorcycle_costing_options.py +1 -1
- stadiamaps/models/nearest_roads_request.py +4 -4
- stadiamaps/models/node_id.py +1 -1
- stadiamaps/models/node_type.py +1 -1
- stadiamaps/models/open_street_map_addendum.py +162 -0
- stadiamaps/models/optimized_route_request.py +10 -8
- stadiamaps/models/osrm_admin.py +1 -1
- stadiamaps/models/osrm_annotation.py +1 -1
- stadiamaps/models/osrm_banner_component.py +1 -1
- stadiamaps/models/osrm_banner_content.py +1 -1
- stadiamaps/models/osrm_banner_instruction.py +1 -1
- stadiamaps/models/osrm_base_api_response.py +1 -1
- stadiamaps/models/osrm_guidance_modifier.py +1 -1
- stadiamaps/models/osrm_intersection.py +1 -1
- stadiamaps/models/osrm_lane.py +1 -1
- stadiamaps/models/osrm_route.py +1 -1
- stadiamaps/models/osrm_route_leg.py +1 -1
- stadiamaps/models/osrm_route_response.py +1 -1
- stadiamaps/models/osrm_route_step.py +1 -1
- stadiamaps/models/osrm_speed_limit.py +1 -1
- stadiamaps/models/osrm_step_maneuver.py +1 -1
- stadiamaps/models/osrm_via_waypoint.py +1 -1
- stadiamaps/models/osrm_voice_instruction.py +1 -1
- stadiamaps/models/osrm_waypoint.py +1 -1
- stadiamaps/models/pedestrian_costing_options.py +8 -5
- stadiamaps/models/pedestrian_type.py +39 -0
- stadiamaps/models/point.py +104 -0
- stadiamaps/models/precision.py +38 -0
- stadiamaps/models/properties_v2.py +184 -0
- stadiamaps/models/restrictions.py +11 -11
- stadiamaps/models/road_class.py +1 -1
- stadiamaps/models/route200_response.py +1 -1
- stadiamaps/models/route_leg.py +1 -1
- stadiamaps/models/route_maneuver.py +1 -1
- stadiamaps/models/route_request.py +5 -5
- stadiamaps/models/route_response.py +1 -1
- stadiamaps/models/route_response_alternates_inner.py +1 -1
- stadiamaps/models/route_summary.py +1 -1
- stadiamaps/models/route_trip.py +7 -7
- stadiamaps/models/{valhalla_languages.py → routing_languages.py} +4 -4
- stadiamaps/models/{valhalla_long_units.py → routing_long_units.py} +4 -4
- stadiamaps/models/routing_response_waypoint.py +3 -3
- stadiamaps/models/routing_waypoint.py +3 -3
- stadiamaps/models/routing_waypoint_all_of_search_filter.py +1 -1
- stadiamaps/models/search_query.py +7 -7
- stadiamaps/models/search_structured_query.py +8 -8
- stadiamaps/models/simple_routing_waypoint.py +3 -3
- stadiamaps/models/source_attribution.py +110 -0
- stadiamaps/models/source_id.py +41 -0
- stadiamaps/models/speeds.py +1 -1
- stadiamaps/models/trace_attribute_filter_options.py +1 -1
- stadiamaps/models/trace_attribute_key.py +1 -1
- stadiamaps/models/trace_attributes_base_response.py +1 -1
- stadiamaps/models/trace_attributes_request.py +10 -8
- stadiamaps/models/trace_attributes_response.py +4 -9
- stadiamaps/models/trace_edge.py +2 -7
- stadiamaps/models/travel_mode.py +1 -1
- stadiamaps/models/traversability.py +1 -1
- stadiamaps/models/truck_costing_options.py +1 -1
- stadiamaps/models/tz_response.py +1 -1
- stadiamaps/models/warning.py +1 -1
- stadiamaps/models/whos_on_first_concordances.py +246 -0
- stadiamaps/models/wof_context.py +210 -0
- stadiamaps/models/wof_context_component.py +110 -0
- stadiamaps/rest.py +2 -2
- stadiamaps-6.0.0.dist-info/METADATA +117 -0
- stadiamaps-6.0.0.dist-info/RECORD +183 -0
- {stadiamaps-4.0.0.dist-info → stadiamaps-6.0.0.dist-info}/WHEEL +1 -1
- {stadiamaps-4.0.0.dist-info → stadiamaps-6.0.0.dist-info}/top_level.txt +1 -0
- test/integration/__init__.py +0 -0
- test/integration/test_eu_endpoint.py +21 -0
- test/integration/test_gecoding.py +112 -0
- test/integration/test_geospatial.py +43 -0
- test/integration/test_routing.py +282 -0
- stadiamaps/models/pelias_response_geocoding.py +0 -89
- stadiamaps/models/route_response_trip.py +0 -117
- stadiamaps/models/trace_attributes_response_all_of.py +0 -96
- stadiamaps-4.0.0.dist-info/METADATA +0 -79
- stadiamaps-4.0.0.dist-info/RECORD +0 -160
- {stadiamaps-4.0.0.dist-info → stadiamaps-6.0.0.dist-info/licenses}/LICENSE.txt +0 -0
stadiamaps/__init__.py
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
|
8
8
|
The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications.
|
9
9
|
|
10
|
-
The version of the OpenAPI document:
|
10
|
+
The version of the OpenAPI document: 9.0.0
|
11
11
|
Contact: support@stadiamaps.com
|
12
12
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
13
13
|
|
@@ -15,7 +15,7 @@
|
|
15
15
|
""" # noqa: E501
|
16
16
|
|
17
17
|
|
18
|
-
__version__ = "
|
18
|
+
__version__ = "6.0.0"
|
19
19
|
|
20
20
|
# import apis into sdk package
|
21
21
|
from stadiamaps.api.geocoding_api import GeocodingApi
|
@@ -35,6 +35,8 @@ from stadiamaps.exceptions import ApiException
|
|
35
35
|
|
36
36
|
# import models into sdk package
|
37
37
|
from stadiamaps.models.access import Access
|
38
|
+
from stadiamaps.models.addendum_v2 import AddendumV2
|
39
|
+
from stadiamaps.models.address_components_v2 import AddressComponentsV2
|
38
40
|
from stadiamaps.models.admin_region import AdminRegion
|
39
41
|
from stadiamaps.models.administrative import Administrative
|
40
42
|
from stadiamaps.models.annotation_filters import AnnotationFilters
|
@@ -46,6 +48,7 @@ from stadiamaps.models.bike_network import BikeNetwork
|
|
46
48
|
from stadiamaps.models.bulk_request import BulkRequest
|
47
49
|
from stadiamaps.models.bulk_request_query import BulkRequestQuery
|
48
50
|
from stadiamaps.models.bulk_search_response import BulkSearchResponse
|
51
|
+
from stadiamaps.models.context import Context
|
49
52
|
from stadiamaps.models.contour import Contour
|
50
53
|
from stadiamaps.models.coordinate import Coordinate
|
51
54
|
from stadiamaps.models.costing_model import CostingModel
|
@@ -56,13 +59,23 @@ from stadiamaps.models.edge_sign import EdgeSign
|
|
56
59
|
from stadiamaps.models.edge_use import EdgeUse
|
57
60
|
from stadiamaps.models.end_node import EndNode
|
58
61
|
from stadiamaps.models.extended_directions_options import ExtendedDirectionsOptions
|
62
|
+
from stadiamaps.models.feature_properties_v2 import FeaturePropertiesV2
|
63
|
+
from stadiamaps.models.feature_properties_v2_properties import FeaturePropertiesV2Properties
|
64
|
+
from stadiamaps.models.foursquare_addendum import FoursquareAddendum
|
59
65
|
from stadiamaps.models.geo_attributes import GeoAttributes
|
60
|
-
from stadiamaps.models.geo_json_geometry import GeoJSONGeometry
|
61
66
|
from stadiamaps.models.geo_json_geometry_base import GeoJSONGeometryBase
|
62
|
-
from stadiamaps.models.geo_json_line_string import GeoJSONLineString
|
63
67
|
from stadiamaps.models.geo_json_point import GeoJSONPoint
|
64
|
-
from stadiamaps.models.
|
68
|
+
from stadiamaps.models.geocode_response import GeocodeResponse
|
69
|
+
from stadiamaps.models.geocode_response_envelope_properties_v2 import GeocodeResponseEnvelopePropertiesV2
|
70
|
+
from stadiamaps.models.geocoding_geo_json_feature import GeocodingGeoJSONFeature
|
71
|
+
from stadiamaps.models.geocoding_geo_json_properties import GeocodingGeoJSONProperties
|
72
|
+
from stadiamaps.models.geocoding_geo_json_properties_addendum import GeocodingGeoJSONPropertiesAddendum
|
73
|
+
from stadiamaps.models.geocoding_geo_json_properties_addendum_osm import GeocodingGeoJSONPropertiesAddendumOsm
|
74
|
+
from stadiamaps.models.geocoding_layer import GeocodingLayer
|
75
|
+
from stadiamaps.models.geocoding_meta import GeocodingMeta
|
65
76
|
from stadiamaps.models.geocoding_object import GeocodingObject
|
77
|
+
from stadiamaps.models.geocoding_source import GeocodingSource
|
78
|
+
from stadiamaps.models.geonames_addendum import GeonamesAddendum
|
66
79
|
from stadiamaps.models.height_request import HeightRequest
|
67
80
|
from stadiamaps.models.height_response import HeightResponse
|
68
81
|
from stadiamaps.models.highway_classification import HighwayClassification
|
@@ -72,6 +85,7 @@ from stadiamaps.models.isochrone_feature import IsochroneFeature
|
|
72
85
|
from stadiamaps.models.isochrone_properties import IsochroneProperties
|
73
86
|
from stadiamaps.models.isochrone_request import IsochroneRequest
|
74
87
|
from stadiamaps.models.isochrone_response import IsochroneResponse
|
88
|
+
from stadiamaps.models.layer_id import LayerId
|
75
89
|
from stadiamaps.models.locate_detailed_edge import LocateDetailedEdge
|
76
90
|
from stadiamaps.models.locate_edge import LocateEdge
|
77
91
|
from stadiamaps.models.locate_edge_info import LocateEdgeInfo
|
@@ -85,6 +99,7 @@ from stadiamaps.models.map_match_request import MapMatchRequest
|
|
85
99
|
from stadiamaps.models.map_match_route_response import MapMatchRouteResponse
|
86
100
|
from stadiamaps.models.map_match_trace_options import MapMatchTraceOptions
|
87
101
|
from stadiamaps.models.map_match_waypoint import MapMatchWaypoint
|
102
|
+
from stadiamaps.models.match_type import MatchType
|
88
103
|
from stadiamaps.models.matched_point import MatchedPoint
|
89
104
|
from stadiamaps.models.matrix_costing_model import MatrixCostingModel
|
90
105
|
from stadiamaps.models.matrix_distance import MatrixDistance
|
@@ -96,6 +111,7 @@ from stadiamaps.models.motorcycle_costing_options import MotorcycleCostingOption
|
|
96
111
|
from stadiamaps.models.nearest_roads_request import NearestRoadsRequest
|
97
112
|
from stadiamaps.models.node_id import NodeId
|
98
113
|
from stadiamaps.models.node_type import NodeType
|
114
|
+
from stadiamaps.models.open_street_map_addendum import OpenStreetMapAddendum
|
99
115
|
from stadiamaps.models.optimized_route_request import OptimizedRouteRequest
|
100
116
|
from stadiamaps.models.osrm_admin import OsrmAdmin
|
101
117
|
from stadiamaps.models.osrm_annotation import OsrmAnnotation
|
@@ -116,13 +132,10 @@ from stadiamaps.models.osrm_via_waypoint import OsrmViaWaypoint
|
|
116
132
|
from stadiamaps.models.osrm_voice_instruction import OsrmVoiceInstruction
|
117
133
|
from stadiamaps.models.osrm_waypoint import OsrmWaypoint
|
118
134
|
from stadiamaps.models.pedestrian_costing_options import PedestrianCostingOptions
|
119
|
-
from stadiamaps.models.
|
120
|
-
from stadiamaps.models.
|
121
|
-
from stadiamaps.models.
|
122
|
-
from stadiamaps.models.
|
123
|
-
from stadiamaps.models.pelias_layer import PeliasLayer
|
124
|
-
from stadiamaps.models.pelias_response import PeliasResponse
|
125
|
-
from stadiamaps.models.pelias_source import PeliasSource
|
135
|
+
from stadiamaps.models.pedestrian_type import PedestrianType
|
136
|
+
from stadiamaps.models.point import Point
|
137
|
+
from stadiamaps.models.precision import Precision
|
138
|
+
from stadiamaps.models.properties_v2 import PropertiesV2
|
126
139
|
from stadiamaps.models.restrictions import Restrictions
|
127
140
|
from stadiamaps.models.road_class import RoadClass
|
128
141
|
from stadiamaps.models.route200_response import Route200Response
|
@@ -133,12 +146,16 @@ from stadiamaps.models.route_response import RouteResponse
|
|
133
146
|
from stadiamaps.models.route_response_alternates_inner import RouteResponseAlternatesInner
|
134
147
|
from stadiamaps.models.route_summary import RouteSummary
|
135
148
|
from stadiamaps.models.route_trip import RouteTrip
|
149
|
+
from stadiamaps.models.routing_languages import RoutingLanguages
|
150
|
+
from stadiamaps.models.routing_long_units import RoutingLongUnits
|
136
151
|
from stadiamaps.models.routing_response_waypoint import RoutingResponseWaypoint
|
137
152
|
from stadiamaps.models.routing_waypoint import RoutingWaypoint
|
138
153
|
from stadiamaps.models.routing_waypoint_all_of_search_filter import RoutingWaypointAllOfSearchFilter
|
139
154
|
from stadiamaps.models.search_query import SearchQuery
|
140
155
|
from stadiamaps.models.search_structured_query import SearchStructuredQuery
|
141
156
|
from stadiamaps.models.simple_routing_waypoint import SimpleRoutingWaypoint
|
157
|
+
from stadiamaps.models.source_attribution import SourceAttribution
|
158
|
+
from stadiamaps.models.source_id import SourceId
|
142
159
|
from stadiamaps.models.speeds import Speeds
|
143
160
|
from stadiamaps.models.trace_attribute_filter_options import TraceAttributeFilterOptions
|
144
161
|
from stadiamaps.models.trace_attribute_key import TraceAttributeKey
|
@@ -150,6 +167,7 @@ from stadiamaps.models.travel_mode import TravelMode
|
|
150
167
|
from stadiamaps.models.traversability import Traversability
|
151
168
|
from stadiamaps.models.truck_costing_options import TruckCostingOptions
|
152
169
|
from stadiamaps.models.tz_response import TzResponse
|
153
|
-
from stadiamaps.models.valhalla_languages import ValhallaLanguages
|
154
|
-
from stadiamaps.models.valhalla_long_units import ValhallaLongUnits
|
155
170
|
from stadiamaps.models.warning import Warning
|
171
|
+
from stadiamaps.models.whos_on_first_concordances import WhosOnFirstConcordances
|
172
|
+
from stadiamaps.models.wof_context import WofContext
|
173
|
+
from stadiamaps.models.wof_context_component import WofContextComponent
|