Comments (6)
I have parsed the 'formatted_address' value to extract the street, city, state and zip
from google_places.
@technologythree would you submit a pull request with your changes? That would be awesome.
from google_places.
Noticed geocoder gem already has this parsing logic:
https://github.com/alexreisner/geocoder/blob/master/lib/geocoder/results/google.rb
from google_places.
I believe this is already in the code, here: https://github.com/marceldegraaf/google_places/blob/master/lib/google_places/spot.rb#L82-86
@technologythree can you confirm?
from google_places.
Yay Works!!!! Thanks
from google_places.
Thanks, closing this issue.
from google_places.
Related Issues (20)
- Google Search doesn't support multiple types per request (its deprecated)
- predictions_by_input not working HOT 6
- Httparty at version 0.15.6 HOT 4
- 502 from Google not handled gracefully HOT 2
- Client#spots should really be called Client#spots_by_coordinates HOT 5
- detail: true HOT 2
- how to store result sets for future use? HOT 2
- Spot::opening_hours Always Nil HOT 3
- [Feature request] Ability to pass an Autocomplete session token into Autocomplete requests HOT 4
- is there a way to use zip code to find city and state?
- Support for user_ratings_total HOT 2
- [feature request] support the Find Places api HOT 1
- Add fields option to spots search with detail HOT 3
- components filtering not available
- spot_by_query method should take a field option
- Add spots_by_place_ids option HOT 2
- Issue with Field specification – Atmospheric Data is being called even when a related field is not specified. HOT 2
- No "profile_photo_url" in review HOT 1
- Argument Error HOT 5
- Prediction object doesn't set all of the fields HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from google_places.