REST API Crash Course - Introduction + Full Python API Tutorial

  Рет қаралды 1,038,160

Caleb Curry

Caleb Curry

Күн бұрын

Пікірлер: 749
@codebreakthrough
@codebreakthrough 4 жыл бұрын
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 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 3 жыл бұрын
@raphaelmutili
@raphaelmutili 2 жыл бұрын
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 Жыл бұрын
Thanks Caleb, great video. Using PC, needed to drop "activate" and just type: ".venv\Scripts\activate" & "set" instead of '"touch".
@rosiesingh145
@rosiesingh145 10 ай бұрын
😊
@murjoshua
@murjoshua 3 жыл бұрын
Not fancy, not over packed, just simple and very informative this is literally the best! Great Job
@Alice8000
@Alice8000 Жыл бұрын
wrong
@coyotemoon722
@coyotemoon722 3 жыл бұрын
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 KZbin I am clicking that bell icon. Thank you for everything you do. Sincerely, coyotemoonTV
@Cris18Martinez
@Cris18Martinez 2 жыл бұрын
lmao two years sounds about right XD, this makes it so clear though
@tyjohnston5889
@tyjohnston5889 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 Жыл бұрын
also wrong
@raghavdave1
@raghavdave1 4 жыл бұрын
One of the best videos on APIs, Full stack, 3 tier architecture, Middleware... Just superb!!!
@jisavarghese6003
@jisavarghese6003 3 жыл бұрын
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 3 жыл бұрын
Your comment made me watch this video to the end; such a good teacher.
@susanapalacios2881
@susanapalacios2881 3 жыл бұрын
I second this!
@pinkowl9752
@pinkowl9752 2 жыл бұрын
I feel like it's because he's constantly making eye contact. It's great!
@sahmedalee
@sahmedalee 2 жыл бұрын
💯💯💯
@enigma_mysterium
@enigma_mysterium Жыл бұрын
I guess you just need some good sleep :) just ake a good care of yourself
@noname89636
@noname89636 3 жыл бұрын
"A website is just a cover to the backend..." -- best way to explain what a website or application is. Great video!
@angelperalta6124
@angelperalta6124 3 жыл бұрын
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.
@xizhou6236
@xizhou6236 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 !
@Velben
@Velben 3 жыл бұрын
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.
@BelethKing
@BelethKing 4 жыл бұрын
and I am just coding my own APIs right now ,that couldn't be more perfect moment to upload such video Caleb. Big thanks!
@Divyansh-Tiwari
@Divyansh-Tiwari 4 жыл бұрын
Just heard the best definition of API.
@JoolieEm
@JoolieEm 3 жыл бұрын
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 :)
@rachelcokeley9762
@rachelcokeley9762 3 жыл бұрын
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
@sdaiwepm
@sdaiwepm Жыл бұрын
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!
@dudefire
@dudefire 2 жыл бұрын
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!
@its_kar
@its_kar 3 жыл бұрын
I've watched a 100 videos of API's but this one explains it the best! Thanks man, your channel is a blessing!
@TheEmperorXavier
@TheEmperorXavier Жыл бұрын
To be honest, this is the best API video on KZbin. And it’s not fancy and animated and have annoying labels with agendas
@hbioliveira
@hbioliveira 2 жыл бұрын
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!
@md.adnanali7352
@md.adnanali7352 3 жыл бұрын
WTH was that!! All confusion are cleared within 10 minutes. God bless you brother.
@ironingbored
@ironingbored 3 жыл бұрын
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 2 жыл бұрын
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.
@marka.200
@marka.200 3 жыл бұрын
Anyone who includes their mistakes gets my upvote. Great video!
@WhoisNicko1
@WhoisNicko1 3 жыл бұрын
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
@andythesaxplayer
@andythesaxplayer 3 жыл бұрын
Great video, Caleb! One of the most useful computing tutorials I've ever seen.
@philg578
@philg578 10 ай бұрын
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.
@htzfun
@htzfun 2 жыл бұрын
Wanted to say that this is the most hands-on tutorial on API I've found so far.
@noecuyuch2388
@noecuyuch2388 2 жыл бұрын
Best crash course about REST API I have seen so far! You have talent to explain things that at first might seem hard
@mbonuchinedu2420
@mbonuchinedu2420 3 жыл бұрын
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 😍😊
@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
@NikP_archive_channel
@NikP_archive_channel Жыл бұрын
Been watching YT for ~15 years now, but this is the very first tech video that cracked me up during the first 20 seconds 🤣 00:00:15 Thx for the mood! The lecture itself is of enormous usefulness, thx a lot for such rich content.
@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.
@theindynomad
@theindynomad 8 ай бұрын
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.
@joshcee3362
@joshcee3362 Жыл бұрын
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
@KonamiNaru
@KonamiNaru 2 жыл бұрын
Love this! You're saving my butt for an interview about API's!!! I want to learn more from you!!
@memoahmed156
@memoahmed156 7 ай бұрын
I just finished the first 10 min and wanted to say what a wonderful explanations
@karimrako
@karimrako 9 ай бұрын
That's perfect man, Very simple and clean way
@travism2013
@travism2013 3 жыл бұрын
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.
@syedrhaque765
@syedrhaque765 3 жыл бұрын
I love the way you present your content, as if its not my instructor but my buddy explaining things to me. Absolutely one of the best videos on the subject. Keep up the good work :)
@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!
@jakemcmahon2197
@jakemcmahon2197 3 жыл бұрын
Caleb is the best. If I would have traded my 4 year degree for his videos and then applying what I learned from them I would probably be farther ahead haha! Thanks for the great content as always, keep it up!
@syedrhaque765
@syedrhaque765 3 жыл бұрын
you must have gone to the wrong school :) but hey I did too, most of us went to schools and listened to highly paid college instructors and got almost nothing.
@MrRhythmandsoul
@MrRhythmandsoul 3 жыл бұрын
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!
@MorrisMorrison-sj2ni
@MorrisMorrison-sj2ni 8 ай бұрын
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.
@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!
@MD-td9yr
@MD-td9yr 5 ай бұрын
Caleb I love your humor and explanation. This is my like 4th field I am diving into and I am not bored at all! In fact I am, curious? You are really good at this!
@yaseentarek5819
@yaseentarek5819 Жыл бұрын
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
@TechMaster011
@TechMaster011 2 жыл бұрын
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🙌
@Shimashimatchi_
@Shimashimatchi_ 3 жыл бұрын
best rest api and flask video I've ever found, as a noob in this world you just given me hope! Thank you!
@elimiancaleb4058
@elimiancaleb4058 Ай бұрын
wow, coming across your channel for the first time and I must say I'm Impressed
@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!
@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
@nevenasterikova3335
@nevenasterikova3335 7 ай бұрын
Thank you so much for this. You explain in detail and already 15 mins into the tut, I love it. Tuts in udemy just fade in comparison. They just slap one definition and that's all. You go into the details, what works with what. Thumbs up.
@varshakulkarni2503
@varshakulkarni2503 2 жыл бұрын
Love how you stick to the point and don't go about over-explaining!
@bosshaug5672
@bosshaug5672 2 жыл бұрын
Finally someone able to clearly articulate this material
@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!
@jjhova
@jjhova Жыл бұрын
For the example at 27:35, json was imported, but was it used for anything? the json() is a method of request objects.
@watermanli
@watermanli 3 жыл бұрын
Thank you, Very much, I am from Network Engineering, people are going after APIs of network devices. and your video makes API more understandable.
@יגאלכהן-ע4נ
@יגאלכהן-ע4נ 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!!!
@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.
@manishaagarwal1
@manishaagarwal1 4 жыл бұрын
Thanks this is just what I needed 🤩 I was looking for videos to learn api and this video dropped. Thanks to your tutorials I have learned java and c++ . Thank you Caleb Curry
@codebreakthrough
@codebreakthrough 4 жыл бұрын
The stars have aligned 🌟 🤩
@vladimirkraus1438
@vladimirkraus1438 9 ай бұрын
The best explanation of this topic ever. Thank you!
@juliannafotheringham7101
@juliannafotheringham7101 Жыл бұрын
AMAZING best video I've watched by far on API's. Caleb you are an absolute angel!
@mbonuchinedu2420
@mbonuchinedu2420 3 жыл бұрын
Time 40:18 I'll convert to json object firstly by using the imported json module jsonify before rendering it back to the client. That's what i do most times when working with python-flask server side API'S.
@rohanrasal7096
@rohanrasal7096 3 жыл бұрын
This is The Best explanation of REST API on youtube !!!!!!!!!!!!!!
@chineduobianonwo6238
@chineduobianonwo6238 3 жыл бұрын
Caleb you are the best ur API CRASH COURSE is simplified i now understand how things work.
@satishkumarsajjan2132
@satishkumarsajjan2132 3 жыл бұрын
U learn best when u visualise things. This guy knows that.
@Leo-20067
@Leo-20067 2 жыл бұрын
Liked it. Simple, to the point, and succinct information in less than an hour video. Great job!
@fgiraffe8751
@fgiraffe8751 4 ай бұрын
Very helpful, you did a great job talking about the essential info and not getting sidetracked. Thank you.
@cup_noodl
@cup_noodl 3 жыл бұрын
36:26 - I did get an error - "ModuleNotFoundError: No module named 'flask'". Flask worked up until that point, its just the import command yielding the message. Any ideas what can be an issue here?
@0x007A
@0x007A 3 жыл бұрын
Exceptional REST API introduction with a complete practical tutorial to demonstrate functionality.
@fara3093
@fara3093 Жыл бұрын
Best tutorial i've watched thus far 👏🏿
@doit2404
@doit2404 Жыл бұрын
that's how teaching should be, straight to the point helpful informative and not intimidating and overwhelming, like einstein said, If you can't explain it to a six-year-old, then you don't understand it yourself. well done
@joannasolski2674
@joannasolski2674 3 жыл бұрын
That is an amazing and clear tutorial, I am really impressed how easily it comes to you explaining not always easy topics. Thanks!
@omglolgiraffe
@omglolgiraffe Жыл бұрын
At 34:30, why does he create the database after running the python command. Why couldnt he have created it in the terminal like everything else?
@ryans.arnold3008
@ryans.arnold3008 2 жыл бұрын
Thanks for the really great content. After watching your tutorial I solved the issue I was dealing with in twenty minutes.
@sameeruj
@sameeruj 2 жыл бұрын
This is the best video on Rest APIs and how to use them. A big thumbs up👍. Great tutorial.
@nicolahorst8529
@nicolahorst8529 3 жыл бұрын
one way to explain why drinks is in plural is, that its an collection of many drinks. The endpoint /drinks returns all of the existing drinks. So it makes somehow sense to name a collection in plural instead of singular. Awesome video btw :)
@gundarvarr1024
@gundarvarr1024 3 жыл бұрын
Ur explanation is better than some professor I know. Good job.
@thanhtrungnguyen4722
@thanhtrungnguyen4722 2 жыл бұрын
short and sweet, the video that I've been finding for such a long time. Thank you for your good work!
@jancejancejance
@jancejancejance 2 жыл бұрын
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!
@arinaziz1070
@arinaziz1070 2 жыл бұрын
Can someone help me at 28:46 cause when i type source .venv/bin/activate it gives me an error saying that, the term 'source' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
@codebreakthrough
@codebreakthrough 2 жыл бұрын
Are you on windows?
@arinaziz1070
@arinaziz1070 2 жыл бұрын
@@codebreakthrough yes I am
@AhmadFarhadGhaznawi
@AhmadFarhadGhaznawi Жыл бұрын
The best API tutorial, simple, easy and very understandable, thank you Caleb.
@satyajeetdeshpande5668
@satyajeetdeshpande5668 Жыл бұрын
The only video that I completed to the last second. This is concise and clear. Thanks
@khushimishra11010
@khushimishra11010 Жыл бұрын
You've made this concept sound so easy, great way of teaching, the video was thoroughly interesting, thanks!
@IronmanGuel
@IronmanGuel Жыл бұрын
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!
@ayesigasteven8058
@ayesigasteven8058 Жыл бұрын
i think i hit the subscribe button after only two minutes, simple and understandable😃👍
@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!!
@sirizalot
@sirizalot Жыл бұрын
28:38 I got stuck here. I get an error saying: "source : The term 'source' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again."
@lliy3261
@lliy3261 Жыл бұрын
Bro I have watched many videos related to API, and all of them are cool but your video is the best bro, you help me to understand the whole structure with a simple example. Thanks bro. keep moving forward. I will share your video on slack. 👍👍👍👍👍👍👍👍👍
@SOUNDOUSA1
@SOUNDOUSA1 2 жыл бұрын
One of the best videos I 've ever seen about APIs !
@dreadynerdy6382
@dreadynerdy6382 4 ай бұрын
12:42 won't you also need to make the changes in the json files..since you are changing the backend?? Like how would you GET a request if it's under a different variable ?
@bikrams1250
@bikrams1250 2 жыл бұрын
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.
@BennyHarassi
@BennyHarassi 2 жыл бұрын
I like this guy because he sounds like hes on the verge of tears everytime he speaks just like I am when I try to learn this stuff
@Given_A
@Given_A Ай бұрын
Now I understand what APIs are and how to consume them. Thanks Caleb.
@user-ig4mg7go1s
@user-ig4mg7go1s 3 жыл бұрын
Finally some usable video tutorial. Great job Caleb!
@diegodelsol1309
@diegodelsol1309 3 жыл бұрын
Very nice. Made me realize some errors in how I was thinking about APIs generally and how the programming them is more about the concept then the language itself. Thanks!
@aishat3808
@aishat3808 2 жыл бұрын
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.
@kristen_isten
@kristen_isten 3 жыл бұрын
I love this. Very clear and answers some basic questions. Thank you, Caleb.
@cirogoyeneche9400
@cirogoyeneche9400 3 жыл бұрын
Very clear. Both parts, theorical and practical, were excellent! Thanks for the amazing content!
@tingjunhu9695
@tingjunhu9695 2 жыл бұрын
this is the best video intruducing the REST API I ever found
@GraceKeyz
@GraceKeyz 3 жыл бұрын
Thank you ... lots of technology covered in 1 video - python, python environment, rest, flask, alchemy, database setup, postman, etc... super helpful!
@kelvinshumba5954
@kelvinshumba5954 2 жыл бұрын
probably the best thing on the internet today
APIs for Beginners - How to use an API (Full Course / Tutorial)
2:19:33
freeCodeCamp.org
Рет қаралды 4,4 МЛН
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН
Python FAST API Tutorial
58:20
Tech With Tim
Рет қаралды 345 М.
Request API data using Python in 8 minutes! ↩️
8:34
Bro Code
Рет қаралды 36 М.
The intro to Docker I wish I had when I started
18:27
typecraft
Рет қаралды 323 М.
What is a REST API?
9:12
IBM Technology
Рет қаралды 1,6 МЛН
Create A Python API in 12 Minutes
12:05
Tech With Tim
Рет қаралды 712 М.
5 Signs of an Inexperienced Self-Taught Developer (and how to fix)
8:40
FastAPI Tutorial - Building RESTful APIs with Python
1:03:10
Amigoscode
Рет қаралды 254 М.
How to build a REST API with Node js & Express
58:40
Programming with Mosh
Рет қаралды 1,8 МЛН
Why You NEED To Learn FastAPI | Hands On Project
21:15
Travis Media
Рет қаралды 171 М.
Learn JSON in 10 Minutes
12:00
Web Dev Simplified
Рет қаралды 3,3 МЛН
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН