You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Get the current time zone information for any point on earth.
95
+
Get time zone information for any point on earth.
96
96
97
-
The Stadia TZ API provides time zone information, as well as information about any special offset (such as DST) in effect based on the latest IANA TZDB. Note that this API may not be accurate for timestamps in the past and does not claim to report precise nautical times in the open ocean beyond territorial waters.
97
+
Retrieve the time zone identifier, standard UTC offset, special offset (such as DST), and the localized time in several common formats.
98
98
99
99
### Example
100
100
@@ -132,7 +132,7 @@ with stadiamaps.ApiClient(configuration) as api_client:
132
132
timestamp =56# int | The UNIX timestamp at which the UTC and DST offsets will be calculated. This defaults to the present time. This endpoint is not necessarily guaranteed to be accurate for timestamps that occurred in the past. Time zone geographic boundaries change over time, so if the point you are querying for was previously in a different time zone, historical results will not be accurate. If, however, the point has been in the same geographic time zone for a very long time (ex: `America/New_York`), the historical data may be accurate for 100+ years in the past (depending on how far back the IANA TZDB rules have been specified). (optional)
133
133
134
134
try:
135
-
# Get the current time zone information for any point on earth.
135
+
# Get time zone information for any point on earth.
print("The response of GeospatialApi->tz_lookup:\n")
138
138
pprint(api_response)
@@ -168,7 +168,7 @@ Name | Type | Description | Notes
168
168
169
169
| Status code | Description | Response headers |
170
170
|-------------|-------------|------------------|
171
-
**200** | The time zone metadata. | - |
171
+
**200** | The time zone information and local time. | - |
172
172
**404** | Time zone not found | - |
173
173
174
174
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
Copy file name to clipboardExpand all lines: docs/SearchStructuredQuery.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
11
11
**locality** | **str** | The city, village, town, etc. that the place/address is part of. | [optional]
12
12
**county** | **str** | Administrative divisions between localities and regions. Not commonly used as input to structured geocoding. | [optional]
13
13
**region** | **str** | Typically the first administrative division within a country. For example, a US state or a Canadian province. | [optional]
14
-
**postal_code** | **str** | A mail sorting code. | [optional]
14
+
**postalcode** | **str** | A mail sorting code. | [optional]
15
15
**country** | **str** | A country code in ISO 3116-1 alpha-2 or alpha-3 format. | [optional]
16
16
**focus_point_lat** | **float** | The latitude of the point to focus the search on. This will bias results toward the focus point. Requires `focus.point.lon`. | [optional]
17
17
**focus_point_lon** | **float** | The longitude of the point to focus the search on. This will bias results toward the focus point. Requires `focus.point.lat`. | [optional]
Copy file name to clipboardExpand all lines: docs/TzResponse.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,9 @@ Name | Type | Description | Notes
8
8
**tz_id** | **str** | The canonical time zone ID. In the event that multiple time zones could be returned, the first one from the Unicode CLDR timezone.xml is returned. |
9
9
**base_utc_offset** | **int** | The base offset, in seconds, from UTC that is normally in effect for this time zone. |
10
10
**dst_offset** | **int** | The special offset, in seconds, from UTC that is in effect for this time zone as of the queried timestamp (defaults to now). If no additional offsets are in effect, this value is zero. This typically reflects Daylight Saving Time, but may indicate other special offsets. To get the total offset in effect, add `dst_offset` and `utc_offset` together. |
11
+
**timestamp** | **int** | Integer non-leap seconds since January 1, 1970 (UNIX timestamp). If a timestamp is included with the request parameters, it will be echoed here. Otherwise, this will contain the current timestamp. |
12
+
**local_rfc_2822_timestamp** | **str** | The local time expressed as an RFC 2822 timestamp (e.g. Tue, 1 Jul 2003 10:52:37 +0200). If a timestamp is included in the request, it will be localized here. Otherwise, this will reflect the time of the request. |
13
+
**local_rfc_3389_timestamp** | **str** | The local time expressed as an RFC 3389 (ISO 8601) timestamp (e.g. 2003-06-01T10:52:37+02:00). If a timestamp is included in the request, it will be localized here. Otherwise, this will reflect the time of the request. |
0 commit comments