An API is just an interface of callable functions. It can be a code library that simplifies some complex tasks, a web API (which is what this video talks about) or a bunch of functions that a running process on your computer exposes for other programs to interact with
This definition of API is completely in the context of web development. There are lots of non web based APIs provided by python packages for things like machine learning, scientific computing etc. and distinguishing between the two at the start of the video would be helpful for people from non web based backgrounds.
I was wondering the same thing… the notion of an API in computer science predates the internet by many, many years. All that low level stuff the browser is doing so users can run web apps? Yeah, generally exposed through platform API. 😊
great video, explain the concept in a simple manner, no fuzz, no-frills. I wish a video like this existed when I created my first API a couple of years ago.
Great presenter for every level learner! Your kind of tech people are rare. You are not only a outstanding performer in your profession but also a great presenter well organized and 100% clarity.
Nice video, as always, though I'd just suggest making a virtual environment (I know you know this, but the people watching/following the tutorial might not), especially since you're using python, so it's super easy :)
6 Years experience in every aspect computing and technology but somehow I never came across API development, very interesting. I've just been calling and calling them but never writing them
Ohhhh Iwatched it already, I'm giving a rewatch to it and look for a flask course. I can think of making my python scripts accessible from the web. Thats a super power.
I like all of Tech's videos.... However, I think the main take away from the comments is that the information is dijointed and confused. First, we have to accept that this is a advertisement for paid content and that this is a sponsored video. This is all very acceptable. The takeaway is that the content is created to give the viewer the vocabulary around Web-AP. This is not meant to be a roadmap to creating a web-api within an application. The only criticism is that the producers and writers used advanced coding techniques that do not make it easy for the intended audience to follow the workflow. This is not saying that a viewer should be able to code an web-api, its meant that the user can not follow the code workflow. In short, the writers could give a "what to expect" section on the front and make this video accessible.
sweet video dude,, you've honestly been helping me for like 4 years at least now with Python tutorials and school. I want to start getting into the field now but I dont know how to start. Thank you for your guides
Hey Tim, in this video you looked at creating APIs with Flask and the way it is done is mostly with functions and decorators but at the end of the video there was a recommendation to your full Flask API video. When I watched the full Flask API video it seemed to be using class based views, or just a completely different style to what is showed in the video. So could you make a new updated longer form tutorial on using Flask for creating APIs and in it could you discuss about whether to use classes or functions with annotations and if we should use one when we should. Thanks for this vid because I was really happy to learn how to get a simple API up and running with Python.
Great tutorial, followed along and it was easy to understand. I guess a great follow up would be a video explaining how to use this with a real example.
I was just thinking i will be need like this content .....and at same time you posted what a great time thanks for this tim very helpful .....i am working on projects flask
Fantastic tutorial! Concise yet comprehensive. Appreciate the step-by-step approach. Simplifies Python API creation. Thank you for sharing your expertise!
Great vid thanks. I think you might have missed some info if you can confirm. When you demo the GET request you're using the id:123, however we don't set that up so we can't repeat the steps as you have as you have presumably already created a user in this scenario?
problem with that is most people dont know what a dunder member is, so if you dont want to confuse the average learner then it’s better to use terms that theyll understand in the meantime
GET routes part is wrong. I get 404 error despite seemingly having identical code. What is unsaid in this part is that you need to type this address. It is quite confusing at first where in the code this get-user 123?extra="hello" is referenced and why base link which your server gives you suddenly stops working.
same here. Did you happen to get a solution? I cannot fathom, for the love of all that is holy, where 123 is coming from. Now I am debugging my first API.
At 8:33, I'm getting a 404 error. My url stops at :5000 and doesn't list 'get-user' etc. I went through the code letter by letter and can't find what I might be missing. Anyone have any ideas?
Your amazing - But why do you need to have som much speed in your tutorials ? I might be the only one thinking it would be nicer to have a slower rytm...
great video but i had to slow it down to .75 playback to keep up with what you were saying/doing, could you please slow it down for us beginners, as the info is valuable but i have to playback every 10 seconds
i tried the get part and got an error : The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
Hi @TechWithTim Please recommend a SAST & DAST tool specifically for Python based web application. I am aware that for web application we can use any available tool, however I am curious for only Flask and Django based web application.
Im not sure if thats a "my-perspective"-problem, because with Python API i actually thought u re going to teach how to write an API and not a REST APi :S if its not a "my-perspective"-problem, could u change the title to Rest API?
Whats next, show your skills? New ground level project 1. CodeCraft Duel: Super Agent Showdown 2. Pixel Pioneers: Super Agent AI Clash 3. Digital Duel: LLM Super Agents Battle 4. Byte Battle Royale: Dueling LLM Agents 5. AI Code Clash: Super Agent Showdown 6. CodeCraft Combat: Super Agent Edition 7. Digital Duel: Super Agent AI Battle 8. Pixel Pioneers: LLM Super Agent Showdown 9. Byte Battle Royale: Super Agent AI Combat 10. AI Code Clash: Dueling Super Agents Edition
Is there any way to change the name of C:\Users\Tim to C:\Users\Prateek, I have this problem in my laptop where it's name is 91700 and I wanna change it to prateek(my actual name)
i've recently watched your TH-cam video on why random generated numbers are not really random. I have a case that i've been working on figuring out. There is a Game that produces decimal generated numbers randomly and the play is for you to predict the next number that it will generate like it gives out 2.92, 1.65, 1.04, 3.75, 6.73, 1.53 ...... it may even reach 10000.0 some times. Is there a way that i can use those previous generated numbers to predict the next numbers that it will generate?
Rapidly build and deploy APIs in seconds with DreamFactory ! bit.ly/3M1TAP7
not another monthly subscription app
An API is just an interface of callable functions. It can be a code library that simplifies some complex tasks, a web API (which is what this video talks about) or a bunch of functions that a running process on your computer exposes for other programs to interact with
next video should be on how to deploy the sites, especially using free services like pythonanywhere
This definition of API is completely in the context of web development. There are lots of non web based APIs provided by python packages for things like machine learning, scientific computing etc. and distinguishing between the two at the start of the video would be helpful for people from non web based backgrounds.
Actually that’s a good point, an oversight from me, thanks for the feedback!
i was about to say the same. The video is great but not usefull for all purposes
Yeah, more like "REST API" 🙂
I was wondering the same thing… the notion of an API in computer science predates the internet by many, many years. All that low level stuff the browser is doing so users can run web apps? Yeah, generally exposed through platform API. 😊
I want to know Api for machine learning. Does anyone have good resources for it
thank you for being a huge part of the tech industry.. we appreciate you.
great video, explain the concept in a simple manner, no fuzz, no-frills. I wish a video like this existed when I created my first API a couple of years ago.
just love that you get to point fast and cover just enough details to get people going! Bravo!
Great presenter for every level learner! Your kind of tech people are rare. You are not only a outstanding performer in your profession but also a great presenter well organized and 100% clarity.
Appreciate that so much!
True
Nice video, as always, though I'd just suggest making a virtual environment (I know you know this, but the people watching/following the tutorial might not), especially since you're using python, so it's super easy :)
Read my mind
Hi
6 Years experience in every aspect computing and technology but somehow I never came across API development, very interesting. I've just been calling and calling them but never writing them
Very great start to building APIs with Python. Thanks Tim!
Ohhhh Iwatched it already, I'm giving a rewatch to it and look for a flask course. I can think of making my python scripts accessible from the web. Thats a super power.
Thanks for featuring DreamFactory in this video! Keep up the great work! 👍😊
Nice, simple, and right-to-the-point tutorial.
The delivery of the information was very clear, but I had difficulty understanding the "why" behind a lot of things you did in the video.
Exactly
This was such a great explanation of an API. Great editing too! Well done
Bro really taught web development in python in 12 minutes
No idea what you did there, since it's my first time using Flask, but it works. Thank you
I like all of Tech's videos.... However,
I think the main take away from the comments is that the information is dijointed and confused. First, we have to accept that this is a advertisement for paid content and that this is a sponsored video. This is all very acceptable.
The takeaway is that the content is created to give the viewer the vocabulary around Web-AP. This is not meant to be a roadmap to creating a web-api within an application. The only criticism is that the producers and writers used advanced coding techniques that do not make it easy for the intended audience to follow the workflow. This is not saying that a viewer should be able to code an web-api, its meant that the user can not follow the code workflow.
In short, the writers could give a "what to expect" section on the front and make this video accessible.
Thank you so much for this amazing video! Very clear and easy to follow. Keep up the great work!
Great introduction! I really appreciate it!
sweet video dude,, you've honestly been helping me for like 4 years at least now with Python tutorials and school. I want to start getting into the field now but I dont know how to start. Thank you for your guides
Hey Tim, in this video you looked at creating APIs with Flask and the way it is done is mostly with functions and decorators but at the end of the video there was a recommendation to your full Flask API video. When I watched the full Flask API video it seemed to be using class based views, or just a completely different style to what is showed in the video. So could you make a new updated longer form tutorial on using Flask for creating APIs and in it could you discuss about whether to use classes or functions with annotations and if we should use one when we should. Thanks for this vid because I was really happy to learn how to get a simple API up and running with Python.
I watched that video first and I was so confused before coming here
Simple and easy video. The video helped me debug my code! Thanks a lot!
Simple and to the point
Great tutorial, followed along and it was easy to understand. I guess a great follow up would be a video explaining how to use this with a real example.
I was just thinking i will be need like this content .....and at same time you posted what a great time thanks for this tim very helpful .....i am working on projects flask
Damn i remember when u had 20k. Time flies
Thank you so much Tim for your lessons! You helped me a lot to know more about Python amenities
Awesome Explanation❤
Best explanation I've seen yet. Everywhere else they speak of waiters and what not... This is it simple and to the point...
Fantastic tutorial! Concise yet comprehensive. Appreciate the step-by-step approach. Simplifies Python API creation. Thank you for sharing your expertise!
Very timely video! Thank you!
great video! I repeated all your steps and it worked very well! thanks!
Thanks, its a really good Video for starting with API 👍👍👍👍
thx a lot for the great tutorial!
Nice one Tim.. Thanks for sharing this great and wonderful content.. Hoping to see more beneficial videos on flask.
Thank you very much for sharing, very interesting topic! Keep it up 🔥
Thank you so much. I like yours tutorials
So clear.. thanks
Why not use FastAPI?
Great video, just the right amount of information at the right pace, and the name should be changed to say "in 10 Minutes".
Can you make a playlist in depth for beginners to advance
Great video like always Tim 👍🏽🍷
Thank you
just a note: when you call the api in the url, you do not need to put "extra" between quotes. ;)
I needed this vid, Thank you
Thank you so much for this video
Thank you sir!
so helpful!
Can you show post request with connecting with database, It will help full? Thank you
Great vid thanks. I think you might have missed some info if you can confirm. When you demo the GET request you're using the id:123, however we don't set that up so we can't repeat the steps as you have as you have presumably already created a user in this scenario?
I have this problem too
This is cool, what's the price?
I love flask
wow, this is way easier than nodejs with expressjs.
vary good video... Thanks
Thanks!
instead of saying "underscore underscore" you can say "dunder" which is double underscore
problem with that is most people dont know what a dunder member is, so if you dont want to confuse the average learner then it’s better to use terms that theyll understand in the meantime
You are a very good teacher I learn better from your ch.thanks🤞🏽
Great video!
Thanks so much
Brother Tim, do you have this course with Django please???
Great information. Thanks for sharing . How can we increase timeout for the api here as the default timeout is 1 minute ?
Which video editor do you use
Should’ve made this video with FastAPI it’s much better and easier
thanks so much. brilliat
GET routes part is wrong. I get 404 error despite seemingly having identical code. What is unsaid in this part is that you need to type this address. It is quite confusing at first where in the code this get-user 123?extra="hello" is referenced and why base link which your server gives you suddenly stops working.
I have the exact same problem, I'm scrolling through the comments for awnsers.
same here. Did you happen to get a solution? I cannot fathom, for the love of all that is holy, where 123 is coming from. Now I am debugging my first API.
nvm. got it to work. I missed the @ before app.route
Спасибо за понятное изложение материала
At 8:33, I'm getting a 404 error. My url stops at :5000 and doesn't list 'get-user' etc. I went through the code letter by letter and can't find what I might be missing. Anyone have any ideas?
I think you have to put in /get-user/123?extra="hello" in the url manually and then it works. I had the same issue.
@@awesomegirl5315 I'll give that a try, but doesn't that defeat the purpose of the code? Shouldn't it do that for you? Sorry if I sound ignorant. I am
Same problem...
Your amazing - But why do you need to have som much speed in your tutorials ? I might be the only one thinking it would be nicer to have a slower rytm...
youre not alone, i had to reduce the playback speed and he was STILL moving lightning fast lol
great video but i had to slow it down to .75 playback to keep up with what you were saying/doing, could you please slow it down for us beginners, as the info is valuable but i have to playback every 10 seconds
you got old but stil very good
Can you create api using python without framework like flask , diango
Use fast api and create apis even faster
What keyboard do you have?
Another great video :)
i tried the get part and got an error :
The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
Same error for me!
nice video and the beard suits you well.
Hi @TechWithTim Please recommend a SAST & DAST tool specifically for Python based web application. I am aware that for web application we can use any available tool, however I am curious for only Flask and Django based web application.
Would to do a REST API for python too?
Im not sure if thats a "my-perspective"-problem, because with Python API i actually thought u re going to teach how to write an API and not a REST APi :S
if its not a "my-perspective"-problem, could u change the title to Rest API?
Whats next, show your skills? New ground level project
1. CodeCraft Duel: Super Agent Showdown
2. Pixel Pioneers: Super Agent AI Clash
3. Digital Duel: LLM Super Agents Battle
4. Byte Battle Royale: Dueling LLM Agents
5. AI Code Clash: Super Agent Showdown
6. CodeCraft Combat: Super Agent Edition
7. Digital Duel: Super Agent AI Battle
8. Pixel Pioneers: LLM Super Agent Showdown
9. Byte Battle Royale: Super Agent AI Combat
10. AI Code Clash: Dueling Super Agents Edition
way of teaching is very complex
Someone would tell me the configuration of the font?? I loved it
why dont you use , pipenv? how can you push this to docker image?
Hi, Can requests be used to test and not postman??
great vid
Lean on
I wish I was this smart
And why dont you implement rest into it?
Is there any way to change the name of C:\Users\Tim to C:\Users\Prateek, I have this problem in my laptop where it's name is 91700 and I wanna change it to prateek(my actual name)
api is not only for database, can be instructing other devices to do something, might not even need a reply.
do I need to pay before using it
How do you install libraries without needing a venv
Cam someone explain m3 why do we do that?
how to open dream factory admin page?
Make a tutorial on Falcon microframework
i've recently watched your TH-cam video on why random generated numbers are not really random. I have a case that i've been working on figuring out. There is a Game that produces decimal generated numbers randomly and the play is for you to predict the next number that it will generate like it gives out 2.92, 1.65, 1.04, 3.75, 6.73, 1.53 ...... it may even reach 10000.0 some times. Is there a way that i can use those previous generated numbers to predict the next numbers that it will generate?
Hero❤❤❤
Nice.