After a lot of search, I finally found this tutorial which shows how to get data from an API and then convert the json into a dataframe. This is pure gold. Thank you
@stratascratch3 жыл бұрын
You wouldn't have thought it would take so long to find a video that does? =) glad you found this channel.
@jaggyjut3 жыл бұрын
@@stratascratch there are tutorial on how to use API and then different tutorials on converting json to data frame. So far haven’t found a tutorial showing everything end to end.😀
@purvilimbachiya15012 жыл бұрын
what is the next step after importing a database??
@vijaykumarcn8425 Жыл бұрын
How about applying read_json method ?
@Thuvu52 жыл бұрын
Hi Nate, thank you for this great video! Just a quick tip, if any wants to grab the video data for multiple channel IDs at once you can directly use this method (from KZbin API doc): request = youtube.channels().list( part='snippet,contentDetails,statistics', id=','.join(channel_ids)) response = request.execute() where channel_ids is a list of channel ids (e.g ['id_1', 'id_2', 'id_3''] and youtube = build('youtube', 'v3', developerKey=api_key)
@purvilimbachiya15012 жыл бұрын
what is the next process after importing database ??
@farhansarguroh8680 Жыл бұрын
Thanks a ton
@johnwig285 Жыл бұрын
OMG you're here anyway thank youuu thu vu 🥺
@joaofernandes63492 жыл бұрын
The best part is how you show in a easy way how to do the whole process and then you clean up the code according to good practices. This was really good, thank you!
@prateek21593 жыл бұрын
Hey Nate, your videos are just too good. I love how your channel is so dedicated towards real word data science. By the way I noticed that you started a video series, "For your Data Science Project" and I really want you to continue making videos for this particular series because there's literally no one on KZbin with such guidance on DS projects and I have been looking for one since a very long time because I have my placements just after 12 months and I really want to make a full stack data science project. Thank you.
@adityaahire27432 жыл бұрын
I cannot comprehend right words to express how great this video is and all the content that you create. For all those who dream, plan or wish to make great career in data science you are simply an angel. The most important part which I want to request is a complete playlist of all the components that you mentioned in the : "The one and only one Data Science Project you need". This video covers the data collection part through API...and if other components are covered and all together that playlist would become the gold mine for aspirants. I hope you get time from your busy schedule to consider my humble request... Thanks a lot for all your videos which keep enlightening the Data Science aspirants.🙏
@stratascratch2 жыл бұрын
Definitely will create this playlist or at least write an article that will provide you with resources for each part of this project journey. Thanks for the suggest. It's a great idea.
@alfatmiuzma2 жыл бұрын
Next highly expected topic can be .. setting up cloud to store the data. We can have a playlist of videos on topics Nate mentioned in the end to end data science project 😊😊
@Networkprofessor Жыл бұрын
I thought my video speed was on max, but it wasn't; there is just a lot of information being presented. Very comprehensive. Thank you.
@stratascratch Жыл бұрын
Thank you. We love to share what we know. Glad we have helped you.😀
@badsanta012 жыл бұрын
Thanks for the video Nate. Update : One might get an error in the dislike count part. "The statistics.dislikeCount property was made private as of December 13, 2021. This means that the property is included in an API response only if the API request was authenticated by the video owner. See the revision history for more information."
@tuhindas67453 жыл бұрын
I have been struggling to learn data science from multiple sources and there are hell lot of content.. After scavenging through the dirt pile, garbage of useless information. I can finally say that I have found the most valuable resource available on the internet ! Thank you Nate ! I can finally see light at the end of the tunnel. Love from Delhi, India
@stratascratch3 жыл бұрын
Thank you for your kind words! More to come!
@Delchursing6 ай бұрын
Made more api progress today than with days of Internet and ai. Thank you. I love how pragmatic this video is.
@CodyJelinek9 ай бұрын
This is brilliant. I took way too much time searching and googling and watching hours long videos to find pretty much everything I need in a clear crisp straight forward 30min video. Minus a tiny bit of API beginner information and knowing the basics of Python, this was perfect. Well done. I imagine the next video will be everything I need and nothing that I don’t to take the next step of processing/analyzing the data. I am hitting play on that……. Now!
@Davidkiania2 жыл бұрын
What I love most about your content is how you simplify the building process and then refactoring …. I am hooked.
@menchu562 жыл бұрын
As a beginner, this really helps me understand how to work with JSON files and API calls. Thanks for the great content!
@sitanshumishra64683 жыл бұрын
Thanks Nate, this is the next level of simplifying a so called complex issue related to an API
@inigocuervo Жыл бұрын
Hey there! Just a quick tip for anyone trying out the code: make sure you're using a version of pandas earlier than 2.0. Otherwise, you might need to use a different method instead of .append, or consider adding the data to a Python list first and then converting it to a pandas dataframe. Hope this helps! 😊
@lme918 Жыл бұрын
Even if you will use append method, it's strongly adviced do not use append as in his video as it's awful for performance. Don't do it!
@czr372 Жыл бұрын
I spend couple hours figuring out the url's and the api key, but this is a great help, Thanx a lot!
@naanaaabdelmalek3 жыл бұрын
I really wanna thank you so much cause those are the real skills that we need as entry-level data scientist, i'm an artificial intelligence student and everything they are teaching us is a pure academic which will not cover the practical side.
@rohitprajapati23032 жыл бұрын
Amazing video ,finally get the understanding how to extract data from the API ,Thanks man
@stratascratch2 жыл бұрын
I appreciate your feedback! Thank you too.
@soumodeepsen34482 жыл бұрын
This is probably the best video i watched so far on use of api in data science cause everywhere else the videos are so long and i could not understand a lot of those tutorials. Thank you so much for this video content.
@MrHyde_evolАй бұрын
Thank you so much for the detailed breakdown and clear explanations of your code logic! As someone new to Python, I understood each concept but was struggling to piece it all together. This video was incredibly helpful, and you've earned a like and a new subscriber. I'd really appreciate it if you could cover the different types of API authorizations in more detail. A video explaining the requests module, especially how to work with GET, POST, PUT, etc., and their parameters would be great. Also, some guidance on using virtual environments would be very helpful!
@cristiansoto7581 Жыл бұрын
More videos about this, please. Great information. I loved it!
@azamatbagatov49332 жыл бұрын
This channel deserves million subscribers and views. Keep it up!
@ivlivs.c36662 жыл бұрын
Now this is real-world, practical knowledge. After watching your video on the one and only data science project you'll ever need, I knew I had found something amazing. After watching this one, I was sold. Just subscribed. Keep these gems coming!
@clockfixer50492 жыл бұрын
Incredible how concisely this whole topic can be presented. Happy to very soon become a StrataScratch subscriber.
@danielmoss7133 Жыл бұрын
Best video I have seen on APIs. Thank you so much.
@stratascratch Жыл бұрын
Thank you! If there are other projects you're interested in, let me know!
@stainxyz3373 Жыл бұрын
thanks. this thing took me an entire day to finish.
@stratascratch Жыл бұрын
I'm glad you did the project! It's a good one day project
@joelngige5776 Жыл бұрын
Super informative video on working with API's
@grimoireen2 жыл бұрын
Wow, you're really give a huge knowledge for data science projects for free, big thanks man
@BasicoftheBasilisk9 ай бұрын
Really appreciate the tutorial, tremendously helpful getting my own api project started.
@sitiismi72312 жыл бұрын
this video-storyboard on point. very clear, explain the scope and summarize. thank you!
@mazhar00013 жыл бұрын
Covered all the basic and important points is a well structured manner to make it simple enough to follow and understand. You have great teaching skills! Thank you for spreading your knowledge.
@hafsawajid27932 жыл бұрын
You are doing an amazing job. It is what's required to understand the programming side.
@avanishpank75723 жыл бұрын
Ever since I started my data science learning journey,this might be the most valuable video I have come across,thanks a lot mate,this is extremely helpful.
@stratascratch3 жыл бұрын
Thanks!
@69nukeee Жыл бұрын
AMAZING tutorial, thanks for sharing!
@codehorror67433 жыл бұрын
the amount of knowledge in this one video!!!!!!!!!! God bless you
@rolandr972 жыл бұрын
I forgot to thank you in April: awesome, thanks!
@javierjdaza3 жыл бұрын
simple, short, and efective. Keep going bro, amazing content
@stratascratch3 жыл бұрын
Thanks so much for watching. Glad people like these python videos!
@ujjwaltarway1438 Жыл бұрын
One of the best videos regarding API call. Subscribed.😇😊
@jiangchengli21912 жыл бұрын
good work man, best tutorial of collecting data from api !!!!
@stratascratch2 жыл бұрын
Glad you think so!
@rajgopalmanoharan9 ай бұрын
This is an amazing session, thank you
@1cutecouple Жыл бұрын
THIS IS ABSOLUTE BLISS TO WATCH!!! THANKS FOR THE AWESOME CONTENT
@stratascratch Жыл бұрын
Glad you enjoy it!
@darkflamedoctor9023 Жыл бұрын
@@stratascratch now that we have collected the data how are we going to apply ml to this specific task(yt api) My Guess is we need little more info to predict something with good accuracy these are the things I thought for this data: I think we can cluster the video with less views or likes or something like that, one more thing I can think of is predicting views or likes with the help of regression models I cant think of anything else can u please tell me something else
@chiomaeze82452 жыл бұрын
wow, this is amazing! Thank you so much. It was concise and robust. Learnt a lot from it
@stratascratch2 жыл бұрын
You are welcome. Happy that you found our video helpful.
@victorloureiro_bodyboard2 жыл бұрын
6:11 that's basically why data engineers are needed
@Mars.20245 ай бұрын
This video : highly recommended 🍁
@JMinster2 жыл бұрын
Thank you so much for your videos, I just recently discovered this channel and it is amazing!
@rj_nelson_97 Жыл бұрын
This is great, thanks for providing. Sometimes, the apikey is in the header, so it has to be passed that way. I used this to pull the data in from the API I'm presently working with (ATTOM): url = 'the get url' headers = { 'Accept':'application/json', 'apikey':'your api key', 'accept':'application/json' } response = requests.get(url, headers=headers) response.json()
@stratascratch Жыл бұрын
Very cool! Thanks for sharing.
@PATRICKCHUAD3 жыл бұрын
Thank Nate for this very clear video on API. It is a great help for me as I'm studying python API , flask etc. right now.
@luzestrada95362 жыл бұрын
You are the best! Thank you so much for sharing this valuable information
@stratascratch2 жыл бұрын
Thank you. We are happy that we were able to help.
@vinutnasai5843 жыл бұрын
Very good and easily understandable educational video! Thanks Nate, for making the tech stuff interesting as well !
@mariumbegum73252 жыл бұрын
Fantastic tutorial, easy to follow and presented in a way that is easy to follow
@bactran77992 жыл бұрын
amazing tutorial. Thank you for your well organized video, your voice and everything you talk about are absolutely clear and help me easily to follow. Please keep your great works
@jeh58422 жыл бұрын
Thanks Nate for making this easy!!
@konstantinpluzhnikov48622 жыл бұрын
Good old days, you can see dislike_count for any video. Great tutorial, many thanks!
@shuang78772 жыл бұрын
That diploma looks very familiar - hello Big Red!
@stratascratch2 жыл бұрын
Hello Big Red indeed!
@zahedinima7322 жыл бұрын
FANTASTIC tutorial!! What can possibly top this?
@jackpeters15982 жыл бұрын
Brilliant! Great explanation of the process.
@alirezakaramali18442 жыл бұрын
It was very clear and useful. Thank you so much.
@sajjad53452 жыл бұрын
I love this playlist and look forward to seeing more videos in it.👍
@stratascratch2 жыл бұрын
Awesome! Thank you!
@Paper-Z2 жыл бұрын
You just gained a subscriber Bro 😃 Nice content
@ellenycnyc3 жыл бұрын
Wow this helped so much! Super straightforward thanks!
@senyotsedze3388 Жыл бұрын
Interesting video. I was able to create my own api key from KZbin. But since I have no posted videos, it is difficult to conceptualize your teaching. I wish we could get a generic api key to see data populated in the dataframe.
@guoyitang40013 жыл бұрын
love your video! Clear explanation and straight to the point
@wwmmff3 жыл бұрын
Huge thanks! I really like your video. Systematic and clear in your explanation. hope your channel grows! subscribed!
@stratascratch3 жыл бұрын
Thanks for watching! And glad you found it educational!
@eulerthegreatestofall1472 жыл бұрын
Great video!!!! very easy to follow through!
@supriya13162 жыл бұрын
Thanks for your video . You make the things easy . Thanks a ton :)
@samchimaobi3398 Жыл бұрын
Thanks for this video. was really very helpful.
@mercantilism954 Жыл бұрын
Oh my god. Your video is a treasure
@procorepierre31242 жыл бұрын
Thanks a million Nate for such a great content. You are an inspiration
@poo8723 жыл бұрын
Perfect Explanations. Very useful. Thank you so much.
@stratascratch3 жыл бұрын
Thank you for watching!
@sidechain0 Жыл бұрын
Great tutorial, thanks!
@awesomeGuss3 жыл бұрын
THANK YOUUU man...woow, love this
@soujanyamukkala1052 Жыл бұрын
Hello Nate, Nice Video, love it! I have a question here, instead of making a second API call for the stats, can we use fields parameter in the URL of the first API call to get the stats. Pardon me if I am not understanding the fundamentals properly. Thanks
@pauljordan6346 Жыл бұрын
Hi Nate, I love the video, super clear and explains a lot. I am struggling with pagetoken, you said it would be explained later, is there another video I need to watch to get a handle on this? Thanks
@michelchaghoury8702 жыл бұрын
i really like your content a lottt can you make more SQL and Databases vides (More Advanced) please and keep going
@stefano_er Жыл бұрын
Thanks! Really appreciated it
@digigoliath2 жыл бұрын
Awesome!!! TQVM!!
@djjiang37183 жыл бұрын
Good stuff and Thank you Nate for sharing!
@stratascratch3 жыл бұрын
Thanks for watching!
@RememberQuranAlways2 жыл бұрын
Just Awesome
@stratascratch2 жыл бұрын
Wonderful. Hope you find the video helpful.
@omginever3 жыл бұрын
this is pure gold!
@karanbhosale53903 жыл бұрын
Can we do same for the Spotify ? Basically i wanted to see all songs heared in previous 24Hrs
@stratascratch3 жыл бұрын
Yea most definitely. Just use the same principles as outlined in the video. Looks like Spotify has 2 python API wrappers (developer.spotify.com/documentation/web-api/libraries/)
@its_me73633 жыл бұрын
Hi Nate, Thanks for making this video and I really enjoyed and learnt from this video. I have a question, do all big/medium companies/startup make their data public via API?
@stratascratch3 жыл бұрын
Hey! Thanks for watching. The next video is coming out in 1-2 weeks to close out the series. Sometimes companies make their data public but they usually won't make internal data like user engagement or financial stats public. But they usually do make whatever data you own or whatever is deemed public, accessible to all. Like Twitter has an API you can use to collect tweets because all the tweets are publicly accessible. Hope that helps.
@learnwithme35963 ай бұрын
Can you please upload an end to end data science project which includes ml model working on streaming real time data .... Thankyou
@lifecodes91552 жыл бұрын
Too good. Thanks a lot. but i have problem that captcha is getting in the way of me scraping the website.
@jzh49503 жыл бұрын
Very helpful! thank you
@manarma75362 жыл бұрын
what if i don' t have a videos in my channel, how can i work with channel ID ?
@markk3643 жыл бұрын
Excellent Code Descriptions - breaking down the loop elements BEFORE creating the code is excellent. I was inspired by this lesson - to improve my data ingestion capabilities. At risk of redirecting viewers - I started a LI Learning course: Data Ingestion with Python, Miki Tebeka. (requires a subscription to LI).
@DylanOkyere2 жыл бұрын
You never linked to the api key document
@chronomorrow15115 ай бұрын
Could you have made the dataframe appending more efficient with a loop and index [0]? Instead of writing out all 7 key value pairs.
@elhipster12 жыл бұрын
This is definitely the best youtube API video I've been able to find. Thank you so much. I actually went through two other videos before this and this one was the clearest that actually moved into a full pandas dataframe. Thanks!
@stratascratch2 жыл бұрын
Hey thanks so much for the kind words! I tried my best to clearly explain all the steps and theory. I hope to create more in the future.
@elhipster12 жыл бұрын
I really appreciate how you created the 'for' loops, THEN went back and restructured the code to be more 'fundamentally' sound. bravo!
@stratascratch2 жыл бұрын
@@elhipster1 Thanks for noticing how I do it. I always work in this way where I will write code to make sure the function is there. Once the entire script is finished and it's able to function, I'll go back and refactor everything and try to automate things to make my life easier the 2nd time around. It's a good practice for your self. And if you work on a team, you can even share the code with your team so they can use it for their purposes.
@kashifrana67985 ай бұрын
Amazing content !
@alexwoodard27592 жыл бұрын
good stuff, sir!
@andrep13702 жыл бұрын
I'm new to Python and this really helped a lot , been programming for a long time , but Python is new to me. It explains a lot Is this code available anywhere will save having to re-type . Thanks
@faustopf-.2 жыл бұрын
Thank you so much for this amazing video! I got just one question: Could you list all the most used APIs by you in your daily basis routine as a DS/DA?
@stratascratch2 жыл бұрын
I think most DSers use internal APIs if their companies build their pipelines as a microservice concept. Otherwise, you'll use DB queries to pull your data from dbs.
@faustopf-.2 жыл бұрын
@@stratascratch Gotcha, thanks again! 💪🏻
@juandiegorodriguez75832 жыл бұрын
Something weird happened to me, I used the ID of my channel and my own API but I get videos and titles that I haven't uploaded... does it happen to anyone else?
@kelechiasianya44963 жыл бұрын
Your tutorials are cool
@EzinneOgwo-Ude8 ай бұрын
Please I am building a recommendation system for diet and exercise. Where can I get my data set or API. A link will be appreciated.
@matthewsmalatji66822 жыл бұрын
Please link the video you are referring to in the Intro
@stratascratch2 жыл бұрын
Here is the link to the video: kzbin.info/www/bejne/mWWkl2V8mMyUo6M
@myselfandpesit2 жыл бұрын
Thanks for the video. Nevertheless, some python libraries such as Tensorflow talk about APIs when they are actually saved already on our hard drive. I want to ask you how does, a web application such as tensorflow API function here ?
@stratascratch2 жыл бұрын
Hi. If I'm understanding correctly, these APIs that are local are basically just ways of transmitting your data locally. You're just using an API locally to build your web app. You can move the API to another server or to the cloud and your web app would still work.
@vivekrathore18572 жыл бұрын
pure learning..
@Glenners2 жыл бұрын
I'm just getting started on your channel but I feel like this is already so good. All the other projects and teachings I've found just feel so artificial and insulted. Can't wait to slog through my own projects soon! It still feels like my brain is reaching critical mass before it all "clicks" though.
@stratascratch2 жыл бұрын
That's definitely a feeling I still have as I learn more and take on more complex projects. I don't think it ever goes away! So you're on the right track. A lot of data science and analytics is about being comfortable not knowing all the answers. The learning curve is steep but once you get comfortable, it becomes fun. Good luck!