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
Here are a few examples to query Time Zone information from Timezone API.
135
+
136
+
```javascript
137
+
// Function to handle the response from IP Geolocation API.
138
+
// "response" is a JSON object returned from IP Geolocation API.
139
+
functionhandleResponse(response) {
140
+
console.log(response);
141
+
}
142
+
143
+
// Toggle sessionStorage usage to store API response on client-side. (This is very handy as it will help users to avoid making duplicate API calls for a single visitor.)
144
+
_ipgeolocation.enableSessionStorage(true);
145
+
146
+
// Toggle API calls' async behavior. By default, async is true.
0 commit comments