Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass the session token to Google Place Details API #1650

Open
calebeso opened this issue Mar 27, 2024 · 1 comment
Open

Pass the session token to Google Place Details API #1650

calebeso opened this issue Mar 27, 2024 · 1 comment

Comments

@calebeso
Copy link

Expected behavior

Make possible to pass the token session as an extra parameter to the :google_places_details provider

I actually did not find any information about the session token parameter in the docs, how can I use with lookup?

I actually tried this way: lookup.search(params[:placeid], params: { sessiontoken: params[:session_token]), but I'm not sure if its working since I tried this way to pass the fields parameter and keep returning all the fields.

Same for the configuration file:

fields: %w[address_components adr_address formatted_address geometry place_id]

Anyone ever faced the same behaviour?

@alexreisner
Copy link
Owner

Sorry, I'm not sure I understand this question. Can you explain what you're trying to achieve?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants