REST API Crash Course - Introduction + Full Python API Tutorial

Sdílet
Vložit
  • čas přidán 20. 05. 2024
  • Start your software dev career - calcur.tech/dev-fundamentals 💯 FREE Courses (100+ hours) - calcur.tech/all-in-ones
    🐍 Python Course - calcur.tech/python-courses
    Timestamps:
    00:00 - Introduction
    05:15 - API App example
    09:15 - Why an API is important
    15:00 - HTTP methods
    16:45 - POST vs PUT
    20:56 - Consume the StackOverflow API
    27:44 - Setting up our own Python API
    31:13 - GET request setup
    32:04 - Database model setup for SQLAlchemy
    39:10 - GET data with query.all
    41:56 - GET data by ID with parameter
    44:19 - Developer tools network Intro
    45:03 - POST a new record
    47:15 - Postman Introduction
    49:21 - DELETE data
    51:46 - Conclusion
    ✅ Data Structures & Algorithms - calcur.tech/dsa-youtube
    ~~~~~~~~~~~~~~~ CONNECT ~~~~~~~~~~~~~~~
    ✉️ Newsletter - calcur.tech/newsletter
    📸 Instagram - / calebcurry
    🐦 Twitter - / calebcurry
    🔗 LinkedIn - / calebcurry
    ▶️ Subscribe - calcur.tech/subscribe
    👨🏻‍🎓 Courses - www.codebreakthrough.com
    ~~~~~~~~~~~~~~ SUPPORT ME ~~~~~~~~~~~~~~
    ↪ My Amazon Store - www.amazon.com/shop/calebcurry
    🅿 Patreon - calcur.tech/patreon-calebcurry
    🅖 GitHub Sponsors - github.com/sponsors/CalebCurry
    Ⓟ Paypal - paypal.me/calcur
    🅑 Bitcoin - 3HnF1SWTzo1dCU7RwFLhgk7SYiVfV37Pbq
    🅔 Eth - 0x350139af84b60d075a3a0379716040b63f6D3853
    📈 Buy Bitcoin - calcur.tech/crypto
    Reserve the Ruby Steel crypto rewards card and get a $25 bonus (use affiliate code "Caleb") - calcur.tech/crypto
    #python
  • Věda a technologie

Komentáře • 700

  • @codebreakthrough
    @codebreakthrough  Před 3 lety +76

    FREE REST API Notes - www.calcur.tech/notes-rest-api
    Timestamps:
    00:00 - Introduction
    05:15 - API App example
    09:15 - Why an API is important
    15:00 - HTTP methods
    16:45 - POST vs PUT
    20:56 - Consume the StackOverflow API
    27:44 - Setting up our own Python API
    31:13 - GET request setup
    32:04 - Database model setup for SQLAlchemy
    39:10 - GET data with query.all
    41:56 - GET data by ID with parameter
    44:19 - Developer tools network Intro
    45:03 - POST a new record
    47:15 - Postman Introduction
    49:21 - DELETE data
    51:46 - Conclusion

    • @corneliusjermainehightower7539
      @corneliusjermainehightower7539 Před 3 lety +4

      My biggest challenge is asking for help. When you never been on a team or in an office setting (Tractor-Trailer driver by day student by night)it’s really hard to get over the team of me mindset while in programming it’s more about teamwork because no one person has all the answers. Great video you really simply things.

    • @bazileus123
      @bazileus123 Před 2 lety

    • @raphaelmutili
      @raphaelmutili Před rokem

      Hi, nice tutorial on APIs... Is there a way to call an API url with IDs in between the ur and iterate all IDs and output all of them in a JSON format

    • @gardener_dad
      @gardener_dad Před rokem +1

      Thanks Caleb, great video. Using PC, needed to drop "activate" and just type: ".venv\Scripts\activate" & "set" instead of '"touch".

    • @rosiesingh145
      @rosiesingh145 Před 3 měsíci

      😊

  • @murjoshua
    @murjoshua Před 3 lety +292

    Not fancy, not over packed, just simple and very informative this is literally the best! Great Job

  • @Divyansh-Tiwari
    @Divyansh-Tiwari Před 3 lety +122

    Just heard the best definition of API.

  • @jisavarghese6003
    @jisavarghese6003 Před 2 lety +103

    I start sleeping 5 mnts to any videos other than yours. Didn't even get distracted for the entire hour. I love your way of teaching 🤗

    • @raymondmichael4987
      @raymondmichael4987 Před 2 lety +5

      Your comment made me watch this video to the end; such a good teacher.

    • @susanapalacios2881
      @susanapalacios2881 Před 2 lety +5

      I second this!

    • @pinkowl9752
      @pinkowl9752 Před 2 lety +2

      I feel like it's because he's constantly making eye contact. It's great!

    • @sahmedalee
      @sahmedalee Před rokem

      💯💯💯

    • @enigma_mysterium
      @enigma_mysterium Před rokem

      I guess you just need some good sleep :) just ake a good care of yourself

  • @andythesaxplayer
    @andythesaxplayer Před 3 lety +21

    Great video, Caleb! One of the most useful computing tutorials I've ever seen.

  • @BelethKing
    @BelethKing Před 3 lety +15

    and I am just coding my own APIs right now ,that couldn't be more perfect moment to upload such video Caleb. Big thanks!

  • @raghavdave1
    @raghavdave1 Před 3 lety +89

    One of the best videos on APIs, Full stack, 3 tier architecture, Middleware... Just superb!!!

  • @chetanjiva5997
    @chetanjiva5997 Před rokem

    I just watched this, and all I can say is WOW. This is the best one hour python training I’ve ever seen. It covers all the basics to get started with API’s. Thank you for doing this great video!

  • @its_kar
    @its_kar Před 2 lety +3

    I've watched a 100 videos of API's but this one explains it the best! Thanks man, your channel is a blessing!

  • @cirogoyeneche9400
    @cirogoyeneche9400 Před 3 lety +2

    Very clear. Both parts, theorical and practical, were excellent!
    Thanks for the amazing content!

  • @MrRhythmandsoul
    @MrRhythmandsoul Před 3 lety +2

    Extremely well presented. You have a knack which is rare. To explain concepts succinctly and clearly. The humour every now and then works brilliantly. thanks!

  • @hbioliveira
    @hbioliveira Před rokem +1

    I had to pause the video to come here and express my happiness. I already watched so many videos about the theme and none of them were so complete and so light to watch! Can't wait to watch more of your videos, Caleb! Thank you so much!

  • @angelperalta6124
    @angelperalta6124 Před 3 lety +49

    I normally watch courses in LinkedIn Learning due to the quality of the person teaching them. Let me say that you have talent. Only 15 minutes within the video and I like how you teach. Keep up the amazing work, please.

  • @noname89636
    @noname89636 Před 3 lety +33

    "A website is just a cover to the backend..." -- best way to explain what a website or application is. Great video!

  • @TheTreborMedia
    @TheTreborMedia Před rokem

    I've already watched over 20 videos on YT about API, but your video is stunning through the simplicity of explanation and accuracy of covering all crucial aspects of the API topic. Thanks for that, I hit a like with pleasure.

  • @rachelcokeley9762
    @rachelcokeley9762 Před 2 lety +5

    Caleb, I have been trying to understand Rest API's for a while now. Nothing seemed to click. Your videos are always so informative and funny. You make learning programming fun! thank you

  • @noecuyuch2388
    @noecuyuch2388 Před rokem +1

    Best crash course about REST API I have seen so far! You have talent to explain things that at first might seem hard

  • @travism2013
    @travism2013 Před 2 lety +6

    Majored in IT yet never had a really good intuitive understanding of how to create APIs. Not much courses did this though either but...I learned in Java for JSPs. Anyway, granted this was in python and used flask (which I haven't used before) I can clearly understand the basics of creating a Rest API now! Thank you for making this great video as it finally made me connect the dots/fill the gaps in my understanding of creating APIs and creating *REST* APIs.

  • @jancejancejance
    @jancejancejance Před rokem

    This was a phenomenal intro. I'm walking away with a very good understanding of how everything works together. And in less than an hour as well!

  • @thanhtrungnguyen4722
    @thanhtrungnguyen4722 Před 2 lety

    short and sweet, the video that I've been finding for such a long time. Thank you for your good work!

  • @JoolieEm
    @JoolieEm Před 2 lety +15

    Your sense of humour makes the video so much more pleasurable to watch :D I'm a software tester btw but I'd love to learn more about programming. Thank you for this course :)

  • @JoshKonoff1
    @JoshKonoff1 Před 3 lety +1

    Thank you for making this video. This was the most fun I've ever had in my life

  • @joannasolski2674
    @joannasolski2674 Před 3 lety +9

    That is an amazing and clear tutorial, I am really impressed how easily it comes to you explaining not always easy topics. Thanks!

  • @Leo-20067
    @Leo-20067 Před 2 lety +2

    Liked it. Simple, to the point, and succinct information in less than an hour video. Great job!

  • @youttookmyname
    @youttookmyname Před 2 lety +2

    I love this. Very clear and answers some basic questions. Thank you, Caleb.

  • @ashleyboykin2736
    @ashleyboykin2736 Před 2 lety

    This is awesome Caleb! This was the EASIEST explanation I've found on this, needed this refresher :) Excited to see more of your videos.

  • @PopeJohnPaul2
    @PopeJohnPaul2 Před 2 lety

    amazing video! I've been binging on REST API tutorial videos to get the hang of it and this one was the most comprehensive yet, thank you!!

  • @GraceKeyz
    @GraceKeyz Před 3 lety +1

    Thank you ... lots of technology covered in 1 video - python, python environment, rest, flask, alchemy, database setup, postman, etc... super helpful!

  • @xizhou6236
    @xizhou6236 Před 2 lety +3

    Before i always started with the highest rating for coding topics. Now, I always start with searching in Caleb's channel. If i can not find the topic i am interested in the channel, then I search for high rating videos in youtube. Caleb, You are so talented to explain complicated questions in a simple way. Thanks for your hard work. Best teacher !

  • @sdaiwepm
    @sdaiwepm Před rokem +1

    It took a few hours, and some googling where syntax has changed, but I got this working all the way through DELETE. Thanks for the fabulous learning!

  • @md.adnanali7352
    @md.adnanali7352 Před 3 lety +17

    WTH was that!! All confusion are cleared within 10 minutes. God bless you brother.

  • @WhoisNicko1
    @WhoisNicko1 Před 2 lety

    I love how you speak, and explain. You are not boring at all and you really make me want to listen every single word you say. Thanks man

  • @wadehinkle2186
    @wadehinkle2186 Před 3 lety +2

    You're cracking me up, super good job!

  • @Alex-ii3tv
    @Alex-ii3tv Před 3 lety

    Best content I've ever seen on this topic. great work!

  • @0x007A
    @0x007A Před 3 lety +1

    Exceptional REST API introduction with a complete practical tutorial to demonstrate functionality.

  • @varshakulkarni2503
    @varshakulkarni2503 Před rokem

    Love how you stick to the point and don't go about over-explaining!

  • @marieson7418
    @marieson7418 Před 3 lety +2

    This is very informative and detailed. Thank you so much! It was such a great tutorial😊

  • @Rzyassine
    @Rzyassine Před rokem

    Thank you for putting a smile on while I am going through these long hours of studying! This is the first video I watched from your channel and it won't be the last!

  • @KonamiNaru
    @KonamiNaru Před 2 lety +1

    Love this! You're saving my butt for an interview about API's!!! I want to learn more from you!!

  • @salmagamal5676
    @salmagamal5676 Před rokem

    THANK YOU!!
    This is exactly what I needed. It is so clear and so simple. honestly such a great job!

  • @margaritashamrakov
    @margaritashamrakov Před 3 lety +1

    Hi Caleb, I just want to thank you for teaching me. Really made my day.

  • @coyotemoon722
    @coyotemoon722 Před 3 lety +96

    For two years I've been trying to figure out what an API is. Today, thanks to you I finally know. And you described endpoints, REST, etc. You EXPLAINED what each of the fundamental concepts were instead of just banging out code for people to try to grasp. Great tutorial!
    I've subbed, and for the first time in my 15 years of watching CZcams I am clicking that bell icon. Thank you for everything you do.
    Sincerely,
    coyotemoonTV

    • @Cris18Martinez
      @Cris18Martinez Před 2 lety +4

      lmao two years sounds about right XD, this makes it so clear though

    • @tyjohnston5889
      @tyjohnston5889 Před rokem +2

      Omg yes. I started teaching myself SQLite to recover some data on an old computer I have. From there started learning Linux ------>Perl----->Python---->Networking and for some reason I've been hung up on APIs. Untilnow

    • @Alice8000
      @Alice8000 Před 9 měsíci

      also wrong

  • @htzfun
    @htzfun Před rokem

    Wanted to say that this is the most hands-on tutorial on API I've found so far.

  • @mbonuchinedu2420
    @mbonuchinedu2420 Před 2 lety +6

    This stackoverflow API'S is really awesome. You could literally build a database/dataset based of this available API for Natural language processing (NLP) analysis. How lovely 😍😊

  • @mai52273
    @mai52273 Před 3 lety

    Just signed in to give this video a thumbs up.
    This is very well explained!
    Thank you.

  • @user-ig4mg7go1s
    @user-ig4mg7go1s Před 2 lety

    Finally some usable video tutorial. Great job Caleb!

  • @abal11
    @abal11 Před 2 lety

    wow caleb one of the best explinations for API's that I have ever seen thank you so much!

  • @donmccann
    @donmccann Před 2 lety

    The walk-through on python and Flash was VERY helpful! Thank you for posting this!

  • @pgallovich
    @pgallovich Před 3 lety +1

    Awesome! Thank you so much Caleb! Always love your videos!

  • @MorrisMorrison-sj2ni
    @MorrisMorrison-sj2ni Před měsícem

    This is the best video on APIs. THANK YOU! Makes it make sense finally after sitting through other videos that didn't get me there.

  • @karimrako
    @karimrako Před 2 měsíci +2

    That's perfect man, Very simple and clean way

  • @hemilpatel925
    @hemilpatel925 Před 3 lety

    Super simple and up to the point explanation. WOW. Keep it up and thank you so much

  • @persiankat111
    @persiankat111 Před 3 lety +2

    Thank you SO much for making this!! Easily one of the most informative videos on APIs I’ve seen so far

  • @kashmirinomad
    @kashmirinomad Před 3 lety

    my first API class. Cheers mate!

  • @codingfire4222
    @codingfire4222 Před rokem

    You answered so many questions I had about apis in this video. Thank you! your content is great!

  • @romy1079
    @romy1079 Před 2 lety

    one of the best videos on APIs , amazing , thank you!

  • @TechMaster011
    @TechMaster011 Před rokem

    You are one of the best Tech Instructors in our world today bro. For some time now I have been trying to get into APIs but I just wasn't cracking it, I couldn't grasp the concept. Most lectures could start well but then get boring and convoluted along the way, and I would give up. But today that dark cloud has been removed, I see it clearly now, you have just opened a whole new path for me, a path of possibilities. May Jah bless you with more time here, so you can live to see your grand grand kids. Thanks🙌

  • @Velben
    @Velben Před 2 lety +1

    I lost a job opportunity because I didn't understand REST API's and now I completely get it. I am able to explain it to someone else. My issue was I didn't know the client server model and I was trying to watch your video; therefore, I was clueless still. I came back after learning this and everything instantly made sense to me.

  • @vihanprashant9702
    @vihanprashant9702 Před rokem

    Just stumbled across this video after getting thoroughly confused from the API section of my IBM course, thank you for your amazingly simple yet informative videos!

  • @Shimashimatchi_
    @Shimashimatchi_ Před 2 lety

    best rest api and flask video I've ever found, as a noob in this world you just given me hope! Thank you!

  • @bedo8341
    @bedo8341 Před 3 lety +1

    Never heard it that simple way before thanks Caleb!

  • @juliannafotheringham7101
    @juliannafotheringham7101 Před 11 měsíci

    AMAZING best video I've watched by far on API's. Caleb you are an absolute angel!

  • @theindynomad
    @theindynomad Před měsícem

    You're awesome mate.. I've rarely come across someone who is so natural and at ease when covering a technical topic. And the way you're slipping in a little humour is pretty fascinating. You're a funny guy and thats in a nice way.

  • @aishat3808
    @aishat3808 Před rokem

    Thank you so much. I can't believe how much I have learnt! The explanation was clear, a simple and understandable example was used and the course was short. Thanks.

  • @ironingbored
    @ironingbored Před 3 lety +19

    Hi Caleb. I've been used APIs for some time, in a debugging/test capacity. I'm moving into a pre-sales role and came here looking for a way to explain API functionality. Your definition is fantastic. Thanks so much for this course! Oh and also the C++ course.

    • @artistpw
      @artistpw Před rokem +3

      Here's how I described them to a judge. Basically, think about a phone app like Rosetta Stone. You're trying to learn French. All of that data isn't going to exist on your phone, so that's where the api comes in. The app on your phone makes a request to an api that fetches data from a big database somewhere.

  • @yaseentarek5819
    @yaseentarek5819 Před rokem +1

    I love you man. I really focus when you explain everything I like how you speak and explain everything. Thank you for your content and keep going

  • @user-wd4gl3qk2u
    @user-wd4gl3qk2u Před 2 lety

    my friend you've saved me!!! from a big question that i've search around web !!! kudos to you man!!! ,great explanation !! great video!!! cheers mate!!!

  • @Unchained74
    @Unchained74 Před 2 lety

    Best explanation of API I've seen. And I checked out a few people. Straight to the point. Thanks. Now I really understand API's.

  • @vladimirkraus1438
    @vladimirkraus1438 Před 2 měsíci +1

    The best explanation of this topic ever. Thank you!

  • @rajasekharbonthala
    @rajasekharbonthala Před 2 lety

    You are Awesome Caleb.
    Pretty Clear explanation.
    Perfect One, I have ever viewed.
    Thanks for your efforts. 🙂

  • @ilovedatfruitybooty9546

    17:00 just saving. This is a really comprehensive tutorial. Well done

  • @SOUNDOUSA1
    @SOUNDOUSA1 Před rokem

    One of the best videos I 've ever seen about APIs !

  • @JD-nd5zo
    @JD-nd5zo Před 3 lety

    Thanks for creating and sharing this content! Good stuff!

  • @mrslucininiz
    @mrslucininiz Před 2 lety

    What an amazing explanation of APIs, you're a great teacher.

  • @simonwilliamson4375
    @simonwilliamson4375 Před 2 lety

    Magnificently Done. Bravo, Caleb!!

  • @prophetjamz94
    @prophetjamz94 Před 2 lety

    Love these vids, love your channel. My new favorite tutorial channel. My second favorite Caleb lol

  • @khushimishra11010
    @khushimishra11010 Před 11 měsíci

    You've made this concept sound so easy, great way of teaching, the video was thoroughly interesting, thanks!

  • @philg578
    @philg578 Před 3 měsíci

    You do have a unique talent, being funny with a straight face and information is presented in a clear and concise manner and well layered so listeners can follow.

  • @964tractorboy
    @964tractorboy Před 3 lety

    A great tutorial. Thanks for spending your valuable time to create it.

  • @jonathanrice-exec11
    @jonathanrice-exec11 Před 8 měsíci

    Awesome video Caleb! This actually explained what I was looking for. Subscribed 👍

  • @techtantrik
    @techtantrik Před rokem

    Crisp and comprehensive, thank you!

  • @DevMadeEasy
    @DevMadeEasy Před 3 lety +4

    Nice content, thanks for sharing it!

  • @marka.200
    @marka.200 Před 2 lety +2

    Anyone who includes their mistakes gets my upvote. Great video!

  • @wadeprice7405
    @wadeprice7405 Před 3 lety

    Great content Caleb! Keep it coming!!!

  • @sagars861
    @sagars861 Před 3 lety +2

    You always bring out best explanation ❤️❤️❤️

  • @mytechnotalent
    @mytechnotalent Před 3 lety

    Really well put together Caleb great job!

  • @jairreal6905
    @jairreal6905 Před 2 lety

    This video has so many entertaining gems that keep making me crack up and grab my attention so I keep everything Caleb says 😆 Great job man 👏👏👏

  • @joshcee3362
    @joshcee3362 Před rokem +5

    Caleb, I've probably watched this video 4 times over the past 2 years and I gotta say THANK YOU.
    I use the first half of the video as a training tool for my team to understand how API works as we support a software platform with API integration. This information is invaluable to get someone from absolute beginner to someone who can actually pop into postman and play around a bit with API.
    Really great work!

    • @hmike54
      @hmike54 Před 11 měsíci

      great man, woul have loved to be among your team for the purpose of learning and motivations from peers of like minds ,if you don't mind can you drop me your twitter or facebook handle or whatsapp

  • @Vijay-Yarramsetty
    @Vijay-Yarramsetty Před 3 lety +1

    Thanks Caleb, you made it very simple!

  • @fara3093
    @fara3093 Před 7 měsíci +1

    Best tutorial i've watched thus far 👏🏿

  • @HurikaneTv
    @HurikaneTv Před 2 lety

    Caleb!! you were my first course on udemy, learning sql .. Glad to see you again!

  • @karissaexplainsitadhdstyle
    @karissaexplainsitadhdstyle Před 10 měsíci

    This is very helpful! Informative and adorable! thank you!

  • @armantech5926
    @armantech5926 Před rokem

    Wow, cool! Thank you for detailed tutorial!

  • @ryans.arnold3008
    @ryans.arnold3008 Před 2 lety

    Thanks for the really great content. After watching your tutorial I solved the issue I was dealing with in twenty minutes.

  • @user-tw6lr4xw6c
    @user-tw6lr4xw6c Před 10 měsíci

    The best API tutorial, simple, easy and very understandable, thank you Caleb.

  • @pierce5811
    @pierce5811 Před 2 lety

    Very good stuff. This helped me out so much trying to learn the basics of REST APIs. Really appreciate the awesome work!

  • @annietran8200
    @annietran8200 Před rokem

    Thank you. I've just watch this video less than 10 mins but i can understand more clearly about RESTful API more than all the time i spend to learn about it before. Good explain

  • @avitbrian4086
    @avitbrian4086 Před rokem

    It's now 3:34 in the morning and I discovered this video thinking I'll binge watch it and pretend I'm learning something like 've done on every other youtube tutorial. I thank you mate! you just made me fall in love with backend and so much more.
    Oh almost forgot to say that you're really funny! lmao I bet you get a lot of attention 😁 keep up the good work, Arigato!

  • @kimiyaabdollahi5153
    @kimiyaabdollahi5153 Před 3 lety

    the best definition of API i heard thank you

  • @ShreyasSinha
    @ShreyasSinha Před 8 měsíci +1

    Amazing and to the point video 👍