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
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.
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
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
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.
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 :)
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
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.
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 !
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.
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.
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 😍😊
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!
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
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!
If you are getting the error: working outside of application. Then make sure you include ( app.app_context().push() ) after creating the db variable. Your code should look like this: app.config["SQLALCHEMY_DATABASE_URI"] = "sqlite:///data.db" db = SQLAlchemy(app) app.app_context().push()
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 :)
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!
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
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.
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.
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.
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!
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.
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!
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.
“A website is just a cover to the backend” - I felt a disturbance in the force. As if a million front end (react, anguilar, vue) developers suddenly screamed out in anger and then were silenced.
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!
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.
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!
Wao bro you great .. this is the best video ever and explanation i have seen online ... couple up with your pdf doc ... bro u just wonderful... once more thanks 🙏🙏🙏 ... also pls can u be my mentor !!!
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!
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!
I will admit, I started struggling to keep up with some of the information, but I must do my part and continue learning. The positive I got out of Caleb's video is watching and understanding how he shares and applies his knowledge of Python, JSON and REST API to his audience. Considering I had zero knowledge of JSON, REST API and Python 6 months ago, I feel a lot more confident now than before about the Python language and the data serialization language - JSON.
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!
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🙌
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
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
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!!!
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.
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 :)
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
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.
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
Thanks Caleb, great video. Using PC, needed to drop "activate" and just type: ".venv\Scripts\activate" & "set" instead of '"touch".
😊
Not fancy, not over packed, just simple and very informative this is literally the best! Great Job
wrong
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 🤗
Your comment made me watch this video to the end; such a good teacher.
I second this!
I feel like it's because he's constantly making eye contact. It's great!
💯💯💯
I guess you just need some good sleep :) just ake a good care of yourself
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
lmao two years sounds about right XD, this makes it so clear though
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
also wrong
One of the best videos on APIs, Full stack, 3 tier architecture, Middleware... Just superb!!!
"A website is just a cover to the backend..." -- best way to explain what a website or application is. Great video!
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.
Just heard the best definition of API.
and I am just coding my own APIs right now ,that couldn't be more perfect moment to upload such video Caleb. Big thanks!
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 :)
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
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.
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 !
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!
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.
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.
WTH was that!! All confusion are cleared within 10 minutes. God bless you brother.
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 😍😊
Great video, Caleb! One of the most useful computing tutorials I've ever seen.
I've watched a 100 videos of API's but this one explains it the best! Thanks man, your channel is a blessing!
That's perfect man, Very simple and clean way
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!
Anyone who includes their mistakes gets my upvote. Great video!
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!
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
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!
To be honest, this is the best API video on RUclips. And it’s not fancy and animated and have annoying labels with agendas
If you are getting the error: working outside of application. Then make sure you include ( app.app_context().push() ) after creating the db variable. Your code should look like this:
app.config["SQLALCHEMY_DATABASE_URI"] = "sqlite:///data.db"
db = SQLAlchemy(app)
app.app_context().push()
You are a hero
Thank you so much , God bless you brother !
I just finished the first 10 min and wanted to say what a wonderful explanations
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
Best tutorial i've watched thus far 👏🏿
Wanted to say that this is the most hands-on tutorial on API I've found so far.
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 :)
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!
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
The best explanation of this topic ever. Thank you!
Best crash course about REST API I have seen so far! You have talent to explain things that at first might seem hard
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.
Love this! You're saving my butt for an interview about API's!!! I want to learn more from you!!
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.
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.
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!
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.
Very helpful, you did a great job talking about the essential info and not getting sidetracked. Thank you.
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.
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!
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.
“A website is just a cover to the backend” - I felt a disturbance in the force. As if a million front end (react, anguilar, vue) developers suddenly screamed out in anger and then were silenced.
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!
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.
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!
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
If anyone here faced any None-Type error during post request use below code:
data = request.get_data()
data = json.loads(data.decode('utf-8'))
drink = Drink(name = data['name'], description = data['description'])
Dont forget to import json module
Thank you!
Thanks, that worked for me
Wao bro you great .. this is the best video ever and explanation i have seen online ... couple up with your pdf doc ... bro u just wonderful... once more thanks 🙏🙏🙏
... also pls can u be my mentor !!!
Hi, can you share the PDF link please, I don't see it in his description, thanks!
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!
Love how you stick to the point and don't go about over-explaining!
For web, build your backend in C#, rather than python. C# gives far superior runtime performance due to how it's compiled.
best rest api and flask video I've ever found, as a noob in this world you just given me hope! Thank you!
Finally someone able to clearly articulate this material
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!
i think i hit the subscribe button after only two minutes, simple and understandable😃👍
Liked it. Simple, to the point, and succinct information in less than an hour video. Great job!
You have a knack for explaining things.
How come this guy know everything about everything? I'm amazed...
I will admit, I started struggling to keep up with some of the information, but I must do my part and continue learning. The positive I got out of Caleb's video is watching and understanding how he shares and applies his knowledge of Python, JSON and REST API to his audience. Considering I had zero knowledge of JSON, REST API and Python 6 months ago, I feel a lot more confident now than before about the Python language and the data serialization language - JSON.
Exceptional REST API introduction with a complete practical tutorial to demonstrate functionality.
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!
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🙌
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
The stars have aligned 🌟 🤩
me too, you couldn't have said it better
what an amazing tutorial, even the implementation was easy to grasp!! just had some errors while creating and adding to the db
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
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!!!
This is The Best explanation of REST API on youtube !!!!!!!!!!!!!!
U learn best when u visualise things. This guy knows that.
AMAZING best video I've watched by far on API's. Caleb you are an absolute angel!
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.
Thanks for the really great content. After watching your tutorial I solved the issue I was dealing with in twenty minutes.
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 :)
Caleb you are the best ur API CRASH COURSE is simplified i now understand how things work.
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!
Beautiful and love the hands on examples
Thank you, Very much, I am from Network Engineering, people are going after APIs of network devices. and your video makes API more understandable.
The only video that I completed to the last second. This is concise and clear. Thanks
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.
this is the best video intruducing the REST API I ever found
Very clear. Both parts, theorical and practical, were excellent!
Thanks for the amazing content!
short and sweet, the video that I've been finding for such a long time. Thank you for your good work!
probably the best thing on the internet today
I love this. Very clear and answers some basic questions. Thank you, Caleb.
The best API tutorial, simple, easy and very understandable, thank you Caleb.
One of the best videos I 've ever seen about APIs !
This is the best video on Rest APIs and how to use them. A big thumbs up👍. Great tutorial.
You've made this concept sound so easy, great way of teaching, the video was thoroughly interesting, thanks!
Finally some usable video tutorial. Great job Caleb!
bruh holy shit long time no see, my guy. you are my hero.
Ur explanation is better than some professor I know. Good job.
You made it really easy to understand. Thanks so much for putting all efforts.
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!!
The authorisation and authentication process is a whole lot of beast for public exposed API'S. The stress of reading it's documentation is daunting.
It helped a lot. I saw many other videos but couldn't understand but you helped
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!
The explanation was amazing and so interesting to listen. it is clear now what are api's and what is REST.
Most appropriate way to learn. Hats off.
The walk-through on python and Flash was VERY helpful! Thank you for posting this!
i never noticed that Caleb is left handed till now. Nice!