Getting Started With Google Maps Places (New) API In Python

Поділитися
Вставка
  • Опубліковано 13 січ 2025

КОМЕНТАРІ • 32

  • @lucaschiqui
    @lucaschiqui 8 місяців тому

    You are definetly the number 1, Jie. I was using API Places Details but couldn't use the (new) one and this helped me. Still there's something I need for a personal project, and for that I need to get access to all the reviews people leave on each place (ramen in your case f.e.). These APIs only gives us 5 reviews and I need at least 50. Do you know how to do that? I found the "My bussiness API reviews" but you need to be like owner of a Place...

    • @jiejenn
      @jiejenn  8 місяців тому +2

      Google is very protective when it comes to Google Maps data. For reviews and business information, I use Playwright to manually load the HTML markup and use beautifulsoup to extract the information.

    • @lucaschiqui
      @lucaschiqui 8 місяців тому

      @@jiejenn oh I get it, thanks Jie, that's really helpful

  • @blackeagle7288
    @blackeagle7288 7 місяців тому

    Hi Jie, thanks for the video. Are there any details such as the top searches or number of clicks for places searched in the region?

    • @jiejenn
      @jiejenn  7 місяців тому

      I don't believe those information are available in Google Places APIs. Perhaps Google Search/Custom Search APIs.

  • @fm109
    @fm109 8 місяців тому

    Hi Jie, can we extract data for example list of all schools in a city?

    • @jiejenn
      @jiejenn  8 місяців тому +1

      Starts with yellow pages.

    • @fm109
      @fm109 8 місяців тому

      @@jiejenn just brainstorming here, what if a country did not have yellow pages, does that mean using an API to look for schools marked on the map?

    • @JD41088
      @JD41088 7 місяців тому

      I actually just run a test using this workflow to map schools in my town. Only issue I see is that seems not all schools are extracted by default. @jiejenn Might be something related to scale of the search or some other parameter that i am not aware of?

  • @darknights5020
    @darknights5020 Місяць тому

    can we extract plot maps by searching the address? using google api and fetching through python?

    • @jiejenn
      @jiejenn  Місяць тому

      Sure. You just need to convert an address to a coordinate first.

    • @darknights5020
      @darknights5020 Місяць тому

      @jiejenn then will it give a plot map like the this address has this land area etc? Like what we see in the google maps app

  • @seththunder2077
    @seththunder2077 4 місяці тому

    Hey Jie, I have a task where I require to get latitude and longtitude based on google CID. Do you have any suggestions on how I can do that

    • @jiejenn
      @jiejenn  4 місяці тому

      You need to use the Google Maps place details API. developers.google.com/maps/documentation/places/web-service/details

    • @seththunder2077
      @seththunder2077 4 місяці тому

      @@jiejenndo I need paid google account

  • @xevenau
    @xevenau 8 місяців тому

    Is it possible to track traffic congestions on google maps based on street and time of day?

    • @jiejenn
      @jiejenn  8 місяців тому

      I believe you can use routes API to check traffics.

  • @leearningjourney
    @leearningjourney 8 місяців тому

    Hi Jie, can I know how to obtain the number of residential properties within 1km for each train station ?

    • @jiejenn
      @jiejenn  8 місяців тому

      I don't know the answer right off the back to be honest.

  • @SkillsToLearn
    @SkillsToLearn 8 місяців тому

    Can we check Map Grid business rankings with the new API? And what's new kind of ranking

    • @jiejenn
      @jiejenn  8 місяців тому

      Can you be more specific? Never heard of Map Grid business ranking before.

    • @SkillsToLearn
      @SkillsToLearn 8 місяців тому

      @@jiejenn Hey Jie Jenn, I'm curious about using the Google Maps Places API to analyze local business rankings across different map points, similar to what tools like LocalFalcon or BrightLocal do. These tools assess how a business shows up in the 'Local Pack'/Google Maps listing on Google Maps at various geographical points. Is it possible with the new version of the Places API to explore or replicate this kind of grid-based ranking analysis? If so, which API features should I be looking at to set this up?

    • @SkillsToLearn
      @SkillsToLearn 8 місяців тому

      ​ @jiejenn Just done

    • @jiejenn
      @jiejenn  8 місяців тому +1

      @@SkillsToLearn I don't know the answer to be honest.

  • @CompanyLumix
    @CompanyLumix 3 місяці тому

    hi Jie i am getting error Failed to create service instance for places: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
    [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
    None

    • @CompanyLumix
      @CompanyLumix 3 місяці тому

      service is as nonetype object

    • @jiejenn
      @jiejenn  3 місяці тому +1

      WinError is usually the issue with Google Cloud's server is temporarily down. Usually wait a minute or two and try again.

    • @CompanyLumix
      @CompanyLumix 3 місяці тому

      @@jiejenn necessary to add my credit card on google cloud website for print the data from google map error because not completed the billing account
      is it necessary or optional ?

  • @valcoholics
    @valcoholics 4 місяці тому

    cant get pass authentication, just Error 400: invalid_scope
    Request details: flowName=GeneralOAuthFlow

    • @jiejenn
      @jiejenn  4 місяці тому

      Delete your oauth consent screen and recreate a new one.