REST API Crash Course - Introduction + Full Python API Tutorial

Поделиться
HTML-код
  • Опубликовано: 6 июн 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
  • НаукаНаука

Комментарии • 704

  • @codebreakthrough
    @codebreakthrough  3 года назад +80

    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 3 года назад +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 2 года назад

    • @raphaelmutili
      @raphaelmutili Год назад

      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 Год назад +1

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

    • @rosiesingh145
      @rosiesingh145 3 месяца назад

      😊

  • @murjoshua
    @murjoshua 3 года назад +295

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

  • @andythesaxplayer
    @andythesaxplayer 3 года назад +21

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

  • @BelethKing
    @BelethKing 3 года назад +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 3 года назад +90

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

  • @jisavarghese6003
    @jisavarghese6003 2 года назад +106

    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 2 года назад +5

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

    • @susanapalacios2881
      @susanapalacios2881 2 года назад +5

      I second this!

    • @pinkowl9752
      @pinkowl9752 2 года назад +2

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

    • @sahmedalee
      @sahmedalee Год назад

      💯💯💯

    • @enigma_mysterium
      @enigma_mysterium Год назад

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

  • @chetanjiva5997
    @chetanjiva5997 Год назад

    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 2 года назад +3

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

  • @hbioliveira
    @hbioliveira Год назад +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!

  • @TheTreborMedia
    @TheTreborMedia Год назад

    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.

  • @MrRhythmandsoul
    @MrRhythmandsoul 3 года назад +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!

  • @noname89636
    @noname89636 3 года назад +34

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

  • @rachelcokeley9762
    @rachelcokeley9762 2 года назад +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 Год назад +1

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

  • @angelperalta6124
    @angelperalta6124 3 года назад +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.

  • @WhoisNicko1
    @WhoisNicko1 2 года назад

    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

  • @coyotemoon722
    @coyotemoon722 3 года назад +97

    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 RUclips I am clicking that bell icon. Thank you for everything you do.
    Sincerely,
    coyotemoonTV

    • @Cris18Martinez
      @Cris18Martinez 2 года назад +4

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

    • @tyjohnston5889
      @tyjohnston5889 2 года назад +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 10 месяцев назад

      also wrong

  • @cirogoyeneche9400
    @cirogoyeneche9400 3 года назад +2

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

  • @Leo-20067
    @Leo-20067 2 года назад +2

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

  • @jancejancejance
    @jancejancejance Год назад

    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!

  • @ashleyboykin2736
    @ashleyboykin2736 2 года назад

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

  • @Divyansh-Tiwari
    @Divyansh-Tiwari 3 года назад +124

    Just heard the best definition of API.

  • @xizhou6236
    @xizhou6236 2 года назад +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 !

  • @varshakulkarni2503
    @varshakulkarni2503 Год назад

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

  • @thanhtrungnguyen4722
    @thanhtrungnguyen4722 2 года назад

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

  • @sdaiwepm
    @sdaiwepm Год назад +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!

  • @youttookmyname
    @youttookmyname 2 года назад +2

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

  • @JoolieEm
    @JoolieEm 2 года назад +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 :)

  • @ironingbored
    @ironingbored 3 года назад +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 Год назад +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.

  • @Rzyassine
    @Rzyassine Год назад

    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!

  • @pgallovich
    @pgallovich 3 года назад +1

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

  • @JoshKonoff1
    @JoshKonoff1 3 года назад +1

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

  • @PopeJohnPaul2
    @PopeJohnPaul2 2 года назад

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

  • @MorrisMorrison-sj2ni
    @MorrisMorrison-sj2ni 2 месяца назад

    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.

  • @KonamiNaru
    @KonamiNaru 2 года назад +1

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

  • @user-ig4mg7go1s
    @user-ig4mg7go1s 2 года назад

    Finally some usable video tutorial. Great job Caleb!

  • @travism2013
    @travism2013 2 года назад +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.

  • @htzfun
    @htzfun Год назад

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

  • @wadehinkle2186
    @wadehinkle2186 3 года назад +2

    You're cracking me up, super good job!

  • @Alex-ii3tv
    @Alex-ii3tv 3 года назад

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

  • @joshcee3362
    @joshcee3362 Год назад +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 Год назад

      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

  • @theindynomad
    @theindynomad Месяц назад

    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.

  • @margaritashamrakov
    @margaritashamrakov 3 года назад +1

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

  • @Velben
    @Velben 2 года назад +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.

  • @jonathanrice-exec11
    @jonathanrice-exec11 9 месяцев назад

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

  • @joannasolski2674
    @joannasolski2674 3 года назад +9

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

  • @0x007A
    @0x007A 3 года назад +1

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

  • @GraceKeyz
    @GraceKeyz 3 года назад +1

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

  • @donmccann
    @donmccann 2 года назад

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

  • @simonwilliamson4375
    @simonwilliamson4375 2 года назад

    Magnificently Done. Bravo, Caleb!!

  • @vihanprashant9702
    @vihanprashant9702 Год назад

    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!

  • @anonimettalontana4944
    @anonimettalontana4944 2 года назад

    I went from having a shallow idea of what an API was to having some basic working knowledge of one, its different methods, how to consume an API, and even how to create my own API. Thanks for the great content!!!
    You're not just a teacher, you're a pedagogue!

    • @arinaziz1070
      @arinaziz1070 2 года назад

      I need help in 28:00 , when I type "python3 -m venv .venv" I got an error, saying: Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases. so pls help me

  • @philg578
    @philg578 4 месяца назад

    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.

  • @juliannafotheringham7101
    @juliannafotheringham7101 11 месяцев назад

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

  • @TechMaster011
    @TechMaster011 Год назад

    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🙌

  • @khushimishra11010
    @khushimishra11010 11 месяцев назад

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

  • @Shimashimatchi_
    @Shimashimatchi_ 2 года назад

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

  • @codingfire4222
    @codingfire4222 Год назад

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

  • @TheEmperorXavier
    @TheEmperorXavier Год назад

    To be honest, this is the best API video on RUclips. And it’s not fancy and animated and have annoying labels with agendas

  • @karimrako
    @karimrako 3 месяца назад +2

    That's perfect man, Very simple and clean way

  • @mai52273
    @mai52273 3 года назад

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

  • @salmagamal5676
    @salmagamal5676 Год назад

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

  • @md.adnanali7352
    @md.adnanali7352 3 года назад +17

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

  • @kashmirinomad
    @kashmirinomad 3 года назад

    my first API class. Cheers mate!

  • @bedo8341
    @bedo8341 3 года назад +1

    Never heard it that simple way before thanks Caleb!

  • @prophetjamz94
    @prophetjamz94 2 года назад

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

  • @FaddahSteveYuetsuWolf
    @FaddahSteveYuetsuWolf Год назад

    Great course! Very helpful in learning to read & write APIs in Python & using Postman. Thank you, Caleb!

  • @user-wd4gl3qk2u
    @user-wd4gl3qk2u 2 года назад

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

  • @abal11
    @abal11 3 года назад

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

  • @mbonuchinedu2420
    @mbonuchinedu2420 2 года назад +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 😍😊

  • @marieson7418
    @marieson7418 3 года назад +2

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

  • @mytechnotalent
    @mytechnotalent 3 года назад

    Really well put together Caleb great job!

  • @Unchained74
    @Unchained74 2 года назад

    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.

  • @romy1079
    @romy1079 2 года назад

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

  • @SOUNDOUSA1
    @SOUNDOUSA1 Год назад

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

  • @wadeprice7405
    @wadeprice7405 3 года назад

    Great content Caleb! Keep it coming!!!

  • @jairreal6905
    @jairreal6905 2 года назад

    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 👏👏👏

  • @pierce5811
    @pierce5811 2 года назад

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

  • @aishat3808
    @aishat3808 Год назад

    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.

  • @HurikaneTv
    @HurikaneTv 2 года назад

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

  • @user-tw6lr4xw6c
    @user-tw6lr4xw6c 11 месяцев назад

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

  • @enthusefreelancer3440
    @enthusefreelancer3440 3 года назад

    Great job Caleb. Much greetings from Kenya!

  • @avitbrian4086
    @avitbrian4086 Год назад

    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!

  • @IronmanGuel
    @IronmanGuel 9 месяцев назад

    Didn’t finish watching yet, but I can just tell that this video is really what I needed. Your explanation is awesome. Thank you so much!

  • @mrslucininiz
    @mrslucininiz 2 года назад

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

  • @marka.200
    @marka.200 2 года назад +2

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

  • @yaseentarek5819
    @yaseentarek5819 Год назад +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

  • @Vijay-Yarramsetty
    @Vijay-Yarramsetty 3 года назад +1

    Thanks Caleb, you made it very simple!

  • @annietran8200
    @annietran8200 Год назад

    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

  • @hemilpatel925
    @hemilpatel925 3 года назад

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

  • @JD-nd5zo
    @JD-nd5zo 3 года назад

    Thanks for creating and sharing this content! Good stuff!

  • @dudefire
    @dudefire 2 года назад +1

    Never understood what an API is. After this vid, I'll probably remember it for the rest of my life. This dude is an Incredible teacher!

  • @alfredoa334
    @alfredoa334 2 года назад

    Great video!!! Congratulations. The best video on APIs I have ever watched. Thank you very much.

  • @vladimirkraus1438
    @vladimirkraus1438 2 месяца назад +1

    The best explanation of this topic ever. Thank you!

  • @chineduobianonwo6238
    @chineduobianonwo6238 2 года назад

    Caleb you are the best ur API CRASH COURSE is simplified i now understand how things work.

  • @rajasekharbonthala
    @rajasekharbonthala 2 года назад

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

  • @bikrams1250
    @bikrams1250 Год назад

    Brilliant people can take a complex topic and explain it simply and effortlessly. This is exatcly what you did here Caleb. Thank you for this video.

  • @dbelvi
    @dbelvi 2 года назад

    You are humorous! and your content is super easy to follow! Thank you..

  • @LSV7
    @LSV7 Год назад

    Thank you Caleb! Very informative and easy to comprehend 😊

  • @persiankat111
    @persiankat111 3 года назад +2

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