30 Days of Python - Day 20 - Using Google Maps Geocoding and Places API - Python TUTORIAL

Поділитися
Вставка
  • Опубліковано 6 лис 2024

КОМЕНТАРІ • 74

  • @CodingEntrepreneurs
    @CodingEntrepreneurs  4 роки тому +10

    Our Code: github.com/codingforentrepreneurs/30-Days-of-Python/tree/master/tutorial-reference/Day%2020
    API Library on Google Cloud: console.cloud.google.com/apis/library
    Google Maps Platform Documentation: developers.google.com/maps/documentation?authuser=1
    Official Python Client: github.com/googlemaps/google-maps-services-python

  • @professionalfacepuncher8361
    @professionalfacepuncher8361 4 роки тому +4

    currently studying your course on Udemy...
    you have the most advanced Django series.. that teaches about features that other people won't even go near..
    amazing job, huge fan right here..
    and You're basically doing charity work releasing those amazing top quality django tutorial series on UA-cam for free !!
    mad respect 💯..
    God bless you man...

    • @CodingEntrepreneurs
      @CodingEntrepreneurs  4 роки тому +3

      Thank you so much!

    • @professionalfacepuncher8361
      @professionalfacepuncher8361 4 роки тому

      @NRG CODE all of his courses are very comprehensive, and goes very deep with different features ij Django..
      currently i am taking Tweetme, i already know django but as usual he goes in depth with features nobody does..
      like ModelManager and reverse relationships... which was a gotcha moment for me... i expanded upon that..
      gonna continue doing more of his courses.

  • @jayhu6075
    @jayhu6075 Рік тому

    One of the best explanation that I found in You-Tube streaming's. Hopefully in 2023 a new series about AI. So as text to images or text to video.
    Many thanks.

  • @jhoniemusic
    @jhoniemusic 4 роки тому

    If your really a webdev. This is best. Logically right in everyway

  • @chaudharypraveen98
    @chaudharypraveen98 4 роки тому +1

    Thank you so much. You made me realize how the Api works. Most of the videos simply tell how to use the client but you have made me possible to understand how this works and how we can modify from time to time.

  • @ramielkady938
    @ramielkady938 3 роки тому

    I cannot believe the quality of this video. It is amazing … Thank you so much.

  • @waseem1162
    @waseem1162 4 роки тому +9

    Sir, you're doing great job. These free tutorials are too much for us. Stay safe stay blessed.
    Huge respect from #Pakistan

  • @ygcjayalal
    @ygcjayalal 4 роки тому

    the greatest teacher i have ever seen. I have leaned lots of core concept about python and django..thank you so much for forever. i can do only that to say thank.. i don't know why some people don't like this channel

  • @thinhnguyenthanh8492
    @thinhnguyenthanh8492 3 роки тому

    thank for this video, it helps me so much with finding location using google api, I started with your video 2 years ago (opencv, it takes me to machine learning and computer vision - everything is so wonderful with me). Thank you so much . !!!

  • @mydhe6
    @mydhe6 4 роки тому +4

    CFE at it again! Thanks for always breaking down concepts into such consumable and easy to understand designs/flow. You are awesome Justin.

    • @CodingEntrepreneurs
      @CodingEntrepreneurs  4 роки тому

      Thank you!!

    • @mydhe6
      @mydhe6 4 роки тому

      Can you in the next tutorial apply this to a real world usage scenario?

  • @SviatoslavKalina
    @SviatoslavKalina 2 роки тому

    Thank you very much. It was very difficult to find any information about Google Maps API interaction with python. You doing very well staff.

  • @Frazur
    @Frazur 2 роки тому

    If you need to geocode residential addresses in the US, then use the census geocode api which is totally free. You don’t have to give them any credit card info like google is requiring.

  • @colemanvollrath7180
    @colemanvollrath7180 2 роки тому

    Thank you sir for the incredibly helpful video! Much appreciated and love following the channel.

  • @optimisecode2936
    @optimisecode2936 4 роки тому +6

    I really love your tutorials. I wanna be like you

    • @CodingEntrepreneurs
      @CodingEntrepreneurs  4 роки тому

      Thank you!

    • @yusharthsingh1185
      @yusharthsingh1185 4 роки тому +1

      Honestly speaking me too. We all may get better at doing codes etc. But as a person he is so dedicated in teaching new things being so humble is a way different thing.

  • @ingloriouspancake7529
    @ingloriouspancake7529 3 роки тому

    Good series might have to learn Python...

  • @HarishKumar-bm5mr
    @HarishKumar-bm5mr 4 роки тому

    Well it was fun while doing, Please do try Roads API and put a video based on it.

  • @josiahdavid7735
    @josiahdavid7735 3 роки тому

    This cap guy is soo good. New subscriber!!!

  • @MananGouhari
    @MananGouhari 4 роки тому +2

    Really appreciate this series!
    Always get to learn something new

  • @Shivam_Manswalia
    @Shivam_Manswalia 4 роки тому +1

    This guy always helped me :) i love you man

  • @misfarsiddeek3105
    @misfarsiddeek3105 4 роки тому

    Hello, I have a doubt in Django. What is the difference between class based view and function based view? Which one is better? And what u prefer to use? And why there are two kinds of views in Django?.

  • @Zoey-ug7pp
    @Zoey-ug7pp 4 роки тому

    Good video, best explanation found in youtube. thanks but api for geocode is not free, did you buy them before.

  • @mr4eeze20
    @mr4eeze20 3 роки тому

    I love you for this!!

  • @maliqi0657
    @maliqi0657 9 місяців тому

    Thank u!

  • @benjoaoc.7723
    @benjoaoc.7723 3 роки тому +1

    i really love ur tutorial ! can we have a tutorial about Instagram API i have much problem with that... thx for ur amazing Work, best regards from Germany

  • @apiwiyusuf7400
    @apiwiyusuf7400 4 роки тому +1

    Thanks

  • @bolivianprince7326
    @bolivianprince7326 4 роки тому

    Owesome

  • @delllatitude299
    @delllatitude299 4 роки тому +3

    First Comment

  • @ashishkushwaha3812
    @ashishkushwaha3812 4 роки тому

    This is exactly I was looking for. Thanks Man!!!

  • @MohdImran-uq5iv
    @MohdImran-uq5iv 4 роки тому +1

    thanks for this amazing work

  • @umutcamdere598
    @umutcamdere598 2 роки тому

    Bro can i scap data end give some adjustments like search for "restaurants in NY" and extract it in csv with this method?

  • @elmin264
    @elmin264 4 роки тому

    Thanks for your work!

  • @sachitad
    @sachitad 4 роки тому +2

    Hey mate. As usual great tutorial. Just a quick question regarding your setup. How do you record yourself and screen at the same time? Do you just use webcam or external camera?

  • @danhao7833
    @danhao7833 3 роки тому

    really helpful, thank you!

  • @harshparekh7825
    @harshparekh7825 4 роки тому

    I really loved this tutorial ! Thanks for the great tutorial 🙌

  • @Abignally
    @Abignally 3 роки тому

    Thank you so much man, this is so cool.

  • @pandian1537
    @pandian1537 2 роки тому

    Sir can I get road up and down information through Google map api

  • @gaylonalfano
    @gaylonalfano 4 роки тому

    Awesome work once again! This one was a little more straightforward but there was some confusion around the 50min mark (ua-cam.com/video/ckPEY2KppHc/v-deo.html) when you started messing with Class and Instance variables (I've been reading up on that rabbit hole!), particularly when you started adding the 'location' parameter into the mix. I've got a few questions for you if you don't mind:
    1. From what I gather, there seems to be a preference to use Instance variables (those defined in the __init__ of the class) over Class variables (e.g., things that will not change from instance to instance of a class). However, to me it seems like most of our class variables (i.e., lat, lng, location_query, and even api_key if others were able to use our client) would/could be removed and just defined within the __init__ so they are Instance variables instead since they would likely change from one instance to another (e.g., a user may input a different location when creating a new instance of the class). Yada, yada, I'm probably over-thinking this but it all comes back to my confusion when you started adding the location bit.
    2. Take the `search()` and `extract_lat_lng()` methods for example. Why did you first need to reference the `self.x` and `self.x` values (i.e., `loc_query = self.location_query`, `lat, lng = self.lat, self.lng`) before you could mess/use/interact with them? For example, inside the `extract_lat_lng()` method you introduced the `loc_query` variable (`loc_query = self.location_query`). Then you did a `if location != None: loc_query = location` ---- But could you just ignore (not define it all) the `loc_query` variable altogether and just do: `if location != None: self.location = location`? I guess I don't understand why introduce/add a new local `loc_query` variable when we could just update/reference the `self.location_query` value? I'm sure I'm missing some key point but hope that makes sense.
    3. How would you secure you API_KEY typically? I like to use/practice using Git so I've been using .env files or just env variables. However, with .ipynb files the outputs can accidentally expose these. This is just testing around so not worried but if you're wanting to save a version of your notebooks with Git, I've learned you have to be careful. :) One thing I've tried and I think is working is to use an .env file (or env vars) but also clear all the output cells from the Jupyter notebook first before pushing to GitHub.
    Again, thank you so much for the quality content! This has been great following along while creating something substantial.

  • @mohammedmiah7554
    @mohammedmiah7554 4 роки тому

    great content, I'm new to all this and was completely lost when it came to this api.
    I have a question though, if I was to use component filtering (want UK only results) how would I store the key value pairs for country and postcode inside a dictionary like you have for params? would I just use a nested dictionary??

  • @gangavarapuvasu6817
    @gangavarapuvasu6817 4 роки тому +1

    Waiting for this video from you sir??

  • @akbarlaksono5580
    @akbarlaksono5580 3 роки тому

    Excuse me
    i have a problem when run line (extract_lat_lng("1600 Amphitheatre Parkway, Mountain View, CA")). in result to display none, none
    How i fix the problem? or which one the step is wrong?
    Thanks

  • @MatteoMenozzi
    @MatteoMenozzi 3 роки тому

    ICan i use thi code who i show if I built an app that gives nearby place to a generiic adress inserted by user?

  • @ishwarsukheja
    @ishwarsukheja 4 роки тому

    Hi ,
    Thanks a ton for all amazing knowledge. Can you please guide me with Map Embed API using python.
    Ishwar Sukheja

  • @deaglegaming3119
    @deaglegaming3119 4 роки тому

    Hello sir , i am actually working on a big project for myself and really dont know where to start, can i please contact you to get a little assistant of where to start and what to do for my project

  • @unailopez1282
    @unailopez1282 4 роки тому

    Is there a way of getting all the reviews of a place with the google places developer API?
    I can only get 3 reviews.

  • @anjalikushwaha838
    @anjalikushwaha838 4 роки тому

    it is also asking for billing account , is it necessary??????

  • @danimusbar
    @danimusbar 4 роки тому +1

    What about making own geo map without using Google map or apple map or Yahoo map?

    • @CodingEntrepreneurs
      @CodingEntrepreneurs  4 роки тому

      Like rendering the actual map?

    • @danimusbar
      @danimusbar 4 роки тому

      @@CodingEntrepreneurs I don't know what type of map that equal like Google map, I mean the really free for use for us, because using Google map has limitation such as it depend our money to buy the Google map service,
      As newbie I am really concern about the cost, $300 it's to little for the credit.. perhaps you have any idea... 😊

  • @virgiliomurilloochoa2884
    @virgiliomurilloochoa2884 2 роки тому

    how to add directions in the app

  • @onschahed2292
    @onschahed2292 3 роки тому

    "You must enable Billing on the Google Cloud Project" I had this error while using all the APIs, Someone could help me, please?

  • @prudhvisaka1042
    @prudhvisaka1042 3 роки тому

    hello sir, can you please send me the sample code to print nearest hospitals or restaurants using TYPES.

  • @mohammedsayedahmed4974
    @mohammedsayedahmed4974 3 роки тому

    how to collect reviews from google API using python?

  • @yusharthsingh1185
    @yusharthsingh1185 4 роки тому

    I can't install jupiter,
    pipenv.exceptions.ResolutionFailure: ERROR: ERROR: Could not find a version that matches jupiter
    thanks in advance!!!!!!

  • @titangamer3009
    @titangamer3009 4 роки тому

    Dude I'm really messed up with python. I really now getting frustrated, I'm not able to apply concept of python in real coding.

    • @duke007x3
      @duke007x3 4 роки тому

      You are not alone. He did cover a lot here and it's not the basic, primitive stuff so we need some time to learn and understand all of that. Keep working and don't be sad

    • @jayhu6075
      @jayhu6075 Рік тому +1

      @@duke007x3 100% agree.

  • @feminaj1382
    @feminaj1382 4 роки тому

    {'error_message': 'You must enable Billing on the Google Cloud Project at console.cloud.google.com/project/_/billing/enable Learn more at developers.google.com/maps/gmp-get-started',
    'html_attributions': [],
    'results': [],
    'status': 'REQUEST_DENIED'}
    '
    client.detail(place_id='ChIJlX
    even After enabled all the APIs I get this error, Can you help me please

  • @devrahul7435
    @devrahul7435 4 роки тому

    hiii, I am just tired but did not find any solution..
    yup-devyoo.github.io/annu/single_item
    i want to make this type of page but the problem is that how can i make multiple image uploader and after in django module and how to show it on this page..
    plz help me..
    I used inline property but i dont know how to connect it with carousel and if i make a form for product than after one image upload it again redirect to another page.

  • @HeavenonWheels
    @HeavenonWheels 4 роки тому

    After hearing the horror stories of Google deleting accounts for violations that can't be shared, how do you feel about the risk of doing something in violation of the terms of service? Not trying to be rude, just trying to resolve the risk vs reward. The ToS state: "Applications using the Places API are bound by the Google Maps Platform Terms of Service. Section 3.2.3(a) and (b) of the terms states that you must not pre-fetch, index, store, or cache any Content except under the limited conditions stated in the terms." developers.google.com/places/web-service/policies

  • @ProgrammingNewbie
    @ProgrammingNewbie 4 роки тому

    Badd Ass Bro!

  • @ruturajpatil8689
    @ruturajpatil8689 4 роки тому

    Hello @CodingEntrpreneurs I am not able to fetch results as google is asking me to enable billing on google cloud Please Help me!!!!!
    {
    "error_message" : "You must enable Billing on the Google Cloud Project at console.cloud.google.com/project/_/billing/enable Learn more at developers.google.com/maps/gmp-get-started",
    "results" : [],
    "status" : "REQUEST_DENIED"
    }

  • @YKDGAMER
    @YKDGAMER 3 роки тому

    Android hacking sir

  • @ashhh433
    @ashhh433 3 роки тому

    for me its returning {}