python-google-places
python-google-places copied to clipboard
Fix for a valid nearby_search that was throwing an error unnecessarily.
- name, lat_lng, radius, and rankby=ranking.DISTANCE.
- Test for error was:
- if keyword is None and types == []
- Should be:
- if keyword is None and types == [] and name is None
- Test for error was:
Sorry for the delay - I can't even begin to explain how busy I've been.
I'll going to spend some time updating this from this weekend - I'll be sure to include your fix.
Thanks!
No worries at all! Take your time, I understand being busy.
Can you double check Radar Feature before merging it? I'm not 100% sure it's needed after I did more work... I think more work might need to be done to make it work. It's been awhile since I worked on it. I think it turned out the results returned less attributes than other queries which may have led to errors being thrown when trying to use the returned data. I'd have to double check. Ah, right, I included the FIXMEs in the commit that described some of the issues. Anyway, let me know if you have an questions and I'll look into this some more if you do.
-Brandon