Working with APIs in Python [For Your Data Science Project]

preview_player
Показать описание


______________________________________________________________________

______________________________________________________________________

Timeline:

Intro: (0:00​​​​)
Coding on Google Colab: (2:00​​​​)
Testing with the Requests Library: (4:16​​​​)
Working with the YouTube API: (6:32​​​​)
Response from Making API Call: (11:00​​​​)
Data is in the 'items' Key: (12:22​​​​)
Parsing through the Data: (12:57​​​​)
Creating the Loop: (16:17​​​​)
Making a Second API Call: (18:30​​​​)
Saving to a Pandas DataFrame: (20:31​​​​)
Implementing Good Software Engineering Fundamentals: (22:40​​​​)
Conclusion: (27:03​​​​)

______________________________________________________________________

______________________________________________________________________

Contact:

If you have any questions, comments, or feedback, please leave them here!
______________________________________________________________________

#PythonAPI
Рекомендации по теме
Комментарии
Автор

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

jaggyjut
Автор

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 Youtube 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)

Thuvu
Автор

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!

joaofernandes
Автор

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.🙏

adityaahire
Автор

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 YouTube 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.

prateek
Автор

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

tuhindas
Автор

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."

badsanta
Автор

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.

Networkprofessor
Автор

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! 😊

inigocuervo
Автор

Amazing video, finally get the understanding how to extract data from the API, Thanks man

rohitprajapati
Автор

As a beginner, this really helps me understand how to work with JSON files and API calls. Thanks for the great content!

menchu
Автор

Made more api progress today than with days of Internet and ai. Thank you. I love how pragmatic this video is.

Delchursing
Автор

Thanks Nate, this is the next level of simplifying a so called complex issue related to an API

sitanshumishra
Автор

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!

CodyJelinek
Автор

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.

naanaaabdelmalek
Автор

What I love most about your content is how you simplify the building process and then refactoring …. I am hooked.

Davidkiania
Автор

This is an amazing session, thank you

rajgopalmanoharan
Автор

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!

ivlivs.c
Автор

Incredible how concisely this whole topic can be presented. Happy to very soon become a StrataScratch subscriber.

clockfixer
Автор

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.

soumodeepsen