stadiamaps 4.0.0__tar.gz → 6.0.0__tar.gz

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 (372) hide show
  1. stadiamaps-6.0.0/PKG-INFO +117 -0
  2. stadiamaps-6.0.0/README.md +99 -0
  3. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/pyproject.toml +52 -17
  4. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/__init__.py +32 -14
  5. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/api/geocoding_api.py +976 -153
  6. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/api/geospatial_api.py +7 -3
  7. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/api/routing_api.py +22 -8
  8. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/api_client.py +15 -6
  9. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/configuration.py +156 -40
  10. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/exceptions.py +18 -1
  11. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/__init__.py +31 -13
  12. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/access.py +1 -1
  13. stadiamaps-6.0.0/stadiamaps/models/addendum_v2.py +143 -0
  14. stadiamaps-6.0.0/stadiamaps/models/address_components_v2.py +134 -0
  15. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/admin_region.py +1 -1
  16. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/administrative.py +1 -1
  17. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/annotation_filters.py +1 -1
  18. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/auto_costing_options.py +1 -1
  19. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/base_costing_options.py +1 -1
  20. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/base_trace_request.py +4 -4
  21. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/bicycle_costing_options.py +1 -1
  22. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/bike_network.py +1 -1
  23. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/bulk_request.py +1 -1
  24. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/bulk_request_query.py +1 -1
  25. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/bulk_search_response.py +4 -4
  26. stadiamaps-6.0.0/stadiamaps/models/context.py +119 -0
  27. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/contour.py +1 -1
  28. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/coordinate.py +1 -1
  29. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/costing_model.py +1 -1
  30. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/costing_options.py +1 -1
  31. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/directions_options.py +4 -4
  32. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/distance_unit.py +1 -1
  33. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/edge_sign.py +1 -1
  34. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/edge_use.py +1 -1
  35. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/end_node.py +1 -1
  36. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/extended_directions_options.py +1 -1
  37. stadiamaps-6.0.0/stadiamaps/models/feature_properties_v2.py +126 -0
  38. stadiamaps-6.0.0/stadiamaps/models/feature_properties_v2_properties.py +184 -0
  39. stadiamaps-6.0.0/stadiamaps/models/foursquare_addendum.py +113 -0
  40. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/geo_attributes.py +1 -1
  41. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/geo_json_geometry.py +1 -1
  42. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/geo_json_geometry_base.py +1 -1
  43. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/geo_json_line_string.py +1 -1
  44. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/geo_json_point.py +1 -1
  45. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/geo_json_polygon.py +1 -1
  46. stadiamaps-4.0.0/stadiamaps/models/pelias_response.py → stadiamaps-6.0.0/stadiamaps/models/geocode_response.py +8 -8
  47. stadiamaps-6.0.0/stadiamaps/models/geocode_response_envelope_properties_v2.py +125 -0
  48. stadiamaps-4.0.0/stadiamaps/models/pelias_geo_json_feature.py → stadiamaps-6.0.0/stadiamaps/models/geocoding_geo_json_feature.py +8 -8
  49. stadiamaps-4.0.0/stadiamaps/models/pelias_geo_json_properties.py → stadiamaps-6.0.0/stadiamaps/models/geocoding_geo_json_properties.py +43 -15
  50. stadiamaps-4.0.0/stadiamaps/models/pelias_geo_json_properties_addendum.py → stadiamaps-6.0.0/stadiamaps/models/geocoding_geo_json_properties_addendum.py +7 -7
  51. stadiamaps-4.0.0/stadiamaps/models/pelias_geo_json_properties_addendum_osm.py → stadiamaps-6.0.0/stadiamaps/models/geocoding_geo_json_properties_addendum_osm.py +5 -5
  52. stadiamaps-4.0.0/stadiamaps/models/pelias_layer.py → stadiamaps-6.0.0/stadiamaps/models/geocoding_layer.py +3 -3
  53. stadiamaps-6.0.0/stadiamaps/models/geocoding_meta.py +108 -0
  54. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/geocoding_object.py +1 -1
  55. stadiamaps-4.0.0/stadiamaps/models/pelias_source.py → stadiamaps-6.0.0/stadiamaps/models/geocoding_source.py +4 -3
  56. stadiamaps-6.0.0/stadiamaps/models/geonames_addendum.py +101 -0
  57. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/height_request.py +1 -1
  58. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/height_response.py +1 -1
  59. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/highway_classification.py +1 -1
  60. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/intersecting_edge.py +1 -1
  61. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/isochrone_costing_model.py +1 -1
  62. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/isochrone_feature.py +1 -1
  63. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/isochrone_properties.py +1 -1
  64. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/isochrone_request.py +1 -1
  65. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/isochrone_response.py +1 -1
  66. stadiamaps-6.0.0/stadiamaps/models/layer_id.py +57 -0
  67. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/locate_detailed_edge.py +1 -1
  68. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/locate_edge.py +1 -1
  69. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/locate_edge_info.py +1 -1
  70. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/locate_node.py +1 -1
  71. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/locate_object.py +1 -1
  72. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/low_speed_vehicle_costing_options.py +1 -1
  73. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/maneuver_sign.py +1 -1
  74. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/maneuver_sign_element.py +1 -1
  75. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/map_match_costing_model.py +1 -1
  76. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/map_match_request.py +10 -8
  77. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/map_match_route_response.py +1 -1
  78. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/map_match_trace_options.py +1 -1
  79. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/map_match_waypoint.py +3 -3
  80. stadiamaps-6.0.0/stadiamaps/models/match_type.py +39 -0
  81. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/matched_point.py +1 -1
  82. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/matrix_costing_model.py +1 -1
  83. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/matrix_distance.py +1 -1
  84. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/matrix_request.py +4 -4
  85. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/matrix_response.py +4 -4
  86. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/matrix_waypoint.py +1 -1
  87. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/motor_scooter_costing_options.py +1 -1
  88. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/motorcycle_costing_options.py +1 -1
  89. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/nearest_roads_request.py +4 -4
  90. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/node_id.py +1 -1
  91. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/node_type.py +1 -1
  92. stadiamaps-6.0.0/stadiamaps/models/open_street_map_addendum.py +162 -0
  93. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/optimized_route_request.py +10 -8
  94. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/osrm_admin.py +1 -1
  95. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/osrm_annotation.py +1 -1
  96. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/osrm_banner_component.py +1 -1
  97. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/osrm_banner_content.py +1 -1
  98. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/osrm_banner_instruction.py +1 -1
  99. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/osrm_base_api_response.py +1 -1
  100. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/osrm_guidance_modifier.py +1 -1
  101. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/osrm_intersection.py +1 -1
  102. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/osrm_lane.py +1 -1
  103. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/osrm_route.py +1 -1
  104. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/osrm_route_leg.py +1 -1
  105. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/osrm_route_response.py +1 -1
  106. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/osrm_route_step.py +1 -1
  107. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/osrm_speed_limit.py +1 -1
  108. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/osrm_step_maneuver.py +1 -1
  109. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/osrm_via_waypoint.py +1 -1
  110. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/osrm_voice_instruction.py +1 -1
  111. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/osrm_waypoint.py +1 -1
  112. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/pedestrian_costing_options.py +8 -5
  113. stadiamaps-6.0.0/stadiamaps/models/pedestrian_type.py +39 -0
  114. stadiamaps-6.0.0/stadiamaps/models/point.py +104 -0
  115. stadiamaps-6.0.0/stadiamaps/models/precision.py +38 -0
  116. stadiamaps-6.0.0/stadiamaps/models/properties_v2.py +184 -0
  117. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/restrictions.py +11 -11
  118. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/road_class.py +1 -1
  119. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/route200_response.py +1 -1
  120. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/route_leg.py +1 -1
  121. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/route_maneuver.py +1 -1
  122. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/route_request.py +5 -5
  123. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/route_response.py +1 -1
  124. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/route_response_alternates_inner.py +1 -1
  125. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/route_summary.py +1 -1
  126. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/route_trip.py +7 -7
  127. stadiamaps-4.0.0/stadiamaps/models/valhalla_languages.py → stadiamaps-6.0.0/stadiamaps/models/routing_languages.py +4 -4
  128. stadiamaps-4.0.0/stadiamaps/models/valhalla_long_units.py → stadiamaps-6.0.0/stadiamaps/models/routing_long_units.py +4 -4
  129. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/routing_response_waypoint.py +3 -3
  130. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/routing_waypoint.py +3 -3
  131. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/routing_waypoint_all_of_search_filter.py +1 -1
  132. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/search_query.py +7 -7
  133. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/search_structured_query.py +8 -8
  134. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/simple_routing_waypoint.py +3 -3
  135. stadiamaps-6.0.0/stadiamaps/models/source_attribution.py +110 -0
  136. stadiamaps-6.0.0/stadiamaps/models/source_id.py +41 -0
  137. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/speeds.py +1 -1
  138. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/trace_attribute_filter_options.py +1 -1
  139. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/trace_attribute_key.py +1 -1
  140. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/trace_attributes_base_response.py +1 -1
  141. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/trace_attributes_request.py +10 -8
  142. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/trace_attributes_response.py +4 -9
  143. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/trace_edge.py +2 -7
  144. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/travel_mode.py +1 -1
  145. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/traversability.py +1 -1
  146. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/truck_costing_options.py +1 -1
  147. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/tz_response.py +1 -1
  148. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/warning.py +1 -1
  149. stadiamaps-6.0.0/stadiamaps/models/whos_on_first_concordances.py +246 -0
  150. stadiamaps-6.0.0/stadiamaps/models/wof_context.py +210 -0
  151. stadiamaps-6.0.0/stadiamaps/models/wof_context_component.py +110 -0
  152. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/rest.py +2 -2
  153. stadiamaps-6.0.0/stadiamaps.egg-info/PKG-INFO +117 -0
  154. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps.egg-info/SOURCES.txt +60 -25
  155. stadiamaps-6.0.0/stadiamaps.egg-info/requires.txt +4 -0
  156. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps.egg-info/top_level.txt +2 -0
  157. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/integration/test_gecoding.py +24 -7
  158. stadiamaps-6.0.0/test/test_addendum_v2.py +88 -0
  159. stadiamaps-6.0.0/test/test_address_components_v2.py +56 -0
  160. stadiamaps-6.0.0/test/test_context.py +89 -0
  161. stadiamaps-6.0.0/test/test_feature_properties_v2.py +152 -0
  162. stadiamaps-6.0.0/test/test_feature_properties_v2_properties.py +100 -0
  163. stadiamaps-6.0.0/test/test_foursquare_addendum.py +53 -0
  164. stadiamaps-6.0.0/test/test_geocode_response.py +90 -0
  165. stadiamaps-6.0.0/test/test_geocode_response_envelope_properties_v2.py +178 -0
  166. stadiamaps-6.0.0/test/test_geocoding_geo_json_feature.py +59 -0
  167. stadiamaps-6.0.0/test/test_geocoding_geo_json_properties.py +82 -0
  168. stadiamaps-6.0.0/test/test_geocoding_geo_json_properties_addendum.py +52 -0
  169. stadiamaps-6.0.0/test/test_geocoding_geo_json_properties_addendum_osm.py +55 -0
  170. stadiamaps-6.0.0/test/test_geocoding_layer.py +34 -0
  171. stadiamaps-6.0.0/test/test_geocoding_meta.py +54 -0
  172. stadiamaps-6.0.0/test/test_geocoding_source.py +34 -0
  173. stadiamaps-6.0.0/test/test_geonames_addendum.py +53 -0
  174. stadiamaps-6.0.0/test/test_layer_id.py +34 -0
  175. stadiamaps-6.0.0/test/test_match_type.py +34 -0
  176. stadiamaps-6.0.0/test/test_open_street_map_addendum.py +60 -0
  177. stadiamaps-6.0.0/test/test_pedestrian_type.py +34 -0
  178. stadiamaps-6.0.0/test/test_point.py +59 -0
  179. stadiamaps-6.0.0/test/test_precision.py +34 -0
  180. stadiamaps-6.0.0/test/test_properties_v2.py +100 -0
  181. stadiamaps-6.0.0/test/test_routing_languages.py +34 -0
  182. stadiamaps-6.0.0/test/test_routing_long_units.py +34 -0
  183. stadiamaps-6.0.0/test/test_source_attribution.py +56 -0
  184. stadiamaps-6.0.0/test/test_source_id.py +34 -0
  185. stadiamaps-6.0.0/test/test_whos_on_first_concordances.py +72 -0
  186. stadiamaps-6.0.0/test/test_wof_context.py +95 -0
  187. stadiamaps-6.0.0/test/test_wof_context_component.py +56 -0
  188. stadiamaps-4.0.0/PKG-INFO +0 -79
  189. stadiamaps-4.0.0/README.md +0 -196
  190. stadiamaps-4.0.0/setup.py +0 -109
  191. stadiamaps-4.0.0/stadiamaps/models/pelias_response_geocoding.py +0 -89
  192. stadiamaps-4.0.0/stadiamaps/models/route_response_trip.py +0 -117
  193. stadiamaps-4.0.0/stadiamaps/models/trace_attributes_response_all_of.py +0 -96
  194. stadiamaps-4.0.0/stadiamaps.egg-info/PKG-INFO +0 -79
  195. stadiamaps-4.0.0/stadiamaps.egg-info/requires.txt +0 -4
  196. stadiamaps-4.0.0/test/test_pelias_geo_json_feature.py +0 -60
  197. stadiamaps-4.0.0/test/test_pelias_geo_json_properties.py +0 -77
  198. stadiamaps-4.0.0/test/test_pelias_geo_json_properties_addendum.py +0 -55
  199. stadiamaps-4.0.0/test/test_pelias_geo_json_properties_addendum_osm.py +0 -58
  200. stadiamaps-4.0.0/test/test_pelias_layer.py +0 -37
  201. stadiamaps-4.0.0/test/test_pelias_response.py +0 -73
  202. stadiamaps-4.0.0/test/test_pelias_response_geocoding.py +0 -62
  203. stadiamaps-4.0.0/test/test_pelias_source.py +0 -37
  204. stadiamaps-4.0.0/test/test_route_response_trip.py +0 -206
  205. stadiamaps-4.0.0/test/test_trace_attributes_response_all_of.py +0 -151
  206. stadiamaps-4.0.0/test/test_valhalla_languages.py +0 -37
  207. stadiamaps-4.0.0/test/test_valhalla_long_units.py +0 -37
  208. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/LICENSE.txt +0 -0
  209. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/setup.cfg +0 -0
  210. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/api/__init__.py +0 -0
  211. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/api_response.py +0 -0
  212. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/auto_costing_options_all_of.py +0 -0
  213. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/bicycle_costing_options_all_of.py +0 -0
  214. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/bulk_search_request_inner.py +0 -0
  215. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/geo_json_line_string_all_of.py +0 -0
  216. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/geo_json_point_all_of.py +0 -0
  217. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/geo_json_polygon_all_of.py +0 -0
  218. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/locate_node_all_of.py +0 -0
  219. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/map_match_request_all_of.py +0 -0
  220. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/map_match_route_response_all_of.py +0 -0
  221. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/map_match_waypoint_all_of.py +0 -0
  222. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/motor_scooter_costing_options_all_of.py +0 -0
  223. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/motorcycle_costing_options_all_of.py +0 -0
  224. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/routing_response_waypoint_all_of.py +0 -0
  225. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/routing_waypoint_all_of.py +0 -0
  226. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/search_bulk_query.py +0 -0
  227. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/search_bulk_request.py +0 -0
  228. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/search_structured_bulk_query.py +0 -0
  229. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/simple_routing_waypoint_all_of.py +0 -0
  230. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/trace_attributes_request_all_of.py +0 -0
  231. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/trace_attributes_request_all_of_filters.py +0 -0
  232. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/models/truck_costing_options_all_of.py +0 -0
  233. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps/py.typed +0 -0
  234. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/stadiamaps.egg-info/dependency_links.txt +0 -0
  235. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/integration/__init__.py +0 -0
  236. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/integration/test_eu_endpoint.py +0 -0
  237. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/integration/test_geospatial.py +0 -0
  238. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/integration/test_routing.py +0 -0
  239. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_access.py +0 -0
  240. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_admin_region.py +0 -0
  241. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_administrative.py +0 -0
  242. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_annotation_filters.py +0 -0
  243. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_auto_costing_options.py +0 -0
  244. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_auto_costing_options_all_of.py +0 -0
  245. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_base_costing_options.py +0 -0
  246. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_base_trace_request.py +0 -0
  247. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_bicycle_costing_options.py +0 -0
  248. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_bicycle_costing_options_all_of.py +0 -0
  249. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_bike_network.py +0 -0
  250. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_bulk_request.py +0 -0
  251. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_bulk_request_query.py +0 -0
  252. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_bulk_search_request_inner.py +0 -0
  253. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_bulk_search_response.py +0 -0
  254. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_contour.py +0 -0
  255. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_coordinate.py +0 -0
  256. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_costing_model.py +0 -0
  257. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_costing_options.py +0 -0
  258. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_directions_options.py +0 -0
  259. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_distance_unit.py +0 -0
  260. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_edge_sign.py +0 -0
  261. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_edge_use.py +0 -0
  262. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_end_node.py +0 -0
  263. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_extended_directions_options.py +0 -0
  264. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_geo_attributes.py +0 -0
  265. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_geo_json_geometry.py +0 -0
  266. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_geo_json_geometry_base.py +0 -0
  267. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_geo_json_line_string.py +0 -0
  268. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_geo_json_line_string_all_of.py +0 -0
  269. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_geo_json_point.py +0 -0
  270. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_geo_json_point_all_of.py +0 -0
  271. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_geo_json_polygon.py +0 -0
  272. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_geo_json_polygon_all_of.py +0 -0
  273. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_geocoding_api.py +0 -0
  274. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_geocoding_object.py +0 -0
  275. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_geospatial_api.py +0 -0
  276. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_height_request.py +0 -0
  277. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_height_response.py +0 -0
  278. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_highway_classification.py +0 -0
  279. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_intersecting_edge.py +0 -0
  280. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_isochrone_costing_model.py +0 -0
  281. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_isochrone_feature.py +0 -0
  282. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_isochrone_properties.py +0 -0
  283. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_isochrone_request.py +0 -0
  284. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_isochrone_response.py +0 -0
  285. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_locate_detailed_edge.py +0 -0
  286. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_locate_edge.py +0 -0
  287. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_locate_edge_info.py +0 -0
  288. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_locate_node.py +0 -0
  289. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_locate_node_all_of.py +0 -0
  290. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_locate_object.py +0 -0
  291. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_low_speed_vehicle_costing_options.py +0 -0
  292. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_maneuver_sign.py +0 -0
  293. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_maneuver_sign_element.py +0 -0
  294. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_map_match_costing_model.py +0 -0
  295. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_map_match_request.py +0 -0
  296. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_map_match_request_all_of.py +0 -0
  297. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_map_match_route_response.py +0 -0
  298. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_map_match_route_response_all_of.py +0 -0
  299. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_map_match_trace_options.py +0 -0
  300. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_map_match_waypoint.py +0 -0
  301. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_map_match_waypoint_all_of.py +0 -0
  302. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_matched_point.py +0 -0
  303. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_matrix_costing_model.py +0 -0
  304. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_matrix_distance.py +0 -0
  305. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_matrix_request.py +0 -0
  306. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_matrix_response.py +0 -0
  307. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_matrix_waypoint.py +0 -0
  308. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_motor_scooter_costing_options.py +0 -0
  309. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_motor_scooter_costing_options_all_of.py +0 -0
  310. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_motorcycle_costing_options.py +0 -0
  311. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_motorcycle_costing_options_all_of.py +0 -0
  312. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_nearest_roads_request.py +0 -0
  313. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_node_id.py +0 -0
  314. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_node_type.py +0 -0
  315. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_optimized_route_request.py +0 -0
  316. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_osrm_admin.py +0 -0
  317. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_osrm_annotation.py +0 -0
  318. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_osrm_banner_component.py +0 -0
  319. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_osrm_banner_content.py +0 -0
  320. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_osrm_banner_instruction.py +0 -0
  321. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_osrm_base_api_response.py +0 -0
  322. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_osrm_guidance_modifier.py +0 -0
  323. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_osrm_intersection.py +0 -0
  324. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_osrm_lane.py +0 -0
  325. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_osrm_route.py +0 -0
  326. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_osrm_route_leg.py +0 -0
  327. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_osrm_route_response.py +0 -0
  328. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_osrm_route_step.py +0 -0
  329. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_osrm_speed_limit.py +0 -0
  330. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_osrm_step_maneuver.py +0 -0
  331. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_osrm_via_waypoint.py +0 -0
  332. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_osrm_voice_instruction.py +0 -0
  333. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_osrm_waypoint.py +0 -0
  334. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_pedestrian_costing_options.py +0 -0
  335. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_restrictions.py +0 -0
  336. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_road_class.py +0 -0
  337. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_route200_response.py +0 -0
  338. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_route_leg.py +0 -0
  339. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_route_maneuver.py +0 -0
  340. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_route_request.py +0 -0
  341. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_route_response.py +0 -0
  342. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_route_response_alternates_inner.py +0 -0
  343. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_route_summary.py +0 -0
  344. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_route_trip.py +0 -0
  345. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_routing_api.py +0 -0
  346. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_routing_response_waypoint.py +0 -0
  347. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_routing_response_waypoint_all_of.py +0 -0
  348. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_routing_waypoint.py +0 -0
  349. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_routing_waypoint_all_of.py +0 -0
  350. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_routing_waypoint_all_of_search_filter.py +0 -0
  351. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_search_bulk_query.py +0 -0
  352. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_search_bulk_request.py +0 -0
  353. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_search_query.py +0 -0
  354. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_search_structured_bulk_query.py +0 -0
  355. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_search_structured_query.py +0 -0
  356. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_simple_routing_waypoint.py +0 -0
  357. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_simple_routing_waypoint_all_of.py +0 -0
  358. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_speeds.py +0 -0
  359. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_trace_attribute_filter_options.py +0 -0
  360. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_trace_attribute_key.py +0 -0
  361. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_trace_attributes_base_response.py +0 -0
  362. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_trace_attributes_request.py +0 -0
  363. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_trace_attributes_request_all_of.py +0 -0
  364. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_trace_attributes_request_all_of_filters.py +0 -0
  365. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_trace_attributes_response.py +0 -0
  366. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_trace_edge.py +0 -0
  367. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_travel_mode.py +0 -0
  368. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_traversability.py +0 -0
  369. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_truck_costing_options.py +0 -0
  370. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_truck_costing_options_all_of.py +0 -0
  371. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_tz_response.py +0 -0
  372. {stadiamaps-4.0.0 → stadiamaps-6.0.0}/test/test_warning.py +0 -0
@@ -0,0 +1,117 @@
1
+ Metadata-Version: 2.4
2
+ Name: stadiamaps
3
+ Version: 6.0.0
4
+ Summary: Stadia Maps Geospatial APIs
5
+ Author-email: Stadia Maps Support <support@stadiamaps.com>
6
+ License-Expression: BSD-3-Clause
7
+ Project-URL: homepage, https://stadiamaps.com
8
+ Project-URL: documentation, https://docs.stadiamaps.com/sdks/python/
9
+ Project-URL: source, https://github.com/stadiamaps/stadiamaps-api-py
10
+ Requires-Python: >=3.8
11
+ Description-Content-Type: text/markdown
12
+ License-File: LICENSE.txt
13
+ Requires-Dist: urllib3<3.0.0,>=1.25.3
14
+ Requires-Dist: python-dateutil>=2.8.2
15
+ Requires-Dist: pydantic>=2
16
+ Requires-Dist: typing-extensions>=4.7.1
17
+ Dynamic: license-file
18
+
19
+ # Stadia Maps Python API Client
20
+
21
+ The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications.
22
+
23
+ For more information about the API, please visit [https://docs.stadiamaps.com](https://docs.stadiamaps.com)
24
+
25
+ ## Requirements.
26
+
27
+ Python 3.8+
28
+
29
+ ## Installation & Usage
30
+
31
+ You can install via your favorite package manager.
32
+ For example:
33
+
34
+ ### pip
35
+
36
+ ```shell
37
+ pip install stadiamaps
38
+ ```
39
+
40
+ ### poetry
41
+
42
+ ```shell
43
+ poetry add stadiamaps
44
+ ```
45
+
46
+ ### Tests
47
+
48
+ Execute `pytest` to run the tests. These are run automatically via CI.
49
+
50
+ ## Getting Started
51
+
52
+ After following the [installation procedure](#installation--usage), you'll need a Stadia Maps API key.
53
+
54
+ You can create an API key for free
55
+ [here](https://client.stadiamaps.com/signup/?utm_source=github&utm_campaign=sdk_readme&utm_content=python_readme)
56
+ (no credit card required).
57
+
58
+ ```python
59
+ import os
60
+ import stadiamaps
61
+ from stadiamaps.rest import ApiException
62
+ from pprint import pprint
63
+
64
+ # Defining the host is optional and defaults to https://api.stadiamaps.com
65
+ # You can also use our EU endpoint to keep traffic within the EU like so:
66
+ # configuration = stadiamaps.Configuration(host="https://api-eu.stadiamaps.com")
67
+ # See configuration.py for a list of all supported configuration parameters.
68
+ configuration = stadiamaps.Configuration()
69
+
70
+ # Configure API key authorization. This example assumes it is injected via an environment
71
+ # variable.
72
+ configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]
73
+
74
+ # Enter a context with an instance of the API client
75
+ with stadiamaps.ApiClient(configuration) as api_client:
76
+ # Create an instance of the API class
77
+ api_instance = stadiamaps.GeocodingApi(api_client)
78
+ text = "Kursi 3" # str | The place name (address, venue name, etc.) to search for.
79
+
80
+ try:
81
+ # Search and geocode quickly based on partial input.
82
+ api_response = api_instance.autocomplete_v2(text)
83
+ print("The response of GeocodingApi->autocomplete:\n")
84
+ pprint(api_response)
85
+ except ApiException as e:
86
+ print("Exception when calling GeocodingApi->autocomplete_v2: %s\n" % e)
87
+ ```
88
+
89
+ ## Documentation
90
+
91
+ Official documentation lives at [docs.stadiamaps.com](https://docs.stadiamaps.com/?utm_source=github&utm_campaign=sdk_readme&utm_content=python_readme),
92
+ where we have both long-form prose explanations of each endpoint and an interactive [API reference](https://docs.stadiamaps.com/api-reference/?utm_source=github&utm_campaign=sdk_readme&utm_content=python_readme).
93
+
94
+ You can also find auto-generated class references below.
95
+
96
+ ### API Endpoints
97
+
98
+ All URIs are relative to *https://api.stadiamaps.com*
99
+
100
+ Class | Method | HTTP request | Description
101
+ ------------ |---------------------------------------------------------------------|-----------------------------------------| -------------
102
+ *GeocodingApi* | [**autocomplete**](docs/GeocodingApi.md#autocomplete) | **GET** /geocoding/v1/autocomplete | Search and geocode quickly based on partial input.
103
+ *GeocodingApi* | [**place**](docs/GeocodingApi.md#place) | **GET** /geocoding/v1/place | Retrieve details of a place using its GID.
104
+ *GeocodingApi* | [**reverse**](docs/GeocodingApi.md#reverse) | **GET** /geocoding/v1/reverse | Find places and addresses near geographic coordinates (reverse geocoding).
105
+ *GeocodingApi* | [**search**](docs/GeocodingApi.md#search) | **GET** /geocoding/v1/search | Search for location and other info using a place name or address (forward geocoding).
106
+ *GeocodingApi* | [**search_structured**](docs/GeocodingApi.md#search_structured) | **GET** /geocoding/v1/search/structured | Find locations matching components (structured forward geocoding).
107
+ *GeocodingApi* | [**search_bulk**](docs/GeocodingApi.md#search_bulk) | **GET** /geocoding/v1/search/bulk | Bulk geocoding.
108
+ *GeospatialApi* | [**elevation**](docs/GeospatialApi.md#elevation) | **POST** /elevation/v1 | Get the elevation profile along a polyline or at a point.
109
+ *GeospatialApi* | [**tz_lookup**](docs/GeospatialApi.md#tz_lookup) | **GET** /tz/lookup/v1 | Get the current time zone information for any point on earth.
110
+ *RoutingApi* | [**isochrone**](docs/RoutingApi.md#isochrone) | **POST** /isochrone/v1 | Calculate areas of equal travel time from a location.
111
+ *RoutingApi* | [**map_match**](docs/RoutingApi.md#map_match) | **POST** /map_match/v1 | Match a recorded route to the road network.
112
+ *RoutingApi* | [**nearest_roads**](docs/RoutingApi.md#nearest_roads) | **POST** /nearest_roads/v1 | Find the nearest roads to the set of input locations.
113
+ *RoutingApi* | [**optimized_route**](docs/RoutingApi.md#optimized_route) | **POST** /optimized_route/v1 | Calculate an optimized route between a known start and end point.
114
+ *RoutingApi* | [**route**](docs/RoutingApi.md#route) | **POST** /route/v1 | Get turn by turn routing instructions between two or more locations.
115
+ *RoutingApi* | [**time_distance_matrix**](docs/RoutingApi.md#time_distance_matrix) | **POST** /matrix/v1 | Calculate a time distance matrix for use in an optimizer.
116
+ *RoutingApi* | [**trace_attributes**](docs/RoutingApi.md#trace_attributes) | **POST** /trace_attributes/v1 | Trace the attributes of roads visited on a route.
117
+
@@ -0,0 +1,99 @@
1
+ # Stadia Maps Python API Client
2
+
3
+ The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications.
4
+
5
+ For more information about the API, please visit [https://docs.stadiamaps.com](https://docs.stadiamaps.com)
6
+
7
+ ## Requirements.
8
+
9
+ Python 3.8+
10
+
11
+ ## Installation & Usage
12
+
13
+ You can install via your favorite package manager.
14
+ For example:
15
+
16
+ ### pip
17
+
18
+ ```shell
19
+ pip install stadiamaps
20
+ ```
21
+
22
+ ### poetry
23
+
24
+ ```shell
25
+ poetry add stadiamaps
26
+ ```
27
+
28
+ ### Tests
29
+
30
+ Execute `pytest` to run the tests. These are run automatically via CI.
31
+
32
+ ## Getting Started
33
+
34
+ After following the [installation procedure](#installation--usage), you'll need a Stadia Maps API key.
35
+
36
+ You can create an API key for free
37
+ [here](https://client.stadiamaps.com/signup/?utm_source=github&utm_campaign=sdk_readme&utm_content=python_readme)
38
+ (no credit card required).
39
+
40
+ ```python
41
+ import os
42
+ import stadiamaps
43
+ from stadiamaps.rest import ApiException
44
+ from pprint import pprint
45
+
46
+ # Defining the host is optional and defaults to https://api.stadiamaps.com
47
+ # You can also use our EU endpoint to keep traffic within the EU like so:
48
+ # configuration = stadiamaps.Configuration(host="https://api-eu.stadiamaps.com")
49
+ # See configuration.py for a list of all supported configuration parameters.
50
+ configuration = stadiamaps.Configuration()
51
+
52
+ # Configure API key authorization. This example assumes it is injected via an environment
53
+ # variable.
54
+ configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]
55
+
56
+ # Enter a context with an instance of the API client
57
+ with stadiamaps.ApiClient(configuration) as api_client:
58
+ # Create an instance of the API class
59
+ api_instance = stadiamaps.GeocodingApi(api_client)
60
+ text = "Kursi 3" # str | The place name (address, venue name, etc.) to search for.
61
+
62
+ try:
63
+ # Search and geocode quickly based on partial input.
64
+ api_response = api_instance.autocomplete_v2(text)
65
+ print("The response of GeocodingApi->autocomplete:\n")
66
+ pprint(api_response)
67
+ except ApiException as e:
68
+ print("Exception when calling GeocodingApi->autocomplete_v2: %s\n" % e)
69
+ ```
70
+
71
+ ## Documentation
72
+
73
+ Official documentation lives at [docs.stadiamaps.com](https://docs.stadiamaps.com/?utm_source=github&utm_campaign=sdk_readme&utm_content=python_readme),
74
+ where we have both long-form prose explanations of each endpoint and an interactive [API reference](https://docs.stadiamaps.com/api-reference/?utm_source=github&utm_campaign=sdk_readme&utm_content=python_readme).
75
+
76
+ You can also find auto-generated class references below.
77
+
78
+ ### API Endpoints
79
+
80
+ All URIs are relative to *https://api.stadiamaps.com*
81
+
82
+ Class | Method | HTTP request | Description
83
+ ------------ |---------------------------------------------------------------------|-----------------------------------------| -------------
84
+ *GeocodingApi* | [**autocomplete**](docs/GeocodingApi.md#autocomplete) | **GET** /geocoding/v1/autocomplete | Search and geocode quickly based on partial input.
85
+ *GeocodingApi* | [**place**](docs/GeocodingApi.md#place) | **GET** /geocoding/v1/place | Retrieve details of a place using its GID.
86
+ *GeocodingApi* | [**reverse**](docs/GeocodingApi.md#reverse) | **GET** /geocoding/v1/reverse | Find places and addresses near geographic coordinates (reverse geocoding).
87
+ *GeocodingApi* | [**search**](docs/GeocodingApi.md#search) | **GET** /geocoding/v1/search | Search for location and other info using a place name or address (forward geocoding).
88
+ *GeocodingApi* | [**search_structured**](docs/GeocodingApi.md#search_structured) | **GET** /geocoding/v1/search/structured | Find locations matching components (structured forward geocoding).
89
+ *GeocodingApi* | [**search_bulk**](docs/GeocodingApi.md#search_bulk) | **GET** /geocoding/v1/search/bulk | Bulk geocoding.
90
+ *GeospatialApi* | [**elevation**](docs/GeospatialApi.md#elevation) | **POST** /elevation/v1 | Get the elevation profile along a polyline or at a point.
91
+ *GeospatialApi* | [**tz_lookup**](docs/GeospatialApi.md#tz_lookup) | **GET** /tz/lookup/v1 | Get the current time zone information for any point on earth.
92
+ *RoutingApi* | [**isochrone**](docs/RoutingApi.md#isochrone) | **POST** /isochrone/v1 | Calculate areas of equal travel time from a location.
93
+ *RoutingApi* | [**map_match**](docs/RoutingApi.md#map_match) | **POST** /map_match/v1 | Match a recorded route to the road network.
94
+ *RoutingApi* | [**nearest_roads**](docs/RoutingApi.md#nearest_roads) | **POST** /nearest_roads/v1 | Find the nearest roads to the set of input locations.
95
+ *RoutingApi* | [**optimized_route**](docs/RoutingApi.md#optimized_route) | **POST** /optimized_route/v1 | Calculate an optimized route between a known start and end point.
96
+ *RoutingApi* | [**route**](docs/RoutingApi.md#route) | **POST** /route/v1 | Get turn by turn routing instructions between two or more locations.
97
+ *RoutingApi* | [**time_distance_matrix**](docs/RoutingApi.md#time_distance_matrix) | **POST** /matrix/v1 | Calculate a time distance matrix for use in an optimizer.
98
+ *RoutingApi* | [**trace_attributes**](docs/RoutingApi.md#trace_attributes) | **POST** /trace_attributes/v1 | Trace the attributes of roads visited on a route.
99
+
@@ -1,28 +1,40 @@
1
- [tool.poetry]
1
+ [project]
2
2
  name = "stadiamaps"
3
- version = "4.0.0"
3
+ version = "6.0.0"
4
4
  description = "Stadia Maps Geospatial APIs"
5
- authors = ["Stadia Maps Support <support@stadiamaps.com>"]
5
+ authors = [
6
+ { name = "Stadia Maps Support", email = "support@stadiamaps.com" }
7
+ ]
6
8
  license = "BSD-3-Clause"
7
9
  readme = "README.md"
8
- repository = "https://github.com/stadiamaps/stadiamaps-api-py"
9
- keywords = ["OpenAPI", "OpenAPI-Generator", "Stadia Maps Geospatial APIs"]
10
- include = ["stadiamaps/py.typed"]
10
+ requires-python = ">=3.8"
11
+ dependencies = [
12
+ "urllib3>=1.25.3,<3.0.0",
13
+ "python-dateutil>=2.8.2",
14
+ "pydantic>=2",
15
+ "typing-extensions>=4.7.1"
16
+ ]
17
+
18
+ [project.urls]
19
+ homepage = "https://stadiamaps.com"
20
+ documentation = "https://docs.stadiamaps.com/sdks/python/"
21
+ source = "https://github.com/stadiamaps/stadiamaps-api-py"
11
22
 
12
23
  [tool.poetry.dependencies]
13
- python = "^3.7"
24
+ python = "^3.8"
14
25
 
15
- urllib3 = ">= 1.25.3"
16
- python-dateutil = ">=2.8.2"
17
- pydantic = ">=2"
18
- typing-extensions = ">=4.7.1"
26
+ urllib3 = ">= 1.25.3, < 3.0.0"
27
+ python-dateutil = ">= 2.8.2"
28
+ pydantic = ">= 2"
29
+ typing-extensions = ">= 4.7.1"
19
30
 
20
31
  [tool.poetry.dev-dependencies]
21
- pytest = ">=7.2.1"
22
- tox = ">=3.9.0"
23
- flake8 = ">=4.0.0"
24
- types-python-dateutil = ">=2.8.19.14"
25
- mypy = "1.4.1"
32
+ pytest = ">= 7.2.1"
33
+ pytest-cov = ">= 2.8.1"
34
+ tox = ">= 3.9.0"
35
+ flake8 = ">= 4.0.0"
36
+ types-python-dateutil = ">= 2.8.19.14"
37
+ mypy = ">= 1.5"
26
38
 
27
39
 
28
40
  [build-system]
@@ -48,7 +60,7 @@ warn_unused_ignores = true
48
60
 
49
61
  ## Getting these passing should be easy
50
62
  strict_equality = true
51
- strict_concatenate = true
63
+ extra_checks = true
52
64
 
53
65
  ## Strongly recommend enabling this one as soon as you can
54
66
  check_untyped_defs = true
@@ -69,3 +81,26 @@ disallow_any_generics = true
69
81
  #
70
82
  ### This one can be tricky to get passing if you use a lot of untyped libraries
71
83
  #warn_return_any = true
84
+
85
+ [[tool.mypy.overrides]]
86
+ module = [
87
+ "stadiamaps.configuration",
88
+ ]
89
+ warn_unused_ignores = true
90
+ strict_equality = true
91
+ extra_checks = true
92
+ check_untyped_defs = true
93
+ disallow_subclassing_any = true
94
+ disallow_untyped_decorators = true
95
+ disallow_any_generics = true
96
+ disallow_untyped_calls = true
97
+ disallow_incomplete_defs = true
98
+ disallow_untyped_defs = true
99
+ no_implicit_reexport = true
100
+ warn_return_any = true
101
+
102
+ [tool.setuptools.packages.find]
103
+ exclude = ["tests", "test"]
104
+
105
+ [tool.setuptools.package-data]
106
+ stadiamaps = ["py.typed"]
@@ -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: 7.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__ = "4.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,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.geo_json_polygon import GeoJSONPolygon
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.pelias_geo_json_feature import PeliasGeoJSONFeature
120
- from stadiamaps.models.pelias_geo_json_properties import PeliasGeoJSONProperties
121
- from stadiamaps.models.pelias_geo_json_properties_addendum import PeliasGeoJSONPropertiesAddendum
122
- from stadiamaps.models.pelias_geo_json_properties_addendum_osm import PeliasGeoJSONPropertiesAddendumOsm
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