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

  • Home
  • SEARCH
  • 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 7879071
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T03:49:20+00:00 2026-06-03T03:49:20+00:00

I have seen the two forms of reference to the Google Places Library/Service, using

  • 0

I have seen the two forms of reference to the Google Places Library/Service, using JavaScript vs calling the API directly, a number of times, but I don’t understand the difference. The Google Docs don’t describe anything about two methods of accessing the API.

For example, this question talks about 2 ways of accessing the API: OVER_QUERY_LIMIT in a loop

And it appears that there is some type of direct web access taking place in this question: Querying Google Places API using jQuery

Is this something where there was an old way that involved formatting URL parameters and the new way is by utilizing the JavaScript library calls?

FINAL SUMMARY EDIT: There are two distinct ways of requesting data from Google, as described in @Dan Nissenbaum’s answer below. And since my original question, the QUERY_LIMIT question referenced above has been edited to also include more information about the two options.

  • 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-06-03T03:49:22+00:00Added an answer on June 3, 2026 at 3:49 am

    Perhaps you are referring to the distinction between the Google Places API that is intended for use on the SERVER (i.e., utilizing PHP to call the Google Places API directly), and using the completely different approach of the Google Places Javascript Library in which the BROWSER executes Javascript using the Javascript library provided by Google (that internally wraps calls to the Google Places API, so that you, as a Javascript programmer, only need to understand the Javascript library provided by Google, and use that)?

    Here are the two scenarios.

    Scenario #1: Use the API directly. For this method, you must refer to Google’s API documentation for the Google Places API: https://developers.google.com/maps/documentation/places/.

    Using this API works as follows (giving a simple example only). Say you want to retrieve places within 1000 meters of latitude=-27.2531166, longitude=138.8655664. You need to hit a URL as described by the API documentation: https://developers.google.com/maps/documentation/places/#PlaceSearchRequests.

    In this example, the URL looks like this (it’s long):

    https://maps.googleapis.com/maps/api/place/search/json?location=-27.2531166,138.8655664&radius=1000&sensor=false&key=AddYourOwnKeyHere
    

    You need a key for your personal use, which I assume you have. There are other options you can specify, such as limiting the results to restaurants, etc.

    When you hit this URL, the data will be returned in either JSON, or XML format, as specified by the text json in the URL above (use the text xml for xml). This data is returned exactly like data is returned from any URL call when you hit a URL in your browser.

    You can test this by simply typing the URL directly in your browser, and see the results.

    To use the API directly from code, you will need to use code that hits the external URL above within code and retrieves the results within code (for example, using the PHP CURL library, or using AJAX in Javascript).

    Scenario #2: You use the Javascript library that Google provides that wraps the API, so you don’t need to deal with it. I’ll update the answer with more details about this, if you don’t know what this is.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have seen two commonly used techniques for adding the directory of the file
I have seen two different approaches in saving user preferences. APPROACH 1: Serializing them
I have seen new computers having two processors on same motherboard . How can
I, in fact two end users have seen a strange issue in Excel. When
I haven't seen any website do this properly... If I have two select fields,
I have seen this question about deploying to WebSphere using the WAS ant tasks.
I have the following needs. There are some number of forms, i.e blanks -
I have a question regarding to two forms snapping each other. For example if
I have a c# Windows Forms application, using .NET 3.5. My machine environment is
I have seen there are two partial classes of same class(FORM) in C# winforms.

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.