-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Google Places Search Lookup #1143
Conversation
Hmm, I have no idea why the rbx based CI test is failing. Something about the gemset which I don't touch |
Ah, sorry, don't worry about that failing test. Nothing to do with what you did, which looks great! I just need to find the time to go over it more carefully--at the moment the only thing I can spot that's missing is an entry in the README. |
@alexreisner Thanks for responding! No pressure from here, I know it can be though maintaining an OSS project. Ah yes, will draft something to add in the README |
Looks good. One more thing: is it necessary to define the |
@alexreisner Ah yeah, only difference is just the log message when raising error. |
Ah, right. In that case I think it'd be better to make the superclass's method insert the name of the lookup dynamically into the error message. There's too much critical functionality in there to copy and paste. It will have the side effect of slightly improving the Google Premier lookup's error message, too. |
@alexreisner good idea. Should we make it another PR or just merge it here? Would be happy to do either way |
Here is good. Thanks! |
@alexreisner done! |
Ah, sorry, I should have been more specific. Just call the |
@alexreisner woops, totally forgot that we have that method. Is this what you mean? |
Is it worth also adding a |
@aceunreal I don't know. Does it need different request? The premium data feature will be deprecated though |
@waruboy when using a Google premium plan, you have the possibility of using a signature as the authentication. eg: https://github.com/alexreisner/geocoder/blob/master/lib/geocoder/lookups/google_premier.rb Premium data is different from premium plan and I do not believe these will be deprecated anytime soon. |
@aceunreal Ah, I think it is not applicable for google places.
Or is this different with what you are talking? |
@waruboy 👍 Looks like client/signature is not supported for Google places |
Thanks 😄 |
Hello. This is my attempt to integrate gogole places search lookup, as discussed on #1128 .
This query return way less data than other google query though, so many method will just return blank.
What do you think?