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
@@ -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,183 @@
|
|
1
|
+
stadiamaps/__init__.py,sha256=u4vmo2tHZ2fOp9cqmBFnTQX6xvIPRQXQaAbQBdq15h8,10019
|
2
|
+
stadiamaps/api_client.py,sha256=dpCQsqdtJBc0rHI0-s-tVBuka1GKF-DrWa3xA3vJYn8,27497
|
3
|
+
stadiamaps/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
4
|
+
stadiamaps/configuration.py,sha256=WDBV2BSzUqOVYqv7QutWqkq8lN3ni2XSiWt1AMWo5o4,18725
|
5
|
+
stadiamaps/exceptions.py,sha256=pjd1zRl4_1aLSXViLgBkoveAC8vBi6IWcNS4mofhdEc,6518
|
6
|
+
stadiamaps/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
7
|
+
stadiamaps/rest.py,sha256=uGq7VYMQXnWOApkZjA1pmK3j03rY1u3ncAWjz9UuuHc,9455
|
8
|
+
stadiamaps/api/__init__.py,sha256=NRdfWLDRL2TYgITiS6K4OX8lmmVVmf9-_yyMe2_6hTs,208
|
9
|
+
stadiamaps/api/geocoding_api.py,sha256=Enm87zpv1HHnbtyW08uAeLNq8qzo3z03fKS8qYYUY9g,211530
|
10
|
+
stadiamaps/api/geospatial_api.py,sha256=s34k5BY3VIXyCV9q0TaOzrrF_iidnrnwO02p4OAzsFg,29585
|
11
|
+
stadiamaps/api/routing_api.py,sha256=9273P02EF9uOYTb4n0yRo5Yh7EWRLq7KSf5cBDD5oJE,81120
|
12
|
+
stadiamaps/models/__init__.py,sha256=3kMFsGgmRnVc-q__KKNKN8yCCjfcKwcH2XzqIOeQBkM,9351
|
13
|
+
stadiamaps/models/access.py,sha256=Zk3gDlPTZUWe_t3zL8mL6hiDeB6h1mRSIEvHxBhP520,4179
|
14
|
+
stadiamaps/models/addendum_v2.py,sha256=W1VBSyU34KKC8yfN4HWA__ftCSZ35ssfy9IECKsBKE4,5813
|
15
|
+
stadiamaps/models/address_components_v2.py,sha256=FVUYAa288qT5WXcr6NNg2nqyDjbeFDX0llpiYUWLk18,5111
|
16
|
+
stadiamaps/models/admin_region.py,sha256=yxMxF2A7i0nYAjPQ5hRdTem0UiWRoag9iGy4Mx2RXYs,3793
|
17
|
+
stadiamaps/models/administrative.py,sha256=LuzYKV3zwtuxEbr1XPz0gVJ7J6y9tssmVg85D1PbiXo,3842
|
18
|
+
stadiamaps/models/annotation_filters.py,sha256=jgi8xm0Y-9CTZjx9ajmy5GfjKAPxvYhZSHAzyAj6jvE,4314
|
19
|
+
stadiamaps/models/auto_costing_options.py,sha256=KT-0oWnKiLZRch4ietinBTnjy4GBs5V0MndzBaTalMM,12767
|
20
|
+
stadiamaps/models/auto_costing_options_all_of.py,sha256=JSiFHNEljR4if13lP3jeJc8ny_gSfVzyQZErdt6LaBM,7083
|
21
|
+
stadiamaps/models/base_costing_options.py,sha256=5zcnzV5Dn8Fv3VZX4_EQFZoCzYN1HzXo5cCI2-80MHI,7721
|
22
|
+
stadiamaps/models/base_trace_request.py,sha256=Px9cCBKjA26aqO07kUfEjvUz8hoPUFI3xBhdE8GRQZ4,7258
|
23
|
+
stadiamaps/models/bicycle_costing_options.py,sha256=u79BoAiTz8ZoyIc7pNwdf2Y2-2VOnC3Ngh4R18eWGu4,11693
|
24
|
+
stadiamaps/models/bicycle_costing_options_all_of.py,sha256=AhDT4CYE3wRA0j1EXvBiK_Bevw2mN-WQA4AnAb7uM5A,5904
|
25
|
+
stadiamaps/models/bike_network.py,sha256=NhOmRD2xbjIIoDF4awCrzjWcKH8MeHBU7_PEiFX8G8k,3432
|
26
|
+
stadiamaps/models/bulk_request.py,sha256=6oa7TeujCHTk0Sv9fReU2LxHrIxO48yNSM6cj9-yVTA,3897
|
27
|
+
stadiamaps/models/bulk_request_query.py,sha256=QiPQvCo1XtbOowwwQIrPbikLFbQHDCQIidyuXVt9jXE,5439
|
28
|
+
stadiamaps/models/bulk_search_request_inner.py,sha256=nKDAb78ku8Vw-BWL0JRlYHcAYXWfaa-Q4qNwpYwk9w4,5686
|
29
|
+
stadiamaps/models/bulk_search_response.py,sha256=FpjQakXK0Z7P_45fd9JtLd5ANVogWV8mmjFVYM7bNXs,3750
|
30
|
+
stadiamaps/models/context.py,sha256=Dr2IXSRszVmC9NPm08p2A7s0oraK0d7v_2hD8D2STfw,4751
|
31
|
+
stadiamaps/models/contour.py,sha256=AV7vFivUeE4iHh5goBHj4LsRm48czxQyyUhVSLRKgLQ,3744
|
32
|
+
stadiamaps/models/coordinate.py,sha256=NXG28vHmLNFI1hMW7RjeakSlfbLN-f9E6l4Y960n4cY,3525
|
33
|
+
stadiamaps/models/costing_model.py,sha256=wukMoHCZD2N3UlEwQRrRFc0oA-LF2CPDYyXswWCxCGE,1332
|
34
|
+
stadiamaps/models/costing_options.py,sha256=YqRKsW0r0jTp3P5V249814FhoZpxKWVSq-OwxiQBAYo,6813
|
35
|
+
stadiamaps/models/directions_options.py,sha256=VZT6S2iB6b7s3A-5m_6TRHFo5QPTTDnTMKizEr8Lh60,4325
|
36
|
+
stadiamaps/models/distance_unit.py,sha256=8Oc7nMZmnEWNdm4ifHEZTqEXxBKiVQSMrH4THSATK5o,780
|
37
|
+
stadiamaps/models/edge_sign.py,sha256=5CidPvE6tt4IYxw__DLd4CtykviuWT1htqLf5QSomQY,3491
|
38
|
+
stadiamaps/models/edge_use.py,sha256=Tlk5BHlCFvQHWxMVo37uM_MJHtFBb_f-5_P51-GWc4E,1663
|
39
|
+
stadiamaps/models/end_node.py,sha256=Gezh2e3pbONtjmwwpoBVy_F1asPOq6_gp7wmcfFojZc,4775
|
40
|
+
stadiamaps/models/extended_directions_options.py,sha256=jGwY2LM1Lm6igC_juZN827M4zfUsvCD8IDw1F1lQ9b0,4887
|
41
|
+
stadiamaps/models/feature_properties_v2.py,sha256=bzuv8Y1Fol2xfT8aWaT8oYzOxLk579poYqORrxZcyZs,4633
|
42
|
+
stadiamaps/models/feature_properties_v2_properties.py,sha256=yqYtd1nKCkT4DhnL9q9WesjqPejSjt8CdtsDVCkUbHk,9382
|
43
|
+
stadiamaps/models/foursquare_addendum.py,sha256=VP4gv6gGoHfRRWDtNeJi4bLQQkhOW9UfNnavcUzabyo,3653
|
44
|
+
stadiamaps/models/geo_attributes.py,sha256=Y3Yo0DEyLSKAqfIsuyKtkF6GdXNDo0K-HELlYqhQoM0,4213
|
45
|
+
stadiamaps/models/geo_json_geometry.py,sha256=j6ctj76suKXnK1-5qo8Z8C2Mt9mp-XyB07TjOdvQuOc,6201
|
46
|
+
stadiamaps/models/geo_json_geometry_base.py,sha256=65c3qlgDxllsSttVXDYO0aIUVytGZDMFrAWH230vzLk,3532
|
47
|
+
stadiamaps/models/geo_json_line_string.py,sha256=cDKOwvATlQ7-CHLqpiW3-B6MHwpKhIS2G0uYLpyRq0k,3773
|
48
|
+
stadiamaps/models/geo_json_line_string_all_of.py,sha256=_vHsj7n-c1QEAoL9M8MAWj7Q1wv4AtqpG0lXHluRYzA,2663
|
49
|
+
stadiamaps/models/geo_json_point.py,sha256=cswQ_PmdGHn8LPAe0hxpMEpe46WVanzQh7Je9_sEoLw,3747
|
50
|
+
stadiamaps/models/geo_json_point_all_of.py,sha256=Md1qYy2GAtnsy_8IwXrYXlNc5e_RBAfjTSBKzrrDUn8,2614
|
51
|
+
stadiamaps/models/geo_json_polygon.py,sha256=ktzcWX9KDmSH9Mi31GToDvlmHTExmPl7EPajt7TSkak,3767
|
52
|
+
stadiamaps/models/geo_json_polygon_all_of.py,sha256=lOsNbT0B-2d_wJTwOIQt7gny_aldHzT9cMC5XoIETtE,2648
|
53
|
+
stadiamaps/models/geocode_response.py,sha256=FKof983eTxtVuMlc1a9TKcytIIADZ13H09itKRZ-XPU,4424
|
54
|
+
stadiamaps/models/geocode_response_envelope_properties_v2.py,sha256=2G_oFYTWUywpszZMvC1cG3YC1kEg5prClD2c4pxb1XQ,5030
|
55
|
+
stadiamaps/models/geocoding_geo_json_feature.py,sha256=5Rkv6KquwyhjNPKOUM79P42ZConMS2BK-RCnFkqFM-0,4619
|
56
|
+
stadiamaps/models/geocoding_geo_json_properties.py,sha256=4DfpXZHu9rhGcDbz-8gWjTjkLN9R4SvbtyCrLCXDWqU,10614
|
57
|
+
stadiamaps/models/geocoding_geo_json_properties_addendum.py,sha256=-BDbuVOVijGFiostIispEx5LvDS-KEvE52bEKNsfliA,3735
|
58
|
+
stadiamaps/models/geocoding_geo_json_properties_addendum_osm.py,sha256=KO3LCuA7cjVWyNvIZwYd915TKrBIcUFRBdFemgKDFL4,3531
|
59
|
+
stadiamaps/models/geocoding_layer.py,sha256=C1OhYUWD1lwAB43zE0kA-M_uuX3vA47rEnUybEAwLa0,2528
|
60
|
+
stadiamaps/models/geocoding_meta.py,sha256=yuFW_vDvbdnG0ypRd7YgaInOPRllL_IJHvKnOQOMHXY,3523
|
61
|
+
stadiamaps/models/geocoding_object.py,sha256=qv1aKZVfe7RMK9tGrLP_V-uv_9WMo-7RFE9yBnEL5IU,4217
|
62
|
+
stadiamaps/models/geocoding_source.py,sha256=kK4-1074Gicp7G-4ox2woOi_bmyojcGCRS27IT8PP70,1059
|
63
|
+
stadiamaps/models/geonames_addendum.py,sha256=7C4WWuwWxDVt69SE4IpuOfUUDGpPdvjLv45sotbuSlc,3239
|
64
|
+
stadiamaps/models/height_request.py,sha256=2Y5Hma5HlEFjn4kP_IxdBfdobgMEcMpb0S4f_eO58gk,5968
|
65
|
+
stadiamaps/models/height_response.py,sha256=1c6gk3NppRdJCrPHh0o0o_eemuYNBfNc41WyjcPl7rw,5110
|
66
|
+
stadiamaps/models/highway_classification.py,sha256=MO4qSV3RSTd9Gq0_1Ta7nrwCotgpZpriqEmtydaIml4,6219
|
67
|
+
stadiamaps/models/intersecting_edge.py,sha256=P0qzm3hNAwq105SW6NjVrWDRkFscz-ksReW6ANXcO8I,4608
|
68
|
+
stadiamaps/models/isochrone_costing_model.py,sha256=omVNOE-nXSvI75MwgpMME1xCH-FET-tY5h5g4tVvoAE,1043
|
69
|
+
stadiamaps/models/isochrone_feature.py,sha256=LWG1fP7scMN5YLzCj8z-ZKrCNDhqV4SvajatxIMmDrU,3996
|
70
|
+
stadiamaps/models/isochrone_properties.py,sha256=hJZoZTgzoyxXpj3RVYpmyvIXAl0VBmeSxiMzg3JvSPs,4235
|
71
|
+
stadiamaps/models/isochrone_request.py,sha256=1rMwr5jnQv0vBMdNVwfrbWHalfYUCgNDJfj9G3TZTVk,6758
|
72
|
+
stadiamaps/models/isochrone_response.py,sha256=OEo3SJFCrb-XTwRGeL_SUCriFWI2G7THdFt8ICTzK9g,4069
|
73
|
+
stadiamaps/models/layer_id.py,sha256=EseaIdAy5sKsY-RRhhyfLZjFMVrVuGwZ4jvn29TUdPM,1319
|
74
|
+
stadiamaps/models/locate_detailed_edge.py,sha256=fhxMfp2sFHGlxvFbzlKUKZko0ZrZmgJbYhQsD3LX_JQ,10839
|
75
|
+
stadiamaps/models/locate_edge.py,sha256=HAY0qkUCiOHDroWeeWkFhQkv0oKnn-Yb2o4n0MVjYRg,6553
|
76
|
+
stadiamaps/models/locate_edge_info.py,sha256=599yjUDYOjRsbZsl_EfJMF_8M1ImpnG8ElOcR6JU0_c,4350
|
77
|
+
stadiamaps/models/locate_node.py,sha256=Idwu4bd5yzUw6tyuWFGt3xSz_YzDYjvellMLjx5DtE4,5948
|
78
|
+
stadiamaps/models/locate_node_all_of.py,sha256=CIpyV5ssH034gmC-fHlshAOZkolUy7LYejgHLqHeMyI,4800
|
79
|
+
stadiamaps/models/locate_object.py,sha256=GwbY7vXAogAsgqwsBz_ftqL9XIWF1y7UNeB4bP_HTrA,5113
|
80
|
+
stadiamaps/models/low_speed_vehicle_costing_options.py,sha256=6U9tYJp7jkaSIsfrjprnhAZEV6iYDfYbKuGTXDvJuoM,9820
|
81
|
+
stadiamaps/models/maneuver_sign.py,sha256=UNUFF7yvGTGrrAd4l5M-Qrrv2AOWrx2YR6GgGN46hfg,6388
|
82
|
+
stadiamaps/models/maneuver_sign_element.py,sha256=w0gy3QMstPq2MJCq9wbq4ISHV_N9Vi5gfF4Iu7HW5ZM,3711
|
83
|
+
stadiamaps/models/map_match_costing_model.py,sha256=tajnx6WfWKfC6cqcP7cQsAquXDQp2CCjeMmwSeqvVnw,1040
|
84
|
+
stadiamaps/models/map_match_request.py,sha256=ykIIr3u2rLOuktc92_uwl9IhVHN9ODivtFyZQESFMSo,11771
|
85
|
+
stadiamaps/models/map_match_request_all_of.py,sha256=4I-A8Lvt59Gu-xMvfsHIe-GcCfO_qLab6uCKAXqTasM,4291
|
86
|
+
stadiamaps/models/map_match_route_response.py,sha256=mD--aYDh8iykw7NQZLXC6Iqh5Junivd58ro_MhxlayE,4404
|
87
|
+
stadiamaps/models/map_match_route_response_all_of.py,sha256=WOWvtLLp801qQM4aJoKR-MTuL6e1nJ3C7FrTRPJ4gxI,2649
|
88
|
+
stadiamaps/models/map_match_trace_options.py,sha256=xSwOd59t79CuSmtGcbnVlnoaiq7wj0EEmFCPPA_omv0,4609
|
89
|
+
stadiamaps/models/map_match_waypoint.py,sha256=17Apt898SwI4BZHMMal1vpHWfkNS6MLNuPE0DFolxwI,4810
|
90
|
+
stadiamaps/models/map_match_waypoint_all_of.py,sha256=wLt5dB0JfKtZOqRcNoFZod2k-EJ3OcBGh_nhTjFA2gk,2793
|
91
|
+
stadiamaps/models/match_type.py,sha256=_QaJcDVCU1IfTzh-sCzy0rW0sJJ1Fx72cOxzZXl_rZk,823
|
92
|
+
stadiamaps/models/matched_point.py,sha256=biiCJZw2mSfq-CMfdhpk-o0Dj-SWVZYWa6tGH7edsgg,5417
|
93
|
+
stadiamaps/models/matrix_costing_model.py,sha256=10xVdhaQ_Pi8jssFJLACTGQRIsYO-xTRkhW3NTPC9dA,1034
|
94
|
+
stadiamaps/models/matrix_distance.py,sha256=5hRZlNh2AwN2FJMWPxGvH3NIUz-JbVC5kM2TRPefcAc,4571
|
95
|
+
stadiamaps/models/matrix_request.py,sha256=TUX8L07RnLhx1-OWV28tIOOgafBS7KRvRGPc99OJzWE,6858
|
96
|
+
stadiamaps/models/matrix_response.py,sha256=Jnly5r6QJmTaQ0d8JwVG1kVMZYpOzglfVQ0OWjpYPrA,6854
|
97
|
+
stadiamaps/models/matrix_waypoint.py,sha256=twRwC58NHUFodvST2wbwNwGoSH1UKEgLb0CMOk5Kcl4,3878
|
98
|
+
stadiamaps/models/motor_scooter_costing_options.py,sha256=zzZaH-7CHabkYpFF6Eow8kIiWsYwvFJfVo5aQp4j0fU,13848
|
99
|
+
stadiamaps/models/motor_scooter_costing_options_all_of.py,sha256=3XuHRpUB_VvAro0XZwCbq1ExJbEMnB5cm6iagIruuP4,3525
|
100
|
+
stadiamaps/models/motorcycle_costing_options.py,sha256=tYPUV85_7nEZCfqUYsG43obbL6GK_zKnKSQp_c8fxek,13304
|
101
|
+
stadiamaps/models/motorcycle_costing_options_all_of.py,sha256=NJQD3ez643xF0r9Dmix88gGrPLzrbgJNBPz9il6G9HM,3479
|
102
|
+
stadiamaps/models/nearest_roads_request.py,sha256=M7Dtrsi75OJSSGE26apvUIWvMA6xBGsi0T65817jFkA,5747
|
103
|
+
stadiamaps/models/node_id.py,sha256=pH3YhjpcWsq3ovX2wtOU6JRoBjExxoUNlBaITAbMfzw,3367
|
104
|
+
stadiamaps/models/node_type.py,sha256=IZwSUr83Yxo65Fc9FeebKD7sJCY_4h_KNcgt_qd8MUc,1052
|
105
|
+
stadiamaps/models/open_street_map_addendum.py,sha256=NnN0lUKtfw4uDXEU5KB620LPc_ml9JH-twlSYr2gn6U,6653
|
106
|
+
stadiamaps/models/optimized_route_request.py,sha256=0WSJxW9MTUIjV2Nd9Xde-4Bk956GL2Qm3jjqqwDDcfY,8620
|
107
|
+
stadiamaps/models/osrm_admin.py,sha256=u0YXeX6tmh0Z9Bdep9vz6gd7VMzMAsi2QAMyPC57MnE,3460
|
108
|
+
stadiamaps/models/osrm_annotation.py,sha256=umoNshmnoeKgQIQ_0V1aeF5A8_vEv5YES6yKRz_RReU,4423
|
109
|
+
stadiamaps/models/osrm_banner_component.py,sha256=HavdQTsRiOXDKeqJcBRFlHGnWHwpIb5owfz3XRjBQAs,3647
|
110
|
+
stadiamaps/models/osrm_banner_content.py,sha256=vHvoT1YBdDRcJgDIZD0GFTLERKyd7s-YhBxHtVd26ao,5100
|
111
|
+
stadiamaps/models/osrm_banner_instruction.py,sha256=VoGcKHyPkodwTsNw36qNiwGIu_-lr2xZaO_L5l9Ttgw,4157
|
112
|
+
stadiamaps/models/osrm_base_api_response.py,sha256=jSyfvyv2YqNFU8RzreZyO0QshayWmxoSMKl-IZszNNE,3944
|
113
|
+
stadiamaps/models/osrm_guidance_modifier.py,sha256=OXJ6mFgGIdqPx0RyYOdDY0BEWo9W4QS-nYESu3qASrc,1062
|
114
|
+
stadiamaps/models/osrm_intersection.py,sha256=oEKQO_W7xQdYsLXcQ-4M-QwR90k0Av5Ryz0gy1YYeBQ,7294
|
115
|
+
stadiamaps/models/osrm_lane.py,sha256=QNzpkR319BbJ_bSn5dqEXexCHOWG79-aLVfqeZnYYZs,3964
|
116
|
+
stadiamaps/models/osrm_route.py,sha256=rrlDLqurei4Bei8ZnbSu3M--oGiOBYF-6IMZEGI7BGw,4525
|
117
|
+
stadiamaps/models/osrm_route_leg.py,sha256=031bJUmkJIRDDYt2Us44JKDBJ5ASCScoBgKAuhPfOyw,6308
|
118
|
+
stadiamaps/models/osrm_route_response.py,sha256=s-VXJvcdeJIRtigt2pnTJPdawSr1kUIakt0Ra7ILJdo,5084
|
119
|
+
stadiamaps/models/osrm_route_step.py,sha256=DZexCc-NqpiMZwvwJkUCFw-iksCsOB8W7ChwBYNfRR4,9491
|
120
|
+
stadiamaps/models/osrm_speed_limit.py,sha256=WG6UURwO3EkbvuecWoLAJS1p75OIpxqQWpQBzraFXWE,4071
|
121
|
+
stadiamaps/models/osrm_step_maneuver.py,sha256=aA_ruzVaXYum2Nb_6VmkgDTo5m06xBfrd9xTNfii3KU,5253
|
122
|
+
stadiamaps/models/osrm_via_waypoint.py,sha256=JqdUZDBE_ehROtEv8-nFgIbJqv9NOWIn9R8okJeLuhI,3653
|
123
|
+
stadiamaps/models/osrm_voice_instruction.py,sha256=nnB7Rx4JvuPlxbcmcxlbBxHBKU-ZjcpfpQXRMTuxjVc,3887
|
124
|
+
stadiamaps/models/osrm_waypoint.py,sha256=2_icjAIEVvYNF37kmq72r9aZ3c_iTvzJGdUOKJMNgPc,3696
|
125
|
+
stadiamaps/models/pedestrian_costing_options.py,sha256=yCgck_MCg0B8IRQ3T7Z2Ncw5TO9I5H0idmQZGidMhsA,9466
|
126
|
+
stadiamaps/models/pedestrian_type.py,sha256=3W9Emfo9C7WcY37mZ3v4DSq5Eo8c_gB8rwzcuyqf6S8,1103
|
127
|
+
stadiamaps/models/point.py,sha256=TULZPyEzWBJ12WKp6bRchNP-aKTZBVLT2A9CnTyj1pc,3333
|
128
|
+
stadiamaps/models/precision.py,sha256=u8-3s5qy8M7tsbdSbP8tfvru17xf7HzKE_Dbs600nNk,820
|
129
|
+
stadiamaps/models/properties_v2.py,sha256=Upf9Fq8IIc1R9tR1SgTSB9_pkxUYVer78ghojobezqg,9331
|
130
|
+
stadiamaps/models/restrictions.py,sha256=uhGUxROLgi3CJgKK85fjXHf6EAKAGGAG1MgN2fudR94,4203
|
131
|
+
stadiamaps/models/road_class.py,sha256=z1WI7fa306lp7Jqe1GYkjJXLOq7Gy05r3QTBo9Igo04,1002
|
132
|
+
stadiamaps/models/route200_response.py,sha256=a824bmUfzCUqwcOybudD-BI3D8LgcRbUppi_-bWuCfE,5405
|
133
|
+
stadiamaps/models/route_leg.py,sha256=fxP5ypKkJRJfizwNh1cCFyCO6jSlAHlSTSI3u-FWKVw,4961
|
134
|
+
stadiamaps/models/route_maneuver.py,sha256=x2iuFhlEgP4skFVEdxikBLeoToAH9BLNJIbcyjRJV58,12445
|
135
|
+
stadiamaps/models/route_request.py,sha256=b67C1XgQKwAnofbUYBN_A63RrDqHGuJqCXzASfxejgs,10325
|
136
|
+
stadiamaps/models/route_response.py,sha256=VSJfcHsxu0qarUQb62fuKWzPhyhOFX18p-eQZ-fNcv4,4232
|
137
|
+
stadiamaps/models/route_response_alternates_inner.py,sha256=q-xpVsK5U89JtfUZ17bM4wT4qIIhXVHuIKIOU211oc0,3448
|
138
|
+
stadiamaps/models/route_summary.py,sha256=jZOkJwoRL8bpusk3hZENlFWDzgvWWyAXkZcAlWNdIHk,4117
|
139
|
+
stadiamaps/models/route_trip.py,sha256=8135k4BF3qgNUpv8OQpV3nsT_LilNSOTJ7zB1ucVHdk,5250
|
140
|
+
stadiamaps/models/routing_languages.py,sha256=RUCCbUoZLRK6f8Wm4nVMRz2JfzI9fu1VOWwpcHTkhkY,1548
|
141
|
+
stadiamaps/models/routing_long_units.py,sha256=4NbqIJ4Q4JYNpxjSBqjAjzMmbAWm83h8BxZ-3JvJHkY,814
|
142
|
+
stadiamaps/models/routing_response_waypoint.py,sha256=a-xCse7ET3Y8MSLDNCR-3kHzKcYLV_MbyETufS0Kb5w,4752
|
143
|
+
stadiamaps/models/routing_response_waypoint_all_of.py,sha256=2u_wmV3NfKkz1rl_DDAbc_6rqMdamOXCFA3XSmh22sA,2756
|
144
|
+
stadiamaps/models/routing_waypoint.py,sha256=AdpI9Qrh-iYUIxjgnnnOG0yCAHtOUiJ3WGm8wqykc28,9487
|
145
|
+
stadiamaps/models/routing_waypoint_all_of.py,sha256=v7BryWQd_LrFAaEXhHKQBU1OBiF4WmCRN8FJstZUFzU,7320
|
146
|
+
stadiamaps/models/routing_waypoint_all_of_search_filter.py,sha256=8Vrs0kEZC6D2vgjNOU1ClylFMAEdf8dpv0mgioJWKjI,4506
|
147
|
+
stadiamaps/models/search_bulk_query.py,sha256=Fv3SYqwdlVMeXnqhqSLRW1Qte0k_NxV8JI1QkxsR2zI,3842
|
148
|
+
stadiamaps/models/search_bulk_request.py,sha256=xFoH4wfaXA2uoN-qd-B01Wu7bQ-MoNq0vA6ERSrvZ4Q,5646
|
149
|
+
stadiamaps/models/search_query.py,sha256=c-4d2lOI2t_wza845uEJJuY2pFjUz2_FNqDPNWoxvQs,8675
|
150
|
+
stadiamaps/models/search_structured_bulk_query.py,sha256=VKNzx5en5CWoRXneiApWUYjLb_UxRUilQQdr_AKs33A,3945
|
151
|
+
stadiamaps/models/search_structured_query.py,sha256=TD6UzR1vj4RFsS9fbFCUv3_ZmBW2WO0iO-Cci6RFOkM,10183
|
152
|
+
stadiamaps/models/simple_routing_waypoint.py,sha256=vZP1iG2I0N0-0IOeOWmYUuyMWNytiuPx6XwlpynfoWk,4476
|
153
|
+
stadiamaps/models/simple_routing_waypoint_all_of.py,sha256=mFHVKuKWz3AuOxfqyGA5D_pai-RCu4Msdmmgf7fwm7A,3385
|
154
|
+
stadiamaps/models/source_attribution.py,sha256=BSwkn-4uV5cK-4NcT3z6xmrynqh2-YYfBVeaAv5pHr0,3550
|
155
|
+
stadiamaps/models/source_id.py,sha256=CO9yICeHm0LK9LhMl8JX_HsXfsV0OS_uJzOwoZZOhDU,923
|
156
|
+
stadiamaps/models/speeds.py,sha256=tinCBwcmlRP0eqFCHCjDP_OUVXebqHV8Jnqm2gYit_4,4550
|
157
|
+
stadiamaps/models/trace_attribute_filter_options.py,sha256=kjWcIp9ONRnMIYXy0IELHfup2mLuG_WIKHQD88tOT9g,3813
|
158
|
+
stadiamaps/models/trace_attribute_key.py,sha256=AYJ6T_viIJST54qkvawT7er3bHAPB7mnYCcU1Urh-jU,4323
|
159
|
+
stadiamaps/models/trace_attributes_base_response.py,sha256=4zptB137ESQHQVlxzrVT-SRDL0McBsJIJJ_TDTbCZww,6202
|
160
|
+
stadiamaps/models/trace_attributes_request.py,sha256=L8qME53Z3WkU1OGhSeOuGEwk6BrYYaeqWm6t6aurlwM,8848
|
161
|
+
stadiamaps/models/trace_attributes_request_all_of.py,sha256=ClTna0geZtUYYJHbVf96BwchKQ8sbf9PwWqKtSNXkyM,2967
|
162
|
+
stadiamaps/models/trace_attributes_request_all_of_filters.py,sha256=GM0OdKUGHcmDECtjbmifzLwS-SnbZWSWzn1qGWgia0o,3374
|
163
|
+
stadiamaps/models/trace_attributes_response.py,sha256=UQFVGdBgnrykcs1JBKCHhHtxFnipKJ1bEShZczJ2sN8,7228
|
164
|
+
stadiamaps/models/trace_edge.py,sha256=uOWR3eb88f9adTQxnGzzFS5hYlHkyOD9z6F8YCis1rc,14469
|
165
|
+
stadiamaps/models/travel_mode.py,sha256=R15JqySBIbrSBSMm72b34z3KadP6A0X6SEjhRBV-oLA,844
|
166
|
+
stadiamaps/models/traversability.py,sha256=QN4QHglGuQFPkv7LdkSnh_6iCi0fWnHO8s-PsyfXQYA,860
|
167
|
+
stadiamaps/models/truck_costing_options.py,sha256=vkRcB5KvqHz0qddNtRcCUnHCPvnOzi1y1n1Cu3C3NkA,13669
|
168
|
+
stadiamaps/models/truck_costing_options_all_of.py,sha256=WJDDKZ8rNATbzi8EUoceT7qDzK_kTyu_MQuh45M7Uy0,3804
|
169
|
+
stadiamaps/models/tz_response.py,sha256=H6jMdX-b9eab7pO75QGViFeXi_koBMwzIThBJ4X6h9E,3969
|
170
|
+
stadiamaps/models/warning.py,sha256=85k7vI9q1KLYaa-x5nHdgokXDkpSuy6xySpkfqo6LgQ,3206
|
171
|
+
stadiamaps/models/whos_on_first_concordances.py,sha256=zklLIebVjF2z--fVa2MwtjhPUh_FeBZgVYviQQ-QCXA,10736
|
172
|
+
stadiamaps/models/wof_context.py,sha256=jPLLtMOsN54SkUAMhhyylas1aHnyxippqPBhjmqGwJc,9438
|
173
|
+
stadiamaps/models/wof_context_component.py,sha256=_oRyOeUIDuUEshtmsf877W8IkhUqv6PuPg9aGYa_z-o,3796
|
174
|
+
stadiamaps-6.0.0.dist-info/licenses/LICENSE.txt,sha256=vs0H95Mi3Rf1pSskD7rv4KbXLYCSYZ6cqZcFmek0hOg,1518
|
175
|
+
test/integration/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
176
|
+
test/integration/test_eu_endpoint.py,sha256=YpXSujPY5VTdSBGSWmMPNjrSGwrT3XAPcTxFvtDlH-c,696
|
177
|
+
test/integration/test_gecoding.py,sha256=eOBYQsuDNAUXvIhvfwEu7p5WaaCdTDPrq558E3qygpo,5189
|
178
|
+
test/integration/test_geospatial.py,sha256=EUHr9AN0Qx6ImArlcoHWBjoO-a5beysEG36zmW9BiaY,1752
|
179
|
+
test/integration/test_routing.py,sha256=AWtTKk0hCTxEK2Uk9EQ3dcXYF4rfJRKPcVPmeL2BUKw,16010
|
180
|
+
stadiamaps-6.0.0.dist-info/METADATA,sha256=oVviOiu3xHe-ZtuAFJ84lPObnBmKY_8FywJ3EeVB3cI,6278
|
181
|
+
stadiamaps-6.0.0.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
182
|
+
stadiamaps-6.0.0.dist-info/top_level.txt,sha256=RtJO1k_xVAL0vvHVO1j8jNTWuP2VY57J9_uJftspzFo,16
|
183
|
+
stadiamaps-6.0.0.dist-info/RECORD,,
|
File without changes
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import os
|
2
|
+
import unittest
|
3
|
+
|
4
|
+
import stadiamaps
|
5
|
+
|
6
|
+
|
7
|
+
class TestEUEndpoint(unittest.TestCase):
|
8
|
+
def setUp(self):
|
9
|
+
self.configuration = stadiamaps.Configuration(host="https://api-eu.stadiamaps.com")
|
10
|
+
self.configuration.api_key["ApiKeyAuth"] = os.environ["STADIA_API_KEY"]
|
11
|
+
|
12
|
+
def tearDown(self):
|
13
|
+
pass
|
14
|
+
|
15
|
+
def testAutocomplete(self):
|
16
|
+
with stadiamaps.ApiClient(self.configuration) as api_client:
|
17
|
+
api_instance = stadiamaps.GeocodingApi(api_client)
|
18
|
+
|
19
|
+
res = api_instance.autocomplete("Põhja pst 27")
|
20
|
+
self.assertEqual("Estonia", res.features[0].properties.country)
|
21
|
+
self.assertEqual("address", res.features[0].properties.layer)
|
@@ -0,0 +1,112 @@
|
|
1
|
+
import os
|
2
|
+
import unittest
|
3
|
+
|
4
|
+
import stadiamaps
|
5
|
+
|
6
|
+
address = "Põhja pst 27"
|
7
|
+
|
8
|
+
|
9
|
+
class TestGeocoding(unittest.TestCase):
|
10
|
+
def setUp(self):
|
11
|
+
self.configuration = stadiamaps.Configuration()
|
12
|
+
self.configuration.api_key["ApiKeyAuth"] = os.environ["STADIA_API_KEY"]
|
13
|
+
|
14
|
+
def tearDown(self):
|
15
|
+
pass
|
16
|
+
|
17
|
+
def testAutocompleteV1(self):
|
18
|
+
with stadiamaps.ApiClient(self.configuration) as api_client:
|
19
|
+
api_instance = stadiamaps.GeocodingApi(api_client)
|
20
|
+
|
21
|
+
res = api_instance.autocomplete(text=address)
|
22
|
+
self.assertEqual("Estonia", res.features[0].properties.country)
|
23
|
+
self.assertEqual("address", res.features[0].properties.layer)
|
24
|
+
|
25
|
+
def testAutocompleteV2(self):
|
26
|
+
with stadiamaps.ApiClient(self.configuration) as api_client:
|
27
|
+
api_instance = stadiamaps.GeocodingApi(api_client)
|
28
|
+
|
29
|
+
res = api_instance.autocomplete_v2(text=address)
|
30
|
+
self.assertEqual(None, res.features[0].properties.context)
|
31
|
+
self.assertEqual("address", res.features[0].properties.layer)
|
32
|
+
|
33
|
+
def testSearch(self):
|
34
|
+
with stadiamaps.ApiClient(self.configuration) as api_client:
|
35
|
+
api_instance = stadiamaps.GeocodingApi(api_client)
|
36
|
+
|
37
|
+
res = api_instance.search(address)
|
38
|
+
self.assertEqual("Estonia", res.features[0].properties.country)
|
39
|
+
self.assertEqual("address", res.features[0].properties.layer)
|
40
|
+
|
41
|
+
def testStructuredSearch(self):
|
42
|
+
with stadiamaps.ApiClient(self.configuration) as api_client:
|
43
|
+
api_instance = stadiamaps.GeocodingApi(api_client)
|
44
|
+
|
45
|
+
res = api_instance.search_structured(address=address, country="Estonia")
|
46
|
+
self.assertEqual("Estonia", res.features[0].properties.country)
|
47
|
+
self.assertEqual("address", res.features[0].properties.layer)
|
48
|
+
|
49
|
+
def testReverse(self):
|
50
|
+
with stadiamaps.ApiClient(self.configuration) as api_client:
|
51
|
+
api_instance = stadiamaps.GeocodingApi(api_client)
|
52
|
+
|
53
|
+
res = api_instance.reverse(59.444351, 24.750645)
|
54
|
+
self.assertEqual("Estonia", res.features[0].properties.country)
|
55
|
+
|
56
|
+
def testReverseWithLayerFilter(self):
|
57
|
+
with stadiamaps.ApiClient(self.configuration) as api_client:
|
58
|
+
api_instance = stadiamaps.GeocodingApi(api_client)
|
59
|
+
|
60
|
+
res = api_instance.reverse(59.444351, 24.750645,
|
61
|
+
layers=[stadiamaps.GeocodingLayer.ADDRESS, stadiamaps.GeocodingLayer.OCEAN])
|
62
|
+
self.assertEqual("Estonia", res.features[0].properties.country)
|
63
|
+
self.assertEqual("address", res.features[0].properties.layer)
|
64
|
+
|
65
|
+
def testReverseUncommonLayer(self):
|
66
|
+
with stadiamaps.ApiClient(self.configuration) as api_client:
|
67
|
+
api_instance = stadiamaps.GeocodingApi(api_client)
|
68
|
+
|
69
|
+
# Middle of the Gulf of Oman
|
70
|
+
res = api_instance.reverse(24.750645, 59.444351)
|
71
|
+
self.assertEqual("marinearea", res.features[0].properties.layer)
|
72
|
+
|
73
|
+
def testPlaceV1(self):
|
74
|
+
with stadiamaps.ApiClient(self.configuration) as api_client:
|
75
|
+
api_instance = stadiamaps.GeocodingApi(api_client)
|
76
|
+
|
77
|
+
res = api_instance.place_details(["openstreetmap:address:way/109867749"])
|
78
|
+
self.assertEqual(1, len(res.features))
|
79
|
+
self.assertEqual("Estonia", res.features[0].properties.country)
|
80
|
+
self.assertEqual("address", res.features[0].properties.layer)
|
81
|
+
|
82
|
+
def testPlaceV2(self):
|
83
|
+
with stadiamaps.ApiClient(self.configuration) as api_client:
|
84
|
+
api_instance = stadiamaps.GeocodingApi(api_client)
|
85
|
+
|
86
|
+
res = api_instance.place_details_v2(["openstreetmap:address:way/109867749"])
|
87
|
+
self.assertEqual(1, len(res.features))
|
88
|
+
self.assertEqual("Estonia", res.features[0].properties.context.whosonfirst.country.name)
|
89
|
+
self.assertEqual("EST", res.features[0].properties.context.iso_3166_a3)
|
90
|
+
self.assertEqual("address", res.features[0].properties.layer)
|
91
|
+
|
92
|
+
def testBulk(self):
|
93
|
+
with stadiamaps.ApiClient(self.configuration) as api_client:
|
94
|
+
api_instance = stadiamaps.GeocodingApi(api_client)
|
95
|
+
|
96
|
+
res = api_instance.search_bulk([
|
97
|
+
stadiamaps.BulkRequest(endpoint="/v1/search",
|
98
|
+
query=stadiamaps.BulkRequestQuery(stadiamaps.SearchQuery(text=address))),
|
99
|
+
stadiamaps.BulkRequest(endpoint="/v1/search/structured",
|
100
|
+
query=stadiamaps.BulkRequestQuery(stadiamaps.SearchStructuredQuery(
|
101
|
+
address=address,
|
102
|
+
country="EE",
|
103
|
+
layers=[
|
104
|
+
stadiamaps.GeocodingLayer.COARSE,
|
105
|
+
stadiamaps.GeocodingLayer.ADDRESS]))),
|
106
|
+
])
|
107
|
+
|
108
|
+
self.assertEqual(2, len(res))
|
109
|
+
for rec in res:
|
110
|
+
self.assertEqual(200, rec.status)
|
111
|
+
self.assertEqual("Estonia", rec.response.features[0].properties.country)
|
112
|
+
self.assertEqual("address", rec.response.features[0].properties.layer)
|
@@ -0,0 +1,43 @@
|
|
1
|
+
import os
|
2
|
+
import unittest
|
3
|
+
|
4
|
+
import stadiamaps
|
5
|
+
|
6
|
+
|
7
|
+
class TestGeospatial(unittest.TestCase):
|
8
|
+
def setUp(self):
|
9
|
+
self.configuration = stadiamaps.Configuration()
|
10
|
+
self.configuration.api_key["ApiKeyAuth"] = os.environ["STADIA_API_KEY"]
|
11
|
+
|
12
|
+
def tearDown(self):
|
13
|
+
pass
|
14
|
+
|
15
|
+
def testTZLookup(self):
|
16
|
+
with stadiamaps.ApiClient(self.configuration) as api_client:
|
17
|
+
api_instance = stadiamaps.GeospatialApi(api_client)
|
18
|
+
|
19
|
+
res = api_instance.tz_lookup(37.56, 126.99)
|
20
|
+
self.assertEqual("Asia/Seoul", res.tz_id)
|
21
|
+
|
22
|
+
def testElevation(self):
|
23
|
+
with stadiamaps.ApiClient(self.configuration) as api_client:
|
24
|
+
api_instance = stadiamaps.GeospatialApi(api_client)
|
25
|
+
|
26
|
+
req = stadiamaps.HeightRequest(id="Seoul", shape=[stadiamaps.Coordinate(lat=37.56, lon=126.99)], range=False)
|
27
|
+
res = api_instance.elevation(req)
|
28
|
+
self.assertEqual(req.id, res.id)
|
29
|
+
self.assertGreaterEqual(len(res.height), 1)
|
30
|
+
self.assertGreaterEqual(res.height[0], 1)
|
31
|
+
self.assertEqual(res.shape, req.shape)
|
32
|
+
|
33
|
+
def testElevationRange(self):
|
34
|
+
with stadiamaps.ApiClient(self.configuration) as api_client:
|
35
|
+
api_instance = stadiamaps.GeospatialApi(api_client)
|
36
|
+
|
37
|
+
req = stadiamaps.HeightRequest(id="Seoul", shape=[stadiamaps.Coordinate(lat=37.56, lon=126.99)], range=True)
|
38
|
+
res = api_instance.elevation(req)
|
39
|
+
self.assertEqual(req.id, res.id)
|
40
|
+
self.assertGreaterEqual(len(res.range_height), 1)
|
41
|
+
self.assertEqual(res.range_height[0][0], 0) # This is always zero for the first element
|
42
|
+
self.assertGreaterEqual(res.range_height[0][1], 1)
|
43
|
+
self.assertEqual(res.shape, req.shape)
|