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
Please pass either full request object or some details about client request to the package.
For example, to write a package that displays current time or converts time from on time zone to another, the package need to know client time zone. Using the time zone of the node that is serving the request will create issues.
To make this more extensible, add parameter of type object along with query and API Key. This will be really helpful to serve result that are location aware.
The text was updated successfully, but these errors were encountered:
Thanks for the request @rajagottumukkala. We definitely need some localized date for users available, and will probably want to key this off of whether the user has "local results" enabled or not in their search settings.
Thinking through to other potential search packages, news, sports, weather, and timezone conversion all seem like they could use either city-level location or something a bit less granular (like timezone, which could be derived from the city-level info).
We'll give the API here some thought. Open to your suggestions, as well.
I think this is a good starting point. I dont see a problem in passing this whole object to every package as we are not passing anything that is considered sensitive. If this user did not enable local results, this object will be null.
Please pass either full request object or some details about client request to the package.
For example, to write a package that displays current time or converts time from on time zone to another, the package need to know client time zone. Using the time zone of the node that is serving the request will create issues.
To make this more extensible, add parameter of type object along with query and API Key. This will be really helpful to serve result that are location aware.
The text was updated successfully, but these errors were encountered: