This is a fantastic overview of an API, the speaker is clearly describing the what and why of each little piece. He is speaking slowly and correcting any minor mistakes as well as typing out the documentation for each step. GREAT VIDEO!!!
@ericmartin33842 жыл бұрын
This video is perfect for beginers in API. That was exactly what I was looking for. Great way to explain everything, many examples, thanks ! Eric
@rachcastellino4 жыл бұрын
this was the video series I needed omg - thank you for this! so helpful
@s.toddjohnson41295 жыл бұрын
this is really helpful, Thanks a lot! now i need to take what i learned here and transfer it to C#
@SigmaCoding5 жыл бұрын
Glad you liked it, hopefully the transfer over to C# isn't too difficult.
@jiangfenglin43594 жыл бұрын
So good, exactly what I need. Really appreciate your work, and thanks for uploading it.
@SigmaCoding4 жыл бұрын
Happy to share it :)
@gzuzchuy5052 жыл бұрын
Thank you so much for the video man!
@piyushkurkure35894 жыл бұрын
Where can I find various categories of the "term" in the parameters section?
@triceb8903 жыл бұрын
Thank you so much for this! Such great information and I appreciate that you're so thorough. I needed this for a project I'm working on. Do you know if it is possible to use the business alias in any of the endpoints? I have a list of aliases that I pulled from one of my collections and now need to pull each business info in the same fashion as how using the business id works.
@AbdelaazizHESSANE4 жыл бұрын
Hello, Thank you for this video, it was very helpfull.. I want to use the Yelp Fusion API to get data about All the Doctors and the reviews they got by their patients in a specific City or Region.. Can you help with what are the parameters i need to specify and if the business_id is not set, will that generate an error ?? Thank you so much :) :)
@danielgonzalezsanchez17185 жыл бұрын
Appreciate the tutorial, this is quality content!! I only have 1 problem, what does your request module? What can I put there to make it work?
@danielgonzalezsanchez17185 жыл бұрын
This is the first time I'm learning about APIs so it is kind of weird for me, it may be something pretty simple but I don't have a clue
@SigmaCoding5 жыл бұрын
The requests module is simply a library in Python that allows you to make different HTTP requests. Anytime you want to make a request to an API, you need to use a library that will enable you to make HTTP requests. The default, in most cases, is the requests library because it's simple and easy to use. All that is required to use it is that you import the library in your script, generally at the top. In this case, at the top of your python script you should have the following: import requests After that you can begin using it. Here is a simple "GET" request: response = requests.get(url = r"www.google.com") From here, you can do different things with your response, but you usually grab the content and parse it.
@danielgonzalezsanchez17185 жыл бұрын
@@SigmaCoding Thanks!! You have helped me a lot , new sub here :)
@thatoneguylb5 жыл бұрын
@@danielgonzalezsanchez1718 you've probably figured this out by now, but the "requests" thing is a module that is called up to allow things like .get... its one of those pip install things(modules). as you watch other tutorials, it helps to keep an eye on the modules they're importing (usually) at the start... generally, its something like: import xxx, or something like: from xxx import xxxx (this allows only sub--called-parts of the module to be called). anyway... i digress... best of luck and discovery in your python journey from a fellow traveler :)
@omnnnooy32672 жыл бұрын
thank you so much
@khushalisoni34345 жыл бұрын
While working with Visual Studio which option should I select under new project tab
@SigmaCoding5 жыл бұрын
You should just need to select a simple Python Application. However, if you're just writing a script, a single Python file then you could always use Visual Studio code.
@tinaflores61893 жыл бұрын
how did you save the key?
@jessicademotamunoz31794 жыл бұрын
How did you get the business ID?
@jasong55083 жыл бұрын
I had the same question. Then I realized the id is in the response data from the business "search" method. When he writes biz['name'] to get the list of business names, you can also perform biz['id'] to get a list of business ids.I hope that helps.
@DesiTy19985 жыл бұрын
Is that any method to retrieve more than 3 reviews from yelp.com?
@SigmaCoding5 жыл бұрын
Unfortunately, not through the API, they lock down the reviews pretty heavily. However, you can use BeautifulSoup to parse the Yelp pages for reviews, I've done that in the past with good success. You could also look at Foursquare's API, if memory serves me right, you can get a lot more reviews from them.
@miaomiao24545 жыл бұрын
I typed from YelpAPI import get_my_key, it gives me an error ModuleNotFoundError: No module named 'YelpAPI'
@SigmaCoding5 жыл бұрын
Hi there, so the keep in mind that YelpAPI module was something I made. It's simply a python file where I store my API key for privacy purposes. You can disregard that line and simply paste your API key in the code itself, or you can create your own Python file to store it. If you plan to share this code with other people DO NOT INCLUDE YOUR API KEY IN IT. Your API key can be associated with credit card information.
@miaomiao24545 жыл бұрын
@@SigmaCoding So, is there a way I could scrape all business information of California restaurants?
@SigmaCoding5 жыл бұрын
@@miaomiao2454 There is, you would just do a business search, pass through the lat/long for a given zip code, and set the radius as large as you can. FYI, it will take a few days to achieve this because you'll reach the daily 20,000 limit within an hour or two. If you want to connect, I can give you some code I've used in the past to scrape data from Yelp.
@miaomiao24545 жыл бұрын
@@SigmaCoding That would be really helpful. Please reach me via my email 1miao2miao@gmail.com. Thank you so much, looking forward to learning more from your videos.
@rohitchoudhary90945 жыл бұрын
Yelp is not available in my region, also if I try to work it out, it's overworked. Please choose some API which have good server, and I more universal. Also please provide the viewer with how to get the api_key or atleast mention the direction in the codefile comment .
@SigmaCoding5 жыл бұрын
Have you explored my video on the the Google Places API? They should have a more robust collection of businesses. Keep in mind though that if you are making too many requests at once, that most APIs will throttle you. Also, you will need a strong internet connection.
@kylejava79285 жыл бұрын
how could you check if a city or zip code exists?
@SigmaCoding5 жыл бұрын
In what context? Are trying to determine if Yelp covers a certain zip code before we make a request?
@kylejava79285 жыл бұрын
@@SigmaCoding yes! to check if like yelp covers a certain zip code or city
@SigmaCoding5 жыл бұрын
@@kylejava7928 So they use to have a neighborhood list endpoint, but I believe they've deprecated that. Unfortuantely, that would be as close as you get to a list of all the "Zips" that Yelp supported. If you're doing inside the US, almost every primary Zip code should be covered.
@neilbalch5 жыл бұрын
Really quiet. I can't hear anything you're saying....
@SigmaCoding5 жыл бұрын
Sorry about that, in my earlier videos I wasn’t very strong with the editing. I fixed the issue, so going forward it should be easier to hear
@csp103 Жыл бұрын
YOUR VOLUME IS SO LOW I CAN BARELY HEAR YOU!! NOT VERY PROFESSIONAL