google-maps-platform-sdk 1.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 (140) hide show
  1. google_maps_platform_sdk-1.0.0/LICENSE +28 -0
  2. google_maps_platform_sdk-1.0.0/MANIFEST.in +2 -0
  3. google_maps_platform_sdk-1.0.0/PKG-INFO +154 -0
  4. google_maps_platform_sdk-1.0.0/README.md +136 -0
  5. google_maps_platform_sdk-1.0.0/google_maps_platform_sdk.egg-info/PKG-INFO +154 -0
  6. google_maps_platform_sdk-1.0.0/google_maps_platform_sdk.egg-info/SOURCES.txt +139 -0
  7. google_maps_platform_sdk-1.0.0/google_maps_platform_sdk.egg-info/dependency_links.txt +1 -0
  8. google_maps_platform_sdk-1.0.0/google_maps_platform_sdk.egg-info/requires.txt +7 -0
  9. google_maps_platform_sdk-1.0.0/google_maps_platform_sdk.egg-info/top_level.txt +3 -0
  10. google_maps_platform_sdk-1.0.0/googlemapsplatform/__init__.py +13 -0
  11. google_maps_platform_sdk-1.0.0/googlemapsplatform/api_helper.py +19 -0
  12. google_maps_platform_sdk-1.0.0/googlemapsplatform/apis/__init__.py +14 -0
  13. google_maps_platform_sdk-1.0.0/googlemapsplatform/apis/base_api.py +72 -0
  14. google_maps_platform_sdk-1.0.0/googlemapsplatform/apis/directions_api.py +423 -0
  15. google_maps_platform_sdk-1.0.0/googlemapsplatform/apis/distance_matrix_api.py +296 -0
  16. google_maps_platform_sdk-1.0.0/googlemapsplatform/apis/elevation_api.py +118 -0
  17. google_maps_platform_sdk-1.0.0/googlemapsplatform/apis/geocoding_api.py +281 -0
  18. google_maps_platform_sdk-1.0.0/googlemapsplatform/apis/geolocation_api.py +90 -0
  19. google_maps_platform_sdk-1.0.0/googlemapsplatform/apis/places_api.py +1150 -0
  20. google_maps_platform_sdk-1.0.0/googlemapsplatform/apis/roads_api.py +150 -0
  21. google_maps_platform_sdk-1.0.0/googlemapsplatform/apis/street_view_api.py +291 -0
  22. google_maps_platform_sdk-1.0.0/googlemapsplatform/apis/time_zone_api.py +114 -0
  23. google_maps_platform_sdk-1.0.0/googlemapsplatform/configuration.py +260 -0
  24. google_maps_platform_sdk-1.0.0/googlemapsplatform/exceptions/__init__.py +7 -0
  25. google_maps_platform_sdk-1.0.0/googlemapsplatform/exceptions/api_exception.py +36 -0
  26. google_maps_platform_sdk-1.0.0/googlemapsplatform/exceptions/error_response_exception.py +56 -0
  27. google_maps_platform_sdk-1.0.0/googlemapsplatform/exceptions/nearest_roads_error_response_exception.py +61 -0
  28. google_maps_platform_sdk-1.0.0/googlemapsplatform/googlemapsplatform_client.py +141 -0
  29. google_maps_platform_sdk-1.0.0/googlemapsplatform/http/__init__.py +11 -0
  30. google_maps_platform_sdk-1.0.0/googlemapsplatform/http/api_response.py +67 -0
  31. google_maps_platform_sdk-1.0.0/googlemapsplatform/http/auth/__init__.py +5 -0
  32. google_maps_platform_sdk-1.0.0/googlemapsplatform/http/auth/custom_query_authentication.py +100 -0
  33. google_maps_platform_sdk-1.0.0/googlemapsplatform/http/http_call_back.py +20 -0
  34. google_maps_platform_sdk-1.0.0/googlemapsplatform/http/http_client_provider.py +23 -0
  35. google_maps_platform_sdk-1.0.0/googlemapsplatform/http/http_method_enum.py +25 -0
  36. google_maps_platform_sdk-1.0.0/googlemapsplatform/http/http_request.py +55 -0
  37. google_maps_platform_sdk-1.0.0/googlemapsplatform/http/http_response.py +45 -0
  38. google_maps_platform_sdk-1.0.0/googlemapsplatform/http/proxy_settings.py +50 -0
  39. google_maps_platform_sdk-1.0.0/googlemapsplatform/logging/__init__.py +6 -0
  40. google_maps_platform_sdk-1.0.0/googlemapsplatform/logging/configuration/__init__.py +5 -0
  41. google_maps_platform_sdk-1.0.0/googlemapsplatform/logging/configuration/api_logging_configuration.py +398 -0
  42. google_maps_platform_sdk-1.0.0/googlemapsplatform/logging/sdk_logger.py +28 -0
  43. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/__init__.py +97 -0
  44. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/address_component.py +123 -0
  45. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/bounds.py +111 -0
  46. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/business_status.py +49 -0
  47. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/cell_tower.py +213 -0
  48. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/directions_geocoded_waypoint.py +236 -0
  49. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/directions_leg.py +331 -0
  50. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/directions_polyline.py +111 -0
  51. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/directions_response.py +233 -0
  52. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/directions_route.py +243 -0
  53. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/directions_status.py +100 -0
  54. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/directions_step.py +317 -0
  55. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/directions_traffic_speed_entry.py +105 -0
  56. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/directions_transit_agency.py +149 -0
  57. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/directions_transit_details.py +319 -0
  58. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/directions_transit_line.py +257 -0
  59. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/directions_transit_stop.py +107 -0
  60. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/directions_transit_vehicle.py +166 -0
  61. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/directions_via_waypoint.py +155 -0
  62. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/distance_matrix_element.py +202 -0
  63. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/distance_matrix_element_status.py +57 -0
  64. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/distance_matrix_response.py +184 -0
  65. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/distance_matrix_row.py +103 -0
  66. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/distance_matrix_status.py +81 -0
  67. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/elevation_response.py +148 -0
  68. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/elevation_result.py +138 -0
  69. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/elevation_status.py +73 -0
  70. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/error_detail.py +225 -0
  71. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/error_object.py +175 -0
  72. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/fare.py +127 -0
  73. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/field_violation.py +103 -0
  74. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/geocoder_status.py +46 -0
  75. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/geocoding_geometry.py +165 -0
  76. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/geocoding_response.py +184 -0
  77. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/geocoding_result.py +248 -0
  78. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/geocoding_status.py +79 -0
  79. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/geolocation_request.py +265 -0
  80. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/geolocation_response.py +118 -0
  81. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/geometry.py +113 -0
  82. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/inputtype.py +43 -0
  83. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/language.py +196 -0
  84. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/lat_lng_literal.py +106 -0
  85. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/latitude_longitude_literal.py +106 -0
  86. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/location_type.py +61 -0
  87. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/location_type_1.py +49 -0
  88. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/maneuver.py +101 -0
  89. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/maps_api_elevation_json_response.py +147 -0
  90. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/maxprice.py +52 -0
  91. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/minprice.py +52 -0
  92. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/mode.py +49 -0
  93. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/mtype.py +121 -0
  94. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/nearest_roads_error.py +116 -0
  95. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/nearest_roads_response.py +112 -0
  96. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/place.py +1199 -0
  97. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/place_autocomplete_matched_substring.py +104 -0
  98. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/place_autocomplete_prediction.py +259 -0
  99. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/place_autocomplete_structured_format.py +170 -0
  100. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/place_autocomplete_term.py +104 -0
  101. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/place_editorial_summary.py +131 -0
  102. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/place_opening_hours.py +218 -0
  103. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/place_opening_hours_period.py +122 -0
  104. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/place_opening_hours_period_detail.py +159 -0
  105. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/place_photo.py +140 -0
  106. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/place_review.py +294 -0
  107. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/place_special_day.py +132 -0
  108. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/places_autocomplete_response.py +180 -0
  109. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/places_autocomplete_status.py +74 -0
  110. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/places_details_response.py +168 -0
  111. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/places_details_status.py +79 -0
  112. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/places_find_place_from_text_response.py +184 -0
  113. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/places_nearby_search_response.py +226 -0
  114. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/places_query_autocomplete_response.py +180 -0
  115. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/places_search_status.py +74 -0
  116. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/places_text_search_response.py +226 -0
  117. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/plus_code.py +125 -0
  118. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/rankby.py +43 -0
  119. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/region.py +805 -0
  120. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/result.py +154 -0
  121. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/result_type.py +100 -0
  122. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/snap_to_roads_response.py +133 -0
  123. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/snapped_point.py +143 -0
  124. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/source.py +43 -0
  125. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/street_view_response.py +208 -0
  126. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/street_view_status.py +77 -0
  127. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/text_value_object.py +105 -0
  128. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/time_zone_response.py +233 -0
  129. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/time_zone_status.py +76 -0
  130. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/time_zone_text_value_object.py +122 -0
  131. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/traffic_model.py +46 -0
  132. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/transit_routing_preference.py +43 -0
  133. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/travel_mode.py +56 -0
  134. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/type_1.py +115 -0
  135. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/units.py +43 -0
  136. google_maps_platform_sdk-1.0.0/googlemapsplatform/models/wi_fi_access_point.py +189 -0
  137. google_maps_platform_sdk-1.0.0/googlemapsplatform/utilities/__init__.py +6 -0
  138. google_maps_platform_sdk-1.0.0/googlemapsplatform/utilities/file_wrapper.py +45 -0
  139. google_maps_platform_sdk-1.0.0/pyproject.toml +25 -0
  140. google_maps_platform_sdk-1.0.0/setup.cfg +8 -0
@@ -0,0 +1,28 @@
1
+ License:
2
+ ========
3
+ The MIT License (MIT)
4
+ http://opensource.org/licenses/MIT
5
+
6
+ Copyright (c) 2014 - 2026 APIMATIC Limited
7
+
8
+ Permission is hereby granted, free of charge, to any person obtaining a copy
9
+ of this software and associated documentation files (the "Software"), to deal
10
+ in the Software without restriction, including without limitation the rights
11
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12
+ copies of the Software, and to permit persons to whom the Software is
13
+ furnished to do so, subject to the following conditions:
14
+
15
+ The above copyright notice and this permission notice shall be included in
16
+ all copies or substantial portions of the Software.
17
+
18
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24
+ THE SOFTWARE.
25
+
26
+ Trade Mark:
27
+ ==========
28
+ APIMATIC is a trade mark for APIMATIC Limited
@@ -0,0 +1,2 @@
1
+ include LICENSE
2
+ include README.md
@@ -0,0 +1,154 @@
1
+ Metadata-Version: 2.4
2
+ Name: google-maps-platform-sdk
3
+ Version: 1.0.0
4
+ Summary: Get location data for over 200 million places, and add place details, search, and autocomplete to your apps.
5
+ Author-email: developer sdksio <developer+sdksio@apimatic.io>
6
+ Project-URL: Documentation, https://gm-poc-apimatic.pages.dev/
7
+ Keywords: Google,maps,places,apimatic,sdksio
8
+ Requires-Python: >=3.7
9
+ Description-Content-Type: text/markdown
10
+ License-File: LICENSE
11
+ Requires-Dist: apimatic-core>=0.2.24,~=0.2.0
12
+ Requires-Dist: apimatic-core-interfaces>=0.1.8,~=0.1.0
13
+ Requires-Dist: apimatic-requests-client-adapter>=0.1.10,~=0.1.0
14
+ Requires-Dist: python-dotenv<2.0,>=0.21
15
+ Provides-Extra: testutils
16
+ Requires-Dist: pytest>=7.2.2; extra == "testutils"
17
+ Dynamic: license-file
18
+
19
+
20
+ # Getting Started with Google Maps Platform
21
+
22
+ ## Introduction
23
+
24
+ API Specification for Google Maps Platform
25
+
26
+ ## Install the Package
27
+
28
+ The package is compatible with Python versions `3.7+`.
29
+ Install the package from PyPi using the following pip command:
30
+
31
+ ```bash
32
+ pip install google-maps-platform-sdk==1.0.0
33
+ ```
34
+
35
+ You can also view the package at:
36
+ https://pypi.python.org/pypi/google-maps-platform-sdk/1.0.0
37
+
38
+ ## Initialize the API Client
39
+
40
+ **_Note:_** Documentation for the client can be found [here.](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/client.md)
41
+
42
+ The following parameters are configurable for the API Client:
43
+
44
+ | Parameter | Type | Description |
45
+ | --- | --- | --- |
46
+ | environment | [`Environment`](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/README.md#environments) | The API environment. <br> **Default: `Environment.PRODUCTION`** |
47
+ | http_client_instance | `Union[Session, HttpClientProvider]` | The Http Client passed from the sdk user for making requests |
48
+ | override_http_client_configuration | `bool` | The value which determines to override properties of the passed Http Client from the sdk user |
49
+ | http_call_back | `HttpCallBack` | The callback value that is invoked before and after an HTTP call is made to an endpoint |
50
+ | timeout | `float` | The value to use for connection timeout. <br> **Default: 30** |
51
+ | max_retries | `int` | The number of times to retry an endpoint call if it fails. <br> **Default: 0** |
52
+ | backoff_factor | `float` | A backoff factor to apply between attempts after the second try. <br> **Default: 2** |
53
+ | retry_statuses | `Array of int` | The http statuses on which retry is to be done. <br> **Default: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524]** |
54
+ | retry_methods | `Array of string` | The http methods on which retry is to be done. <br> **Default: ["GET", "PUT"]** |
55
+ | proxy_settings | [`ProxySettings`](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/proxy-settings.md) | Optional proxy configuration to route HTTP requests through a proxy server. |
56
+ | logging_configuration | [`LoggingConfiguration`](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/logging-configuration.md) | The SDK logging configuration for API calls |
57
+ | custom_query_authentication_credentials | [`CustomQueryAuthenticationCredentials`](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/auth/custom-query-parameter.md) | The credential object for Custom Query Parameter |
58
+
59
+ The API client can be initialized as follows:
60
+
61
+ ### Code-Based Client Initialization
62
+
63
+ ```python
64
+ import logging
65
+
66
+ from googlemapsplatform.configuration import Environment
67
+ from googlemapsplatform.googlemapsplatform_client import GooglemapsplatformClient
68
+ from googlemapsplatform.http.auth.custom_query_authentication import CustomQueryAuthenticationCredentials
69
+ from googlemapsplatform.logging.configuration.api_logging_configuration import LoggingConfiguration
70
+ from googlemapsplatform.logging.configuration.api_logging_configuration import RequestLoggingConfiguration
71
+ from googlemapsplatform.logging.configuration.api_logging_configuration import ResponseLoggingConfiguration
72
+
73
+ client = GooglemapsplatformClient(
74
+ custom_query_authentication_credentials=CustomQueryAuthenticationCredentials(
75
+ key='key'
76
+ ),
77
+ environment=Environment.PRODUCTION,
78
+ logging_configuration=LoggingConfiguration(
79
+ log_level=logging.INFO,
80
+ request_logging_config=RequestLoggingConfiguration(
81
+ log_body=True
82
+ ),
83
+ response_logging_config=ResponseLoggingConfiguration(
84
+ log_headers=True
85
+ )
86
+ )
87
+ )
88
+ ```
89
+
90
+ ### Environment-Based Client Initialization
91
+
92
+ ```python
93
+ from googlemapsplatform.googlemapsplatform_client import GooglemapsplatformClient
94
+
95
+ # Specify the path to your .env file if it’s located outside the project’s root directory.
96
+ client = GooglemapsplatformClient.from_environment(dotenv_path='/path/to/.env')
97
+ ```
98
+
99
+ See the [Environment-Based Client Initialization](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/environment-based-client-initialization.md) section for details.
100
+
101
+ ## Environments
102
+
103
+ The SDK can be configured to use a different environment for making API calls. Available environments are:
104
+
105
+ ### Fields
106
+
107
+ | Name | Description |
108
+ | --- | --- |
109
+ | PRODUCTION | **Default** |
110
+ | ENVIRONMENT2 | - |
111
+ | ENVIRONMENT3 | - |
112
+
113
+ ## Authorization
114
+
115
+ This API uses the following authentication schemes.
116
+
117
+ * [`ApiKeyAuth (Custom Query Parameter)`](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/auth/custom-query-parameter.md)
118
+
119
+ ## List of APIs
120
+
121
+ * [Geolocation API](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/controllers/geolocation-api.md)
122
+ * [Directions API](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/controllers/directions-api.md)
123
+ * [Elevation API](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/controllers/elevation-api.md)
124
+ * [Geocoding API](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/controllers/geocoding-api.md)
125
+ * [Time Zone API](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/controllers/time-zone-api.md)
126
+ * [Roads API](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/controllers/roads-api.md)
127
+ * [Distance Matrix API](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/controllers/distance-matrix-api.md)
128
+ * [Places API](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/controllers/places-api.md)
129
+ * [Street View API](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/controllers/street-view-api.md)
130
+
131
+ ## SDK Infrastructure
132
+
133
+ ### Configuration
134
+
135
+ * [ProxySettings](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/proxy-settings.md)
136
+ * [Environment-Based Client Initialization](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/environment-based-client-initialization.md)
137
+ * [AbstractLogger](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/abstract-logger.md)
138
+ * [LoggingConfiguration](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/logging-configuration.md)
139
+ * [RequestLoggingConfiguration](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/request-logging-configuration.md)
140
+ * [ResponseLoggingConfiguration](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/response-logging-configuration.md)
141
+
142
+ ### HTTP
143
+
144
+ * [HttpResponse](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/http-response.md)
145
+ * [HttpRequest](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/http-request.md)
146
+
147
+ ### Utilities
148
+
149
+ * [ApiResponse](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/api-response.md)
150
+ * [ApiHelper](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/api-helper.md)
151
+ * [HttpDateTime](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/http-date-time.md)
152
+ * [RFC3339DateTime](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/rfc3339-date-time.md)
153
+ * [UnixDateTime](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/unix-date-time.md)
154
+
@@ -0,0 +1,136 @@
1
+
2
+ # Getting Started with Google Maps Platform
3
+
4
+ ## Introduction
5
+
6
+ API Specification for Google Maps Platform
7
+
8
+ ## Install the Package
9
+
10
+ The package is compatible with Python versions `3.7+`.
11
+ Install the package from PyPi using the following pip command:
12
+
13
+ ```bash
14
+ pip install google-maps-platform-sdk==1.0.0
15
+ ```
16
+
17
+ You can also view the package at:
18
+ https://pypi.python.org/pypi/google-maps-platform-sdk/1.0.0
19
+
20
+ ## Initialize the API Client
21
+
22
+ **_Note:_** Documentation for the client can be found [here.](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/client.md)
23
+
24
+ The following parameters are configurable for the API Client:
25
+
26
+ | Parameter | Type | Description |
27
+ | --- | --- | --- |
28
+ | environment | [`Environment`](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/README.md#environments) | The API environment. <br> **Default: `Environment.PRODUCTION`** |
29
+ | http_client_instance | `Union[Session, HttpClientProvider]` | The Http Client passed from the sdk user for making requests |
30
+ | override_http_client_configuration | `bool` | The value which determines to override properties of the passed Http Client from the sdk user |
31
+ | http_call_back | `HttpCallBack` | The callback value that is invoked before and after an HTTP call is made to an endpoint |
32
+ | timeout | `float` | The value to use for connection timeout. <br> **Default: 30** |
33
+ | max_retries | `int` | The number of times to retry an endpoint call if it fails. <br> **Default: 0** |
34
+ | backoff_factor | `float` | A backoff factor to apply between attempts after the second try. <br> **Default: 2** |
35
+ | retry_statuses | `Array of int` | The http statuses on which retry is to be done. <br> **Default: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524]** |
36
+ | retry_methods | `Array of string` | The http methods on which retry is to be done. <br> **Default: ["GET", "PUT"]** |
37
+ | proxy_settings | [`ProxySettings`](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/proxy-settings.md) | Optional proxy configuration to route HTTP requests through a proxy server. |
38
+ | logging_configuration | [`LoggingConfiguration`](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/logging-configuration.md) | The SDK logging configuration for API calls |
39
+ | custom_query_authentication_credentials | [`CustomQueryAuthenticationCredentials`](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/auth/custom-query-parameter.md) | The credential object for Custom Query Parameter |
40
+
41
+ The API client can be initialized as follows:
42
+
43
+ ### Code-Based Client Initialization
44
+
45
+ ```python
46
+ import logging
47
+
48
+ from googlemapsplatform.configuration import Environment
49
+ from googlemapsplatform.googlemapsplatform_client import GooglemapsplatformClient
50
+ from googlemapsplatform.http.auth.custom_query_authentication import CustomQueryAuthenticationCredentials
51
+ from googlemapsplatform.logging.configuration.api_logging_configuration import LoggingConfiguration
52
+ from googlemapsplatform.logging.configuration.api_logging_configuration import RequestLoggingConfiguration
53
+ from googlemapsplatform.logging.configuration.api_logging_configuration import ResponseLoggingConfiguration
54
+
55
+ client = GooglemapsplatformClient(
56
+ custom_query_authentication_credentials=CustomQueryAuthenticationCredentials(
57
+ key='key'
58
+ ),
59
+ environment=Environment.PRODUCTION,
60
+ logging_configuration=LoggingConfiguration(
61
+ log_level=logging.INFO,
62
+ request_logging_config=RequestLoggingConfiguration(
63
+ log_body=True
64
+ ),
65
+ response_logging_config=ResponseLoggingConfiguration(
66
+ log_headers=True
67
+ )
68
+ )
69
+ )
70
+ ```
71
+
72
+ ### Environment-Based Client Initialization
73
+
74
+ ```python
75
+ from googlemapsplatform.googlemapsplatform_client import GooglemapsplatformClient
76
+
77
+ # Specify the path to your .env file if it’s located outside the project’s root directory.
78
+ client = GooglemapsplatformClient.from_environment(dotenv_path='/path/to/.env')
79
+ ```
80
+
81
+ See the [Environment-Based Client Initialization](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/environment-based-client-initialization.md) section for details.
82
+
83
+ ## Environments
84
+
85
+ The SDK can be configured to use a different environment for making API calls. Available environments are:
86
+
87
+ ### Fields
88
+
89
+ | Name | Description |
90
+ | --- | --- |
91
+ | PRODUCTION | **Default** |
92
+ | ENVIRONMENT2 | - |
93
+ | ENVIRONMENT3 | - |
94
+
95
+ ## Authorization
96
+
97
+ This API uses the following authentication schemes.
98
+
99
+ * [`ApiKeyAuth (Custom Query Parameter)`](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/auth/custom-query-parameter.md)
100
+
101
+ ## List of APIs
102
+
103
+ * [Geolocation API](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/controllers/geolocation-api.md)
104
+ * [Directions API](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/controllers/directions-api.md)
105
+ * [Elevation API](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/controllers/elevation-api.md)
106
+ * [Geocoding API](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/controllers/geocoding-api.md)
107
+ * [Time Zone API](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/controllers/time-zone-api.md)
108
+ * [Roads API](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/controllers/roads-api.md)
109
+ * [Distance Matrix API](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/controllers/distance-matrix-api.md)
110
+ * [Places API](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/controllers/places-api.md)
111
+ * [Street View API](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/controllers/street-view-api.md)
112
+
113
+ ## SDK Infrastructure
114
+
115
+ ### Configuration
116
+
117
+ * [ProxySettings](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/proxy-settings.md)
118
+ * [Environment-Based Client Initialization](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/environment-based-client-initialization.md)
119
+ * [AbstractLogger](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/abstract-logger.md)
120
+ * [LoggingConfiguration](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/logging-configuration.md)
121
+ * [RequestLoggingConfiguration](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/request-logging-configuration.md)
122
+ * [ResponseLoggingConfiguration](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/response-logging-configuration.md)
123
+
124
+ ### HTTP
125
+
126
+ * [HttpResponse](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/http-response.md)
127
+ * [HttpRequest](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/http-request.md)
128
+
129
+ ### Utilities
130
+
131
+ * [ApiResponse](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/api-response.md)
132
+ * [ApiHelper](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/api-helper.md)
133
+ * [HttpDateTime](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/http-date-time.md)
134
+ * [RFC3339DateTime](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/rfc3339-date-time.md)
135
+ * [UnixDateTime](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/unix-date-time.md)
136
+
@@ -0,0 +1,154 @@
1
+ Metadata-Version: 2.4
2
+ Name: google-maps-platform-sdk
3
+ Version: 1.0.0
4
+ Summary: Get location data for over 200 million places, and add place details, search, and autocomplete to your apps.
5
+ Author-email: developer sdksio <developer+sdksio@apimatic.io>
6
+ Project-URL: Documentation, https://gm-poc-apimatic.pages.dev/
7
+ Keywords: Google,maps,places,apimatic,sdksio
8
+ Requires-Python: >=3.7
9
+ Description-Content-Type: text/markdown
10
+ License-File: LICENSE
11
+ Requires-Dist: apimatic-core>=0.2.24,~=0.2.0
12
+ Requires-Dist: apimatic-core-interfaces>=0.1.8,~=0.1.0
13
+ Requires-Dist: apimatic-requests-client-adapter>=0.1.10,~=0.1.0
14
+ Requires-Dist: python-dotenv<2.0,>=0.21
15
+ Provides-Extra: testutils
16
+ Requires-Dist: pytest>=7.2.2; extra == "testutils"
17
+ Dynamic: license-file
18
+
19
+
20
+ # Getting Started with Google Maps Platform
21
+
22
+ ## Introduction
23
+
24
+ API Specification for Google Maps Platform
25
+
26
+ ## Install the Package
27
+
28
+ The package is compatible with Python versions `3.7+`.
29
+ Install the package from PyPi using the following pip command:
30
+
31
+ ```bash
32
+ pip install google-maps-platform-sdk==1.0.0
33
+ ```
34
+
35
+ You can also view the package at:
36
+ https://pypi.python.org/pypi/google-maps-platform-sdk/1.0.0
37
+
38
+ ## Initialize the API Client
39
+
40
+ **_Note:_** Documentation for the client can be found [here.](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/client.md)
41
+
42
+ The following parameters are configurable for the API Client:
43
+
44
+ | Parameter | Type | Description |
45
+ | --- | --- | --- |
46
+ | environment | [`Environment`](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/README.md#environments) | The API environment. <br> **Default: `Environment.PRODUCTION`** |
47
+ | http_client_instance | `Union[Session, HttpClientProvider]` | The Http Client passed from the sdk user for making requests |
48
+ | override_http_client_configuration | `bool` | The value which determines to override properties of the passed Http Client from the sdk user |
49
+ | http_call_back | `HttpCallBack` | The callback value that is invoked before and after an HTTP call is made to an endpoint |
50
+ | timeout | `float` | The value to use for connection timeout. <br> **Default: 30** |
51
+ | max_retries | `int` | The number of times to retry an endpoint call if it fails. <br> **Default: 0** |
52
+ | backoff_factor | `float` | A backoff factor to apply between attempts after the second try. <br> **Default: 2** |
53
+ | retry_statuses | `Array of int` | The http statuses on which retry is to be done. <br> **Default: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524]** |
54
+ | retry_methods | `Array of string` | The http methods on which retry is to be done. <br> **Default: ["GET", "PUT"]** |
55
+ | proxy_settings | [`ProxySettings`](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/proxy-settings.md) | Optional proxy configuration to route HTTP requests through a proxy server. |
56
+ | logging_configuration | [`LoggingConfiguration`](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/logging-configuration.md) | The SDK logging configuration for API calls |
57
+ | custom_query_authentication_credentials | [`CustomQueryAuthenticationCredentials`](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/auth/custom-query-parameter.md) | The credential object for Custom Query Parameter |
58
+
59
+ The API client can be initialized as follows:
60
+
61
+ ### Code-Based Client Initialization
62
+
63
+ ```python
64
+ import logging
65
+
66
+ from googlemapsplatform.configuration import Environment
67
+ from googlemapsplatform.googlemapsplatform_client import GooglemapsplatformClient
68
+ from googlemapsplatform.http.auth.custom_query_authentication import CustomQueryAuthenticationCredentials
69
+ from googlemapsplatform.logging.configuration.api_logging_configuration import LoggingConfiguration
70
+ from googlemapsplatform.logging.configuration.api_logging_configuration import RequestLoggingConfiguration
71
+ from googlemapsplatform.logging.configuration.api_logging_configuration import ResponseLoggingConfiguration
72
+
73
+ client = GooglemapsplatformClient(
74
+ custom_query_authentication_credentials=CustomQueryAuthenticationCredentials(
75
+ key='key'
76
+ ),
77
+ environment=Environment.PRODUCTION,
78
+ logging_configuration=LoggingConfiguration(
79
+ log_level=logging.INFO,
80
+ request_logging_config=RequestLoggingConfiguration(
81
+ log_body=True
82
+ ),
83
+ response_logging_config=ResponseLoggingConfiguration(
84
+ log_headers=True
85
+ )
86
+ )
87
+ )
88
+ ```
89
+
90
+ ### Environment-Based Client Initialization
91
+
92
+ ```python
93
+ from googlemapsplatform.googlemapsplatform_client import GooglemapsplatformClient
94
+
95
+ # Specify the path to your .env file if it’s located outside the project’s root directory.
96
+ client = GooglemapsplatformClient.from_environment(dotenv_path='/path/to/.env')
97
+ ```
98
+
99
+ See the [Environment-Based Client Initialization](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/environment-based-client-initialization.md) section for details.
100
+
101
+ ## Environments
102
+
103
+ The SDK can be configured to use a different environment for making API calls. Available environments are:
104
+
105
+ ### Fields
106
+
107
+ | Name | Description |
108
+ | --- | --- |
109
+ | PRODUCTION | **Default** |
110
+ | ENVIRONMENT2 | - |
111
+ | ENVIRONMENT3 | - |
112
+
113
+ ## Authorization
114
+
115
+ This API uses the following authentication schemes.
116
+
117
+ * [`ApiKeyAuth (Custom Query Parameter)`](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/auth/custom-query-parameter.md)
118
+
119
+ ## List of APIs
120
+
121
+ * [Geolocation API](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/controllers/geolocation-api.md)
122
+ * [Directions API](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/controllers/directions-api.md)
123
+ * [Elevation API](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/controllers/elevation-api.md)
124
+ * [Geocoding API](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/controllers/geocoding-api.md)
125
+ * [Time Zone API](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/controllers/time-zone-api.md)
126
+ * [Roads API](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/controllers/roads-api.md)
127
+ * [Distance Matrix API](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/controllers/distance-matrix-api.md)
128
+ * [Places API](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/controllers/places-api.md)
129
+ * [Street View API](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/controllers/street-view-api.md)
130
+
131
+ ## SDK Infrastructure
132
+
133
+ ### Configuration
134
+
135
+ * [ProxySettings](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/proxy-settings.md)
136
+ * [Environment-Based Client Initialization](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/environment-based-client-initialization.md)
137
+ * [AbstractLogger](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/abstract-logger.md)
138
+ * [LoggingConfiguration](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/logging-configuration.md)
139
+ * [RequestLoggingConfiguration](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/request-logging-configuration.md)
140
+ * [ResponseLoggingConfiguration](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/response-logging-configuration.md)
141
+
142
+ ### HTTP
143
+
144
+ * [HttpResponse](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/http-response.md)
145
+ * [HttpRequest](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/http-request.md)
146
+
147
+ ### Utilities
148
+
149
+ * [ApiResponse](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/api-response.md)
150
+ * [ApiHelper](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/api-helper.md)
151
+ * [HttpDateTime](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/http-date-time.md)
152
+ * [RFC3339DateTime](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/rfc3339-date-time.md)
153
+ * [UnixDateTime](https://www.github.com/sdks-io/google-maps-platform-python-sdk/tree/1.0.0/doc/unix-date-time.md)
154
+
@@ -0,0 +1,139 @@
1
+ LICENSE
2
+ MANIFEST.in
3
+ README.md
4
+ pyproject.toml
5
+ setup.cfg
6
+ google_maps_platform_sdk.egg-info/PKG-INFO
7
+ google_maps_platform_sdk.egg-info/SOURCES.txt
8
+ google_maps_platform_sdk.egg-info/dependency_links.txt
9
+ google_maps_platform_sdk.egg-info/requires.txt
10
+ google_maps_platform_sdk.egg-info/top_level.txt
11
+ googlemapsplatform/__init__.py
12
+ googlemapsplatform/api_helper.py
13
+ googlemapsplatform/configuration.py
14
+ googlemapsplatform/googlemapsplatform_client.py
15
+ googlemapsplatform/apis/__init__.py
16
+ googlemapsplatform/apis/base_api.py
17
+ googlemapsplatform/apis/directions_api.py
18
+ googlemapsplatform/apis/distance_matrix_api.py
19
+ googlemapsplatform/apis/elevation_api.py
20
+ googlemapsplatform/apis/geocoding_api.py
21
+ googlemapsplatform/apis/geolocation_api.py
22
+ googlemapsplatform/apis/places_api.py
23
+ googlemapsplatform/apis/roads_api.py
24
+ googlemapsplatform/apis/street_view_api.py
25
+ googlemapsplatform/apis/time_zone_api.py
26
+ googlemapsplatform/exceptions/__init__.py
27
+ googlemapsplatform/exceptions/api_exception.py
28
+ googlemapsplatform/exceptions/error_response_exception.py
29
+ googlemapsplatform/exceptions/nearest_roads_error_response_exception.py
30
+ googlemapsplatform/http/__init__.py
31
+ googlemapsplatform/http/api_response.py
32
+ googlemapsplatform/http/http_call_back.py
33
+ googlemapsplatform/http/http_client_provider.py
34
+ googlemapsplatform/http/http_method_enum.py
35
+ googlemapsplatform/http/http_request.py
36
+ googlemapsplatform/http/http_response.py
37
+ googlemapsplatform/http/proxy_settings.py
38
+ googlemapsplatform/http/auth/__init__.py
39
+ googlemapsplatform/http/auth/custom_query_authentication.py
40
+ googlemapsplatform/logging/__init__.py
41
+ googlemapsplatform/logging/sdk_logger.py
42
+ googlemapsplatform/logging/configuration/__init__.py
43
+ googlemapsplatform/logging/configuration/api_logging_configuration.py
44
+ googlemapsplatform/models/__init__.py
45
+ googlemapsplatform/models/address_component.py
46
+ googlemapsplatform/models/bounds.py
47
+ googlemapsplatform/models/business_status.py
48
+ googlemapsplatform/models/cell_tower.py
49
+ googlemapsplatform/models/directions_geocoded_waypoint.py
50
+ googlemapsplatform/models/directions_leg.py
51
+ googlemapsplatform/models/directions_polyline.py
52
+ googlemapsplatform/models/directions_response.py
53
+ googlemapsplatform/models/directions_route.py
54
+ googlemapsplatform/models/directions_status.py
55
+ googlemapsplatform/models/directions_step.py
56
+ googlemapsplatform/models/directions_traffic_speed_entry.py
57
+ googlemapsplatform/models/directions_transit_agency.py
58
+ googlemapsplatform/models/directions_transit_details.py
59
+ googlemapsplatform/models/directions_transit_line.py
60
+ googlemapsplatform/models/directions_transit_stop.py
61
+ googlemapsplatform/models/directions_transit_vehicle.py
62
+ googlemapsplatform/models/directions_via_waypoint.py
63
+ googlemapsplatform/models/distance_matrix_element.py
64
+ googlemapsplatform/models/distance_matrix_element_status.py
65
+ googlemapsplatform/models/distance_matrix_response.py
66
+ googlemapsplatform/models/distance_matrix_row.py
67
+ googlemapsplatform/models/distance_matrix_status.py
68
+ googlemapsplatform/models/elevation_response.py
69
+ googlemapsplatform/models/elevation_result.py
70
+ googlemapsplatform/models/elevation_status.py
71
+ googlemapsplatform/models/error_detail.py
72
+ googlemapsplatform/models/error_object.py
73
+ googlemapsplatform/models/fare.py
74
+ googlemapsplatform/models/field_violation.py
75
+ googlemapsplatform/models/geocoder_status.py
76
+ googlemapsplatform/models/geocoding_geometry.py
77
+ googlemapsplatform/models/geocoding_response.py
78
+ googlemapsplatform/models/geocoding_result.py
79
+ googlemapsplatform/models/geocoding_status.py
80
+ googlemapsplatform/models/geolocation_request.py
81
+ googlemapsplatform/models/geolocation_response.py
82
+ googlemapsplatform/models/geometry.py
83
+ googlemapsplatform/models/inputtype.py
84
+ googlemapsplatform/models/language.py
85
+ googlemapsplatform/models/lat_lng_literal.py
86
+ googlemapsplatform/models/latitude_longitude_literal.py
87
+ googlemapsplatform/models/location_type.py
88
+ googlemapsplatform/models/location_type_1.py
89
+ googlemapsplatform/models/maneuver.py
90
+ googlemapsplatform/models/maps_api_elevation_json_response.py
91
+ googlemapsplatform/models/maxprice.py
92
+ googlemapsplatform/models/minprice.py
93
+ googlemapsplatform/models/mode.py
94
+ googlemapsplatform/models/mtype.py
95
+ googlemapsplatform/models/nearest_roads_error.py
96
+ googlemapsplatform/models/nearest_roads_response.py
97
+ googlemapsplatform/models/place.py
98
+ googlemapsplatform/models/place_autocomplete_matched_substring.py
99
+ googlemapsplatform/models/place_autocomplete_prediction.py
100
+ googlemapsplatform/models/place_autocomplete_structured_format.py
101
+ googlemapsplatform/models/place_autocomplete_term.py
102
+ googlemapsplatform/models/place_editorial_summary.py
103
+ googlemapsplatform/models/place_opening_hours.py
104
+ googlemapsplatform/models/place_opening_hours_period.py
105
+ googlemapsplatform/models/place_opening_hours_period_detail.py
106
+ googlemapsplatform/models/place_photo.py
107
+ googlemapsplatform/models/place_review.py
108
+ googlemapsplatform/models/place_special_day.py
109
+ googlemapsplatform/models/places_autocomplete_response.py
110
+ googlemapsplatform/models/places_autocomplete_status.py
111
+ googlemapsplatform/models/places_details_response.py
112
+ googlemapsplatform/models/places_details_status.py
113
+ googlemapsplatform/models/places_find_place_from_text_response.py
114
+ googlemapsplatform/models/places_nearby_search_response.py
115
+ googlemapsplatform/models/places_query_autocomplete_response.py
116
+ googlemapsplatform/models/places_search_status.py
117
+ googlemapsplatform/models/places_text_search_response.py
118
+ googlemapsplatform/models/plus_code.py
119
+ googlemapsplatform/models/rankby.py
120
+ googlemapsplatform/models/region.py
121
+ googlemapsplatform/models/result.py
122
+ googlemapsplatform/models/result_type.py
123
+ googlemapsplatform/models/snap_to_roads_response.py
124
+ googlemapsplatform/models/snapped_point.py
125
+ googlemapsplatform/models/source.py
126
+ googlemapsplatform/models/street_view_response.py
127
+ googlemapsplatform/models/street_view_status.py
128
+ googlemapsplatform/models/text_value_object.py
129
+ googlemapsplatform/models/time_zone_response.py
130
+ googlemapsplatform/models/time_zone_status.py
131
+ googlemapsplatform/models/time_zone_text_value_object.py
132
+ googlemapsplatform/models/traffic_model.py
133
+ googlemapsplatform/models/transit_routing_preference.py
134
+ googlemapsplatform/models/travel_mode.py
135
+ googlemapsplatform/models/type_1.py
136
+ googlemapsplatform/models/units.py
137
+ googlemapsplatform/models/wi_fi_access_point.py
138
+ googlemapsplatform/utilities/__init__.py
139
+ googlemapsplatform/utilities/file_wrapper.py
@@ -0,0 +1,7 @@
1
+ apimatic-core>=0.2.24,~=0.2.0
2
+ apimatic-core-interfaces>=0.1.8,~=0.1.0
3
+ apimatic-requests-client-adapter>=0.1.10,~=0.1.0
4
+ python-dotenv<2.0,>=0.21
5
+
6
+ [testutils]
7
+ pytest>=7.2.2
@@ -0,0 +1,3 @@
1
+ dist
2
+ doc
3
+ googlemapsplatform
@@ -0,0 +1,13 @@
1
+ # ruff: noqa: D104 | Missing docstring in public package
2
+ # ruff: noqa: RUF022 | `__all__` is not sorted
3
+ __all__ = [
4
+ "api_helper",
5
+ "apis",
6
+ "configuration",
7
+ "exceptions",
8
+ "googlemapsplatform_client",
9
+ "http",
10
+ "logging",
11
+ "models",
12
+ "utilities",
13
+ ]