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
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...
@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.
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.
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.
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
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 . !!!
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.
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.
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?.
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
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?
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.
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??
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
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
@@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... 😊
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
{'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
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.
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
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" }
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
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...
Thank you so much!
@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.
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.
If your really a webdev. This is best. Logically right in everyway
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.
I cannot believe the quality of this video. It is amazing … Thank you so much.
Sir, you're doing great job. These free tutorials are too much for us. Stay safe stay blessed.
Huge respect from #Pakistan
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
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 . !!!
CFE at it again! Thanks for always breaking down concepts into such consumable and easy to understand designs/flow. You are awesome Justin.
Thank you!!
Can you in the next tutorial apply this to a real world usage scenario?
Thank you very much. It was very difficult to find any information about Google Maps API interaction with python. You doing very well staff.
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.
Thank you sir for the incredibly helpful video! Much appreciated and love following the channel.
I really love your tutorials. I wanna be like you
Thank you!
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.
Good series might have to learn Python...
Well it was fun while doing, Please do try Roads API and put a video based on it.
This cap guy is soo good. New subscriber!!!
Really appreciate this series!
Always get to learn something new
This guy always helped me :) i love you man
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?.
Good video, best explanation found in youtube. thanks but api for geocode is not free, did you buy them before.
I love you for this!!
Thank u!
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
Thanks
Owesome
First Comment
Thank you!
This is exactly I was looking for. Thanks Man!!!
thanks for this amazing work
Bro can i scap data end give some adjustments like search for "restaurants in NY" and extract it in csv with this method?
Thanks for your work!
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?
CamLink 4K and obs studio
@@CodingEntrepreneurs Cheers
really helpful, thank you!
I really loved this tutorial ! Thanks for the great tutorial 🙌
Thank you so much man, this is so cool.
Sir can I get road up and down information through Google map api
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.
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??
Waiting for this video from you sir??
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
ICan i use thi code who i show if I built an app that gives nearby place to a generiic adress inserted by user?
Hi ,
Thanks a ton for all amazing knowledge. Can you please guide me with Map Embed API using python.
Ishwar Sukheja
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
Is there a way of getting all the reviews of a place with the google places developer API?
I can only get 3 reviews.
it is also asking for billing account , is it necessary??????
What about making own geo map without using Google map or apple map or Yahoo map?
Like rendering the actual map?
@@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... 😊
how to add directions in the app
"You must enable Billing on the Google Cloud Project" I had this error while using all the APIs, Someone could help me, please?
hello sir, can you please send me the sample code to print nearest hospitals or restaurants using TYPES.
how to collect reviews from google API using python?
I can't install jupiter,
pipenv.exceptions.ResolutionFailure: ERROR: ERROR: Could not find a version that matches jupiter
thanks in advance!!!!!!
try to write jupyter
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.
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
@@duke007x3 100% agree.
{'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
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.
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
Badd Ass Bro!
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"
}
Android hacking sir
for me its returning {}