Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6608883
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T19:39:25+00:00 2026-05-25T19:39:25+00:00

So I know that google places API serves the place information (name, location, website,

  • 0

So I know that google places API serves the place information (name, location, website, type ect) with JSON but I was wondering how to grab the data from the JSON?

Basically I’ve got a site where users can use the google maps API Ive set up to search for their retail shops and Id like to store all that information in a table so that way when you go to the user’s profile page you can see their google place information on a integrated map.

Maybe theres an easier way to do that but Im not sure how.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T19:39:25+00:00Added an answer on May 25, 2026 at 7:39 pm

    You should only use the google places api from the client. Google has a rate limit set pretty low, and it’s based on IP address (at least for the google maps api). So if you’re making too many requests from your web server, all of a sudden google cuts you off for the day. The way around this is to just do all the calls in javascript, so it’s coming from the users IP address.

    When the user types their address into your form, use the google places api to get the place id, or lat/lng coordinates, then save those along with everything else in your database. Then just use that data to fetch the place json from the google places api when they view the user profile.

    Update

    According to the google places docs, it’s actually the “reference token” you want to store, not the id.

    Since you want users to be able to search for their stores, you need to make 2 queries:

    1. First, you need to have lat/lng coordinates to be able to query the places api (google places api docs. You do this by querying google maps’ geocoding api with, say, the users current location, or some address they filled out when signing up. The response will return, among other attributes, the lat/lng coordinates. Save those to your database tied to the user model. I’ve done this with Geocoder, but because of google’s rate limiting, you quickly run into problems. Keep all the geocoding stuff client side, then save the results with ajax or whatever.
    2. Then, on the page where the user searches for their retail stores, you just query the places api with their lat/lng coordinates: google places api search request example. You’ll get a list of results. For each place the user selects, you save the reference token.
    3. Then when you want to retrieve the details for that place, you make a google places api ‘place details’ request using the reference token.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm creating app that use autocomplete places google api. And I don't know what
I've been reading the documentation at: http://code.google.com/intl/nl/apis/maps/documentation/places/#PlaceSearches But How do I modify the Place
I currently using Google Places API for retrieving information for in a mobile application(iOS
I know that google's v8 compiles javascript into native machine (binary if I understand
i have one domain link text i want to know that does google crawl
Now that Google Earth has been released for Android 2.1, does anyone know what,
I know that the job would be simpler if I use Google Plugin for
Since the Google App Engine Datastore is based on Bigtable and we know that's
I want to develop google desktop search like application, I want to know that
Does anyone know a WPF control/app that functions like the google Finance graph/chart? Thank

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.