Python YouTube API Tutorial: Getting Started - Creating an API Key and Querying the API

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 พ.ย. 2024

ความคิดเห็น • 333

  • @coreyms
    @coreyms  4 ปีที่แล้ว +113

    Hey everyone. This video will be the first video of several where we explore the TH-cam API and see how to do some data analysis on public TH-cam data. We will learn some useful things we can do with this API. In the next video, I'll show how we can use this API to calculate the total duration of a TH-cam playlist, which is information that Google doesn't already have listed for playlists.
    Also, I'm still working on completing the script I'll use to grab my TH-cam channel members, so the end credits for the videos still only contains Patreon supporters at the moment. But I hope to have this resolved shortly. Hope everyone had a great week!

    • @ankushhumne7248
      @ankushhumne7248 4 ปีที่แล้ว

      Please make videos on rest api using python and django.. and thanks you bro i learned so many things from u ... lv from India

    • @anshulgandhi1707
      @anshulgandhi1707 4 ปีที่แล้ว

      Waiting for the next video. I hope that comes out soon.

    • @immanuel4747
      @immanuel4747 4 ปีที่แล้ว

      Waiting for your django rest framework tutorial....pls make a video on it......and by the way your videos are damn awesome...😍

    • @paulamertens9760
      @paulamertens9760 4 ปีที่แล้ว

      @@anshulgandhi1707 12q²222q2q22

    • @paulamertens9760
      @paulamertens9760 4 ปีที่แล้ว

      @Vaibhav Kumar 2q2

  • @courtney2394
    @courtney2394 4 ปีที่แล้ว +14

    For someone learning Python independently and without a CS or SE degree, you have made things extremely simple. I cannot thank you enough! Life lessons that are unbelievably valuable, thank you again, sir!

  • @joum96
    @joum96 ปีที่แล้ว +9

    i really respect how you actually showed how us to read the documentation. As a beginner most api docs were very overwhelming for me.

  • @jxggxr_dxv
    @jxggxr_dxv 4 ปีที่แล้ว +30

    I never subscribed to a channel faster in my life. In fact, I rarely subscribe... I only do it if I consider that all the creator's content would interest me.
    Thank you very much Corey for your time and effort.

  • @srh1034
    @srh1034 2 หลายเดือนก่อน +1

    What I loved the most is that how you worked with documentation which is essential and most challenging part when working with any API.

  • @suryatejasunny
    @suryatejasunny 4 ปีที่แล้ว +31

    I wish I had a teacher like you

    • @jag831
      @jag831 4 ปีที่แล้ว +10

      You do

  • @imadahmad104
    @imadahmad104 4 ปีที่แล้ว +98

    Your channel is always opened on my laptop.

    • @idopshik
      @idopshik 4 ปีที่แล้ว +4

      More than that. In case of bad connection I'm also using youtube-dl ! So his videos on my HardDrive too.

    • @liangcao4914
      @liangcao4914 4 ปีที่แล้ว +4

      @@idopshik Шерхе́бель More than that. In case of low battery I also download the audio file so that Corey's voice can keep playing for a long long time!

    • @techedcs
      @techedcs 4 ปีที่แล้ว +6

      😱🤣🤣🤣🤣
      More than that I saved @Corey's videos inside Retina above pupil and also saved copy of it in hypothalamus and prefrontal cortex....🥶

    • @obed818
      @obed818 2 ปีที่แล้ว

      @Sandeep Singh bro i have a tattoo of him 👍

    • @VilgotSmedberg
      @VilgotSmedberg 2 ปีที่แล้ว

      Still open? :)

  • @vishvips
    @vishvips 4 ปีที่แล้ว +10

    I am so grateful for all these real life practical videos. I never thought that I would be able to play with youtube data in less than 30 minutes 😁. Lot of times I lost interest figuring out where to start with projects like this. Step-by-step is really building up the confidence. Thanks again!!!

  • @TheNewTravel
    @TheNewTravel 4 ปีที่แล้ว +46

    Just a heads up for anyone doing this, don't forget that for TH-cam, your username is not the same as your custom channel url.
    Custom channel url is the one that you find when typing in your address, right after /c/ ....
    Your channel name, of course is what shows up when you type (mine's The New Travel)...
    But your username is something different! Actually, I don't even know what my username is...
    in this case I got this working by using "id = ' ' " instead of username... which is something different altogether!
    Anyway, hope that explanation made sense. Not sure why TH-cam made identifying channels so needlessly complicated haha

    • @madschedules
      @madschedules 4 ปีที่แล้ว +4

      Yes, "id='[channel id]'" worked for me! Thanks! :)

    • @jeremyone8875
      @jeremyone8875 4 ปีที่แล้ว +2

      yes, id makes more sense

    • @MaxMeinz
      @MaxMeinz 4 ปีที่แล้ว +1

      How do you get a channel id?

    • @madschedules
      @madschedules 4 ปีที่แล้ว +7

      @@MaxMeinz The easiest way to get your channel ID is to go to your channel homepage and look at your URL. Mine is th-cam.com/channels/azmLv83ahhXsQhws1ELDEA.html
      So as you can see, after the last forward slash is my channel ID.

    • @2radix774
      @2radix774 3 ปีที่แล้ว +1

      thanks dude

  • @ragavsathis
    @ragavsathis 4 ปีที่แล้ว +2

    I learned python by following your videos. Was waiting to start API automation. Thanks for your effort !!!

  • @alexk7110
    @alexk7110 4 ปีที่แล้ว +2

    I was looking for a fast way to clean up my 700+ "watch later" playlist just a couple of days ago. Now I can throw Python into the mix and make it even more interesting. Thank you for all the amazing tutorials, you're making life so much easier for us self taught folk!

    • @alexk7110
      @alexk7110 4 ปีที่แล้ว +1

      Just a heads-up for anyone trying to get the "Watch later" Playlist items on the TH-cam api, it won't work since Google closed that endpoint back in 2016, all your other private palylist requests work just fine.

  • @leoncruz9757
    @leoncruz9757 4 ปีที่แล้ว +7

    Best online Python tutor! Besides the excellent contents, your charming voice and clear articulation is so friendly to non-native English speakers🥰

  • @Ra131359
    @Ra131359 4 ปีที่แล้ว +3

    As a teacher myself, you are awesome in teaching new concepts in the easiest way. Thank you.

    • @coreyms
      @coreyms  4 ปีที่แล้ว

      Thanks!

  • @runtimeterror5365
    @runtimeterror5365 4 ปีที่แล้ว +1

    You are a great teacher sir.
    Your voice is so soothing that I play your videos as white noise. Not kidding.

  • @zangruver132
    @zangruver132 4 ปีที่แล้ว +16

    OMG I WAS LITERALLY JUST LEARNING THIS AND BANGING MY HEAD ON. THANK YOU!!

  • @BiffBifford
    @BiffBifford 4 ปีที่แล้ว +2

    Corey, I just downloaded a tutorial on this very topic last night! It's like you read the mind of thousands of python users and met the challenge! I am fresh off the treadmill and with a watermelon coconut water ready to dive right in... but first, I AM GOING TO HIT THAT THUMBS UP!

  • @CaioTeixeira19951
    @CaioTeixeira19951 4 ปีที่แล้ว +4

    The Google docs for their APIs must be a little confusing for who is starting, and you make it easy.
    Thanks Corey for all your vídeos i've upgraded my carreer watching to you! Greetings from Brazil

  • @flintskeen1828
    @flintskeen1828 4 ปีที่แล้ว +2

    Thanks Corey for sharing your knowledge. Not only do I learn from you but also enjoy the way you teach. You are a wonderful teacher.

  • @nadikapoudel3043
    @nadikapoudel3043 4 ปีที่แล้ว +3

    You made it so much easier to understand. The best tutor ever!!!!

  • @alphabetsalphabets5242
    @alphabetsalphabets5242 4 ปีที่แล้ว +2

    I have been having trouble with navigation on a documentation on anything really. But this video just showed me how to utilize the documentation or at least a general way to use the documentation. Thank you so much.

    • @coreyms
      @coreyms  4 ปีที่แล้ว +1

      Yeah, navigating documentation can always be a struggle for new APIs and libraries. Glad the video helped in this area!

  • @oludhe7
    @oludhe7 3 ปีที่แล้ว

    Why has this channel been self isolating from my recommendations. This would have saved me months of banging my head against the wall

  • @coderart__2802
    @coderart__2802 4 ปีที่แล้ว

    How dare, someone even dislikes your video. Your the best teacher i have ever found in my life. Awating for more and more videos of you.

  • @pckeyboardpiano6827
    @pckeyboardpiano6827 4 ปีที่แล้ว +1

    I am a worker , not a coder , but I found a really big help on your channel for my self learning . Thank you so much. Really hope someday I can become a software developer :)

  • @priyanshuverma5773
    @priyanshuverma5773 4 ปีที่แล้ว +5

    Best vid about the TH-cam api, ngl

  • @shaktird
    @shaktird 4 ปีที่แล้ว +1

    You speak very lucidly.

  • @davidobembe5302
    @davidobembe5302 4 ปีที่แล้ว

    The way you explain concepts is second to none. 🙌

  • @ujeshnada7281
    @ujeshnada7281 3 ปีที่แล้ว

    Best Python teacher I have seen so far.
    I do not know where do you live. But I would definitely like to meet you once in a life.

  • @UKImperium
    @UKImperium 4 ปีที่แล้ว

    Excellent video! I've been messing around with TH-cam trying to extract data myself. I Googled around when everyone was just recommending TH-cam API. I couldn't find a decent understanding way of setting up this API - your video really helped with this. Thanks again!

  • @maulanakamal6188
    @maulanakamal6188 3 ปีที่แล้ว

    your explanation is not only how to build, but also learn how to learn ,, I like it

  • @maverick3069
    @maverick3069 3 ปีที่แล้ว

    I'm so glad i found this channel yesterday!!

  • @fabiancetina3847
    @fabiancetina3847 4 ปีที่แล้ว +15

    God bless you Corey, waiting for amazing videos in machine learning

    • @archimedes4660
      @archimedes4660 4 ปีที่แล้ว

      Fax

    • @Jakub1989YTb
      @Jakub1989YTb 4 ปีที่แล้ว +3

      There's ton of those. I'd better if Corey sticked with this type of usefull scripts.

  • @yvzc4n
    @yvzc4n 4 ปีที่แล้ว +2

    You are the best. Big thanks for all the free content!

  • @santiagotorres6929
    @santiagotorres6929 4 ปีที่แล้ว +1

    You are by far the best teacher in the earth. Your videos are amazing, I've been following along your content and it's been so helpful, thank you dude.

  • @michealnd969
    @michealnd969 4 ปีที่แล้ว +11

    You are awesome.
    But it will be nice if you make series on django rest framework.
    During my schooling days, thenewboston was my favourite youtube channel.
    Now it's Corey Schafer. Your teaching style one in no other.
    GodBless, Hopefully soon one day i will be a patreon

  • @saladmaster3496
    @saladmaster3496 4 ปีที่แล้ว +1

    wow, i was just thinking about learning youtube api for fun, here you go, my man made it

  • @harinath_mishra
    @harinath_mishra 4 ปีที่แล้ว +4

    Thanks Corey Sir for providing video on yt Api

  • @ChengPhansivang
    @ChengPhansivang 4 ปีที่แล้ว

    His explain so beautifully and clearly, even his pronunciation is so clear I'm feeling so good for keep listen to him and enjoyable his tutorial.

  • @HaykTarkhanyan
    @HaykTarkhanyan 3 ปีที่แล้ว

    If i need to learn something python related you're my goto teacher. Thank you and great playlist.

  • @DanFMN
    @DanFMN 4 ปีที่แล้ว +2

    This video came just in time for my youtube discord bot! Thanks for the help.

  • @CMadisife
    @CMadisife 4 ปีที่แล้ว +1

    I was referred here from linkedIn. The travel was worth it and I'm grateful. Subscribed! alert = "All".

  • @sarbazkhurasani
    @sarbazkhurasani 4 ปีที่แล้ว

    today I was watching your python matplotlib video from jun 2019 :)) you talked about youtube api,Now you've created . you're the best corey thanksssss

  • @ARoundThing
    @ARoundThing 4 ปีที่แล้ว +10

    Hey Corey, I love that your videos are detailed and feel like something that one could learn by themselves. You are an excellent teacher. I've learned Django and Python because of you. The amount of details that you show in your tutorials helps me become more confident. Will you post videos relating to Machine Learning or Deep Neural Network using tensorflow? I am trying to find resources, but the official documentation is too much and the Harvard CS50 ones are really long and difficult to understand. Thank you.

    • @anneest
      @anneest 4 ปีที่แล้ว

      Hello there, try checking out deeplearning.ai courses on Coursera. You can check it out during one week for free before deciding to go for the paying plan (49USD per month, which I find ok, but it depends maybe if you have extra time to study and can move faster than the plan they propose).

  • @halim_Ha
    @halim_Ha 4 ปีที่แล้ว +1

    Corey you are the best I hope you are safe and healthy

  • @NachiketPusalkar
    @NachiketPusalkar 4 ปีที่แล้ว +2

    You are the best, Corey. Thank you so much.

  • @nithinalagesh1777
    @nithinalagesh1777 3 ปีที่แล้ว

    dude u are my life saver i was so confused about yt's api btw thx

  • @michaeldausmann6066
    @michaeldausmann6066 4 ปีที่แล้ว

    actually a super fantastic video, the google api docs are a bit of a maze, particularly around authentication...which i didn't even really need. thanks.

  • @smuchapreciated1959
    @smuchapreciated1959 3 ปีที่แล้ว

    you are a genious! thank ou . Now it works. I have tried to do this 3-4 times watching different videos. Even think I watched your video earlier but lost patience during the long documentation :P but now! it works :) thank you ! :)

  • @djuka8121
    @djuka8121 4 ปีที่แล้ว +1

    This is interesting and very useful! Nice Corey, can't wait for the next video!

  • @rahulkumarbarik7584
    @rahulkumarbarik7584 4 ปีที่แล้ว +2

    G.O.A.T Corey Schaefer 😎😎

  • @salarghaffarian4914
    @salarghaffarian4914 3 ปีที่แล้ว +1

    Hi Corey!
    First of all, I want to thank you so much for all the great contents you have made so far. I would say, I have learned 80% of my programming skill from your channel and use it as a great reference for myself all the time.
    This video also was very interesting and thank you for spending time on thinking and planning of creating such a great content.
    Second, I would say you are the best coding instructor not only on TH-cam, but also in the entire world by far. So, that would be great if you keep making great instructive and informative videos in the future.
    Many thanks.

  • @trespasserontheloose
    @trespasserontheloose 4 ปีที่แล้ว +1

    I watch yours and sentdex's channel all the time. Great video, Corey. Very informative.

  • @jaybit9947
    @jaybit9947 4 ปีที่แล้ว

    Would love some more web app tutorials. The flask series was one of my favorite tutorials ever! Extremely informative.

  • @saralgyaan
    @saralgyaan 4 ปีที่แล้ว +1

    Was waiting for it since long... Thanks a lot...

  • @anakhalal5803
    @anakhalal5803 4 ปีที่แล้ว

    Never. Never stop making these.

  • @superbunnybonkers9756
    @superbunnybonkers9756 4 ปีที่แล้ว +1

    This video was commented by me using the YT api!!!!!!!

  • @nikhilshingadiya7798
    @nikhilshingadiya7798 3 ปีที่แล้ว

    Thanks Corey ,this is my first api call and it's working

  • @jayasimhareddy2303
    @jayasimhareddy2303 4 ปีที่แล้ว +3

    your videos motivate me a lot, thanks Corey :)

  • @ivanowdenis
    @ivanowdenis 4 ปีที่แล้ว +2

    Wow, Corey. I just started to write a bot for youtube and than I see a notifications about your new video and it exactly about youtube )) I don't watch every your video because I don't have a lot of time, but this I watched for the last second. You are great python bloger(especially for beginners)

  • @VishvadeepGothi
    @VishvadeepGothi 4 ปีที่แล้ว +1

    Very Very interesting the video is.. Eagerly waiting for more videos..

  • @glocrowhurst
    @glocrowhurst 2 ปีที่แล้ว

    Simply incredible. Thank you for helping me understand how to find good info in the API's documentation!

  • @karthikmishra3188
    @karthikmishra3188 4 ปีที่แล้ว

    TH-cam : How better Python tutor u want?
    Corey : Yesssssss

  • @conscioussleeppill1093
    @conscioussleeppill1093 4 ปีที่แล้ว

    I am new member in your Subscriber list .. It is my fav channel

  • @absar66
    @absar66 4 ปีที่แล้ว +1

    👍👍👍 great

  • @FaithBiete
    @FaithBiete 4 ปีที่แล้ว +2

    I have learned a lot from your python tutorial.

  • @farhanhanavi3623
    @farhanhanavi3623 4 ปีที่แล้ว +1

    Need more of this!
    Thank you so much for making amazing videos.

  • @sillysully93
    @sillysully93 4 ปีที่แล้ว +3

    👑

  • @fjolublar
    @fjolublar 3 ปีที่แล้ว

    using your tutorials I created a python script to check a youtube music playlist and save deleted (and removed) videos and also added ones :)

  • @danexuss
    @danexuss 3 ปีที่แล้ว

    THX MAN. UR TUTOR IS WHAT I WAS LOOKING FOR!!!!

  • @DanielVerberne
    @DanielVerberne 3 ปีที่แล้ว

    Very good resource for me, a real beginner, much appreciated!

  • @KaushikPal
    @KaushikPal 4 ปีที่แล้ว +3

    Thanks sir

  • @maniji5756
    @maniji5756 4 ปีที่แล้ว

    Thanks a lot for all your tutorials ! All videos are very easy and clear to follow !

  • @karishmakaris7165
    @karishmakaris7165 4 ปีที่แล้ว +3

    sir can you please take classes creating Api using django

  • @raoai455
    @raoai455 4 ปีที่แล้ว

    Code worked exactly, A great introductory example.Please tell if possible How people or companies use these data to their benefit? Many heartfelt thanks.

  • @developerdomain369
    @developerdomain369 4 ปีที่แล้ว +1

    Please keep posting more for google apis

  • @andreyshevchenko5925
    @andreyshevchenko5925 4 ปีที่แล้ว +1

    Nice!Great Job.

  • @b00i00d
    @b00i00d 4 ปีที่แล้ว +2

    Great topic!

  • @MartinAaberge
    @MartinAaberge ปีที่แล้ว

    I know this is old looking at the sub count it printed for your channel :D I miss your stuff, but really enjoy watching the oldies. I want to use this to pull my stats and make a real-time youtube stats page. Might have to roll through all your Django tuts as well :D

  • @sunilkumargupta7980
    @sunilkumargupta7980 4 ปีที่แล้ว +1

    Awsome video. Literally love your content.

  • @vaibhavkrkm
    @vaibhavkrkm 4 ปีที่แล้ว +2

    Love your tutorials, they are really so cool💧👍👍

  • @yuningliu9659
    @yuningliu9659 ปีที่แล้ว

    This video is so helpful!! Thank you!

  • @CB-ym7vg
    @CB-ym7vg ปีที่แล้ว

    Thank you very much for the video and your fantastic style of teaching...

  • @brendaninglis_333
    @brendaninglis_333 ปีที่แล้ว

    This is an awesome tutorial!

  • @ganuwattamwar6617
    @ganuwattamwar6617 4 ปีที่แล้ว +1

    Your each fill me new drop knowledge in python.your contribution to us is splendid.youtube must support you , also encourage you do more video for us.
    Thanks coder God.🙏🙏🙌

  • @jonathanacuna
    @jonathanacuna 2 ปีที่แล้ว

    Soooo interesting. My brain is on fire

  • @rugmaable
    @rugmaable ปีที่แล้ว

    very informative and helpful. Great job and quality content indeed

  • @amazing-graceolutomilayo5041
    @amazing-graceolutomilayo5041 4 ปีที่แล้ว +1

    Yaay he got it to work. Thank you sir

  • @BorisNVM
    @BorisNVM 2 หลายเดือนก่อน

    This was extremely helpful

  • @rangabharath4253
    @rangabharath4253 4 ปีที่แล้ว +1

    Awesome. Thank u so much

  • @alfredsfutterkiste7534
    @alfredsfutterkiste7534 3 ปีที่แล้ว

    Honestly no I'm not sick of looking at the documentation I want to learn everything.

  • @Atlas-ck9vm
    @Atlas-ck9vm 4 ปีที่แล้ว

    This video is absolutely great.

  • @Hxmoudiii
    @Hxmoudiii หลายเดือนก่อน

    Tysm for helping im actually sending you this using the youtube api

  • @nhido9160
    @nhido9160 4 ปีที่แล้ว +1

    Hope you more video like this topic :3

  • @jazrg
    @jazrg 2 ปีที่แล้ว

    Very useful and detailed video. Thanks for posting it.

  • @wajdi1509
    @wajdi1509 4 ปีที่แล้ว +2

    Great!! Thank you

  • @ZOOSnippets
    @ZOOSnippets 4 ปีที่แล้ว +2

    This is helping me so much. Thank you for the vid about the TH-cam API!

  • @ankandatta4352
    @ankandatta4352 4 ปีที่แล้ว +2

    Thanks teach

  • @serkan_bayram
    @serkan_bayram 4 ปีที่แล้ว

    this is so great and explanatory video, keep going man

  • @rrahll
    @rrahll 4 ปีที่แล้ว +4

    Cool, thank you!

  • @meetakc
    @meetakc 4 ปีที่แล้ว +3

    Thanks :)

  • @digigoliath
    @digigoliath 2 ปีที่แล้ว

    Awesome!!! TQVM!!