stadiamaps 5.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.
Files changed (158) hide show
  1. stadiamaps/__init__.py +23 -5
  2. stadiamaps/api/geocoding_api.py +849 -38
  3. stadiamaps/api/geospatial_api.py +1 -1
  4. stadiamaps/api/routing_api.py +1 -1
  5. stadiamaps/api_client.py +3 -3
  6. stadiamaps/configuration.py +5 -5
  7. stadiamaps/exceptions.py +18 -1
  8. stadiamaps/models/__init__.py +22 -4
  9. stadiamaps/models/access.py +1 -1
  10. stadiamaps/models/addendum_v2.py +143 -0
  11. stadiamaps/models/address_components_v2.py +134 -0
  12. stadiamaps/models/admin_region.py +1 -1
  13. stadiamaps/models/administrative.py +1 -1
  14. stadiamaps/models/annotation_filters.py +1 -1
  15. stadiamaps/models/auto_costing_options.py +1 -1
  16. stadiamaps/models/base_costing_options.py +1 -1
  17. stadiamaps/models/base_trace_request.py +1 -1
  18. stadiamaps/models/bicycle_costing_options.py +1 -1
  19. stadiamaps/models/bike_network.py +1 -1
  20. stadiamaps/models/bulk_request.py +1 -1
  21. stadiamaps/models/bulk_request_query.py +1 -1
  22. stadiamaps/models/bulk_search_response.py +1 -1
  23. stadiamaps/models/context.py +119 -0
  24. stadiamaps/models/contour.py +1 -1
  25. stadiamaps/models/coordinate.py +1 -1
  26. stadiamaps/models/costing_model.py +1 -1
  27. stadiamaps/models/costing_options.py +1 -1
  28. stadiamaps/models/directions_options.py +1 -1
  29. stadiamaps/models/distance_unit.py +1 -1
  30. stadiamaps/models/edge_sign.py +1 -1
  31. stadiamaps/models/edge_use.py +1 -1
  32. stadiamaps/models/end_node.py +1 -1
  33. stadiamaps/models/extended_directions_options.py +1 -1
  34. stadiamaps/models/feature_properties_v2.py +126 -0
  35. stadiamaps/models/feature_properties_v2_properties.py +184 -0
  36. stadiamaps/models/foursquare_addendum.py +113 -0
  37. stadiamaps/models/geo_attributes.py +1 -1
  38. stadiamaps/models/geo_json_geometry_base.py +1 -1
  39. stadiamaps/models/geo_json_point.py +1 -1
  40. stadiamaps/models/geocode_response.py +1 -1
  41. stadiamaps/models/geocode_response_envelope_properties_v2.py +125 -0
  42. stadiamaps/models/geocoding_geo_json_feature.py +1 -1
  43. stadiamaps/models/geocoding_geo_json_properties.py +8 -6
  44. stadiamaps/models/geocoding_geo_json_properties_addendum.py +1 -1
  45. stadiamaps/models/geocoding_geo_json_properties_addendum_osm.py +1 -1
  46. stadiamaps/models/geocoding_layer.py +1 -1
  47. stadiamaps/models/geocoding_meta.py +108 -0
  48. stadiamaps/models/geocoding_object.py +1 -1
  49. stadiamaps/models/geocoding_source.py +1 -1
  50. stadiamaps/models/geonames_addendum.py +101 -0
  51. stadiamaps/models/height_request.py +1 -1
  52. stadiamaps/models/height_response.py +1 -1
  53. stadiamaps/models/highway_classification.py +1 -1
  54. stadiamaps/models/intersecting_edge.py +1 -1
  55. stadiamaps/models/isochrone_costing_model.py +1 -1
  56. stadiamaps/models/isochrone_feature.py +1 -1
  57. stadiamaps/models/isochrone_properties.py +1 -1
  58. stadiamaps/models/isochrone_request.py +1 -1
  59. stadiamaps/models/isochrone_response.py +1 -1
  60. stadiamaps/models/layer_id.py +57 -0
  61. stadiamaps/models/locate_detailed_edge.py +1 -1
  62. stadiamaps/models/locate_edge.py +1 -1
  63. stadiamaps/models/locate_edge_info.py +1 -1
  64. stadiamaps/models/locate_node.py +1 -1
  65. stadiamaps/models/locate_object.py +1 -1
  66. stadiamaps/models/low_speed_vehicle_costing_options.py +1 -1
  67. stadiamaps/models/maneuver_sign.py +1 -1
  68. stadiamaps/models/maneuver_sign_element.py +1 -1
  69. stadiamaps/models/map_match_costing_model.py +1 -1
  70. stadiamaps/models/map_match_request.py +1 -1
  71. stadiamaps/models/map_match_route_response.py +1 -1
  72. stadiamaps/models/map_match_trace_options.py +1 -1
  73. stadiamaps/models/map_match_waypoint.py +3 -3
  74. stadiamaps/models/match_type.py +39 -0
  75. stadiamaps/models/matched_point.py +1 -1
  76. stadiamaps/models/matrix_costing_model.py +1 -1
  77. stadiamaps/models/matrix_distance.py +1 -1
  78. stadiamaps/models/matrix_request.py +1 -1
  79. stadiamaps/models/matrix_response.py +1 -1
  80. stadiamaps/models/matrix_waypoint.py +1 -1
  81. stadiamaps/models/motor_scooter_costing_options.py +1 -1
  82. stadiamaps/models/motorcycle_costing_options.py +1 -1
  83. stadiamaps/models/nearest_roads_request.py +1 -1
  84. stadiamaps/models/node_id.py +1 -1
  85. stadiamaps/models/node_type.py +1 -1
  86. stadiamaps/models/open_street_map_addendum.py +162 -0
  87. stadiamaps/models/optimized_route_request.py +1 -1
  88. stadiamaps/models/osrm_admin.py +1 -1
  89. stadiamaps/models/osrm_annotation.py +1 -1
  90. stadiamaps/models/osrm_banner_component.py +1 -1
  91. stadiamaps/models/osrm_banner_content.py +1 -1
  92. stadiamaps/models/osrm_banner_instruction.py +1 -1
  93. stadiamaps/models/osrm_base_api_response.py +1 -1
  94. stadiamaps/models/osrm_guidance_modifier.py +1 -1
  95. stadiamaps/models/osrm_intersection.py +1 -1
  96. stadiamaps/models/osrm_lane.py +1 -1
  97. stadiamaps/models/osrm_route.py +1 -1
  98. stadiamaps/models/osrm_route_leg.py +1 -1
  99. stadiamaps/models/osrm_route_response.py +1 -1
  100. stadiamaps/models/osrm_route_step.py +1 -1
  101. stadiamaps/models/osrm_speed_limit.py +1 -1
  102. stadiamaps/models/osrm_step_maneuver.py +1 -1
  103. stadiamaps/models/osrm_via_waypoint.py +1 -1
  104. stadiamaps/models/osrm_voice_instruction.py +1 -1
  105. stadiamaps/models/osrm_waypoint.py +1 -1
  106. stadiamaps/models/pedestrian_costing_options.py +8 -5
  107. stadiamaps/models/pedestrian_type.py +39 -0
  108. stadiamaps/models/point.py +104 -0
  109. stadiamaps/models/precision.py +38 -0
  110. stadiamaps/models/properties_v2.py +184 -0
  111. stadiamaps/models/restrictions.py +11 -11
  112. stadiamaps/models/road_class.py +1 -1
  113. stadiamaps/models/route200_response.py +1 -1
  114. stadiamaps/models/route_leg.py +1 -1
  115. stadiamaps/models/route_maneuver.py +1 -1
  116. stadiamaps/models/route_request.py +1 -1
  117. stadiamaps/models/route_response.py +1 -1
  118. stadiamaps/models/route_response_alternates_inner.py +1 -1
  119. stadiamaps/models/route_summary.py +1 -1
  120. stadiamaps/models/route_trip.py +1 -1
  121. stadiamaps/models/routing_languages.py +1 -1
  122. stadiamaps/models/routing_long_units.py +1 -1
  123. stadiamaps/models/routing_response_waypoint.py +3 -3
  124. stadiamaps/models/routing_waypoint.py +3 -3
  125. stadiamaps/models/routing_waypoint_all_of_search_filter.py +1 -1
  126. stadiamaps/models/search_query.py +2 -2
  127. stadiamaps/models/search_structured_query.py +3 -3
  128. stadiamaps/models/simple_routing_waypoint.py +3 -3
  129. stadiamaps/models/source_attribution.py +110 -0
  130. stadiamaps/models/source_id.py +41 -0
  131. stadiamaps/models/speeds.py +1 -1
  132. stadiamaps/models/trace_attribute_filter_options.py +1 -1
  133. stadiamaps/models/trace_attribute_key.py +1 -1
  134. stadiamaps/models/trace_attributes_base_response.py +1 -1
  135. stadiamaps/models/trace_attributes_request.py +1 -1
  136. stadiamaps/models/trace_attributes_response.py +1 -6
  137. stadiamaps/models/trace_edge.py +2 -7
  138. stadiamaps/models/travel_mode.py +1 -1
  139. stadiamaps/models/traversability.py +1 -1
  140. stadiamaps/models/truck_costing_options.py +1 -1
  141. stadiamaps/models/tz_response.py +1 -1
  142. stadiamaps/models/warning.py +1 -1
  143. stadiamaps/models/whos_on_first_concordances.py +246 -0
  144. stadiamaps/models/wof_context.py +210 -0
  145. stadiamaps/models/wof_context_component.py +110 -0
  146. stadiamaps/rest.py +1 -1
  147. stadiamaps-6.0.0.dist-info/METADATA +117 -0
  148. stadiamaps-6.0.0.dist-info/RECORD +183 -0
  149. {stadiamaps-5.0.0.dist-info → stadiamaps-6.0.0.dist-info}/WHEEL +1 -1
  150. {stadiamaps-5.0.0.dist-info → stadiamaps-6.0.0.dist-info}/top_level.txt +1 -0
  151. test/integration/__init__.py +0 -0
  152. test/integration/test_eu_endpoint.py +21 -0
  153. test/integration/test_gecoding.py +112 -0
  154. test/integration/test_geospatial.py +43 -0
  155. test/integration/test_routing.py +282 -0
  156. stadiamaps-5.0.0.dist-info/METADATA +0 -87
  157. stadiamaps-5.0.0.dist-info/RECORD +0 -157
  158. {stadiamaps-5.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: 8.0.0
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__ = "5.0.0"
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,20 +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.geo_json_polygon import GeoJSONPolygon
65
68
  from stadiamaps.models.geocode_response import GeocodeResponse
69
+ from stadiamaps.models.geocode_response_envelope_properties_v2 import GeocodeResponseEnvelopePropertiesV2
66
70
  from stadiamaps.models.geocoding_geo_json_feature import GeocodingGeoJSONFeature
67
71
  from stadiamaps.models.geocoding_geo_json_properties import GeocodingGeoJSONProperties
68
72
  from stadiamaps.models.geocoding_geo_json_properties_addendum import GeocodingGeoJSONPropertiesAddendum
69
73
  from stadiamaps.models.geocoding_geo_json_properties_addendum_osm import GeocodingGeoJSONPropertiesAddendumOsm
70
74
  from stadiamaps.models.geocoding_layer import GeocodingLayer
75
+ from stadiamaps.models.geocoding_meta import GeocodingMeta
71
76
  from stadiamaps.models.geocoding_object import GeocodingObject
72
77
  from stadiamaps.models.geocoding_source import GeocodingSource
78
+ from stadiamaps.models.geonames_addendum import GeonamesAddendum
73
79
  from stadiamaps.models.height_request import HeightRequest
74
80
  from stadiamaps.models.height_response import HeightResponse
75
81
  from stadiamaps.models.highway_classification import HighwayClassification
@@ -79,6 +85,7 @@ from stadiamaps.models.isochrone_feature import IsochroneFeature
79
85
  from stadiamaps.models.isochrone_properties import IsochroneProperties
80
86
  from stadiamaps.models.isochrone_request import IsochroneRequest
81
87
  from stadiamaps.models.isochrone_response import IsochroneResponse
88
+ from stadiamaps.models.layer_id import LayerId
82
89
  from stadiamaps.models.locate_detailed_edge import LocateDetailedEdge
83
90
  from stadiamaps.models.locate_edge import LocateEdge
84
91
  from stadiamaps.models.locate_edge_info import LocateEdgeInfo
@@ -92,6 +99,7 @@ from stadiamaps.models.map_match_request import MapMatchRequest
92
99
  from stadiamaps.models.map_match_route_response import MapMatchRouteResponse
93
100
  from stadiamaps.models.map_match_trace_options import MapMatchTraceOptions
94
101
  from stadiamaps.models.map_match_waypoint import MapMatchWaypoint
102
+ from stadiamaps.models.match_type import MatchType
95
103
  from stadiamaps.models.matched_point import MatchedPoint
96
104
  from stadiamaps.models.matrix_costing_model import MatrixCostingModel
97
105
  from stadiamaps.models.matrix_distance import MatrixDistance
@@ -103,6 +111,7 @@ from stadiamaps.models.motorcycle_costing_options import MotorcycleCostingOption
103
111
  from stadiamaps.models.nearest_roads_request import NearestRoadsRequest
104
112
  from stadiamaps.models.node_id import NodeId
105
113
  from stadiamaps.models.node_type import NodeType
114
+ from stadiamaps.models.open_street_map_addendum import OpenStreetMapAddendum
106
115
  from stadiamaps.models.optimized_route_request import OptimizedRouteRequest
107
116
  from stadiamaps.models.osrm_admin import OsrmAdmin
108
117
  from stadiamaps.models.osrm_annotation import OsrmAnnotation
@@ -123,6 +132,10 @@ from stadiamaps.models.osrm_via_waypoint import OsrmViaWaypoint
123
132
  from stadiamaps.models.osrm_voice_instruction import OsrmVoiceInstruction
124
133
  from stadiamaps.models.osrm_waypoint import OsrmWaypoint
125
134
  from stadiamaps.models.pedestrian_costing_options import PedestrianCostingOptions
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
@@ -141,6 +154,8 @@ from stadiamaps.models.routing_waypoint_all_of_search_filter import RoutingWaypo
141
154
  from stadiamaps.models.search_query import SearchQuery
142
155
  from stadiamaps.models.search_structured_query import SearchStructuredQuery
143
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
144
159
  from stadiamaps.models.speeds import Speeds
145
160
  from stadiamaps.models.trace_attribute_filter_options import TraceAttributeFilterOptions
146
161
  from stadiamaps.models.trace_attribute_key import TraceAttributeKey
@@ -153,3 +168,6 @@ from stadiamaps.models.traversability import Traversability
153
168
  from stadiamaps.models.truck_costing_options import TruckCostingOptions
154
169
  from stadiamaps.models.tz_response import TzResponse
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