Build your first API in 10 minutes | API tutorial | FastAPI tutorial | Build API from scratch
ฝัง
- เผยแพร่เมื่อ 20 ธ.ค. 2024
- Build your first API in 10 minutes | API tutorial | FastAPI tutorial | Build API from scratch
#datascience #machinelearning #shorts
Hello ,
My name is Aman and I am a Data Scientist.
All amazing data science courses at most affordable price here: www.unfolddata...
Topics for the video:
Build your first API in 10 minutes
API tutorial
FastAPI tutorial
Build API from scratch
python api fastapi
fastapi in python
fastapi rest api
About Unfold Data science: This channel is to help people understand basics of data science through simple examples in easy way. Anybody without having prior knowledge of computer programming or statistics or machine learning and artificial intelligence can get an understanding of data science at high level through this channel. The videos uploaded will not be very technical in nature and hence it can be easily grasped by viewers from different background as well.
Book recommendation for Data Science:
Category 1 - Must Read For Every Data Scientist:
The Elements of Statistical Learning by Trevor Hastie - amzn.to/37wMo9H
Python Data Science Handbook - amzn.to/31UCScm
Business Statistics By Ken Black - amzn.to/2LObAA5
Hands-On Machine Learning with Scikit Learn, Keras, and TensorFlow by Aurelien Geron - amzn.to/3gV8sO9
Ctaegory 2 - Overall Data Science:
The Art of Data Science By Roger D. Peng - amzn.to/2KD75aD
Predictive Analytics By By Eric Siegel - amzn.to/3nsQftV
Data Science for Business By Foster Provost - amzn.to/3ajN8QZ
Category 3 - Statistics and Mathematics:
Naked Statistics By Charles Wheelan - amzn.to/3gXLdmp
Practical Statistics for Data Scientist By Peter Bruce - amzn.to/37wL9Y5
Category 4 - Machine Learning:
Introduction to machine learning by Andreas C Muller - amzn.to/3oZ3X7T
The Hundred Page Machine Learning Book by Andriy Burkov - amzn.to/3pdqCxJ
Category 5 - Programming:
The Pragmatic Programmer by David Thomas - amzn.to/2WqWXVj
Clean Code by Robert C. Martin - amzn.to/3oYOdlt
My Studio Setup:
My Camera : amzn.to/3mwXI9I
My Mic : amzn.to/34phfD0
My Tripod : amzn.to/3r4HeJA
My Ring Light : amzn.to/3gZz00F
Join Facebook group :
www.facebook.c...
Follow on medium : / amanrai77
Follow on quora: www.quora.com/...
Follow on twitter : @unfoldds
Get connected on LinkedIn : / aman-kumar-b4881440
Follow on Instagram : unfolddatascience
Watch Introduction to Data Science full playlist here : • Data Science In 15 Min...
Watch python for data science playlist here:
• Python Basics For Data...
Watch statistics and mathematics playlist here :
• Measures of Central Te...
Watch End to End Implementation of a simple machine learning model in Python here:
• How Does Machine Learn...
Learn Ensemble Model, Bagging and Boosting here:
• Introduction to Ensemb...
Build Career in Data Science Playlist:
• Channel updates - Unfo...
Artificial Neural Network and Deep Learning Playlist:
• Intuition behind neura...
Natural langugae Processing playlist:
• Natural Language Proce...
Understanding and building recommendation system:
• Recommendation System ...
Access all my codes here:
drive.google.c...
Have a different question for me? Ask me here : docs.google.co...
My Music: www.bensound.c...
FastAPIのシンプルで効率的なAPI構築方法がよく伝わってきました。わずかな時間で実際に動作するAPIを作成できるので、初心者でも安心して取り組めます。これからFastAPIを使ってさらに深く学んでいきたいと思います。ありがとうございました!
🎯 Key Takeaways for quick navigation:
00:00 🚀 *Introduction to API and FastAPI*
- Definition of API: Simplifying the concept of APIs as a way for one program to use the logic of another program.
- Basics of API: Explaining key terms like endpoint, API key, API request, and response types.
- FastAPI Demo: Introducing FastAPI with a simple machine learning model example for predicting survival based on age and sex.
04:35 🛠️ *Building Your Own API with FastAPI*
- FastAPI Installation: Installing FastAPI and demonstrating a simple rule-based machine learning model in a few lines of code.
- API Development Process: Using decorators and logic to create an API endpoint with FastAPI.
- Testing API: Running and testing the API using FastAPI's interactive documentation.
07:48 🖥️ *Consuming the API and API Gateway*
- Consuming API: Writing a script to consume the API and retrieve responses based on input parameters.
- API Gateway: Discussing the importance of gateways in API development and demonstrating an alternative method using a payload for data protection.
- Practical Considerations: Emphasizing the need for a running API to interact with and the secure handling of data in API requests.
10:36 🔐 *API Key and Final Remarks*
- API Key: Explaining the concept of API keys as a means to protect against misuse and ensure controlled access.
- Secure API Usage: Recommending the use of API keys and avoiding passing queries in the URL for better security.
- Homework Assignment: Encouraging viewers to host their machine learning model in an API, access it through a browser, and gain a practical understanding of API functioning.
Made with HARPA AI
I watched 1hour video to understand about Api. But i didnt understand. I watched this 12minute video and understood everything about Api. Thank you brother.
Thanks a lot. Welcome to unfold data science.
You are superb my friend. This is my first time creating API, and I managed to create a working one for myself. Thank you!
It made a lot more sense for me after watching this. Thank you brother.
The most helpful and in the simplest terms' video about API I've ever seen, I swear.
Thanks mate!
Your comments are my powerhouse. Keep writing , cheers.
Superb Aman, demonstrated in simple way and understood well, Thanks a lot...Can you please make series on Tensor flow
Yes, sure
I understood the beginning part really well. I really like how you explain things. It's hard to find good instructors about IT and you explain things like a teacher/educator. Thank you for that. Well done.
I have a question, right now I've watched til 6 minutes. I didn't understand how we went from adding two numbers to weather page? Why not use a page that does calculations? I didn't understand that jump or did I miss some logic there maybe?
Ok - we moved to API example, initial prt was context setting.
Good work, I subscribed
Excellent explanation mate . Thanks
Nice Explanation ❤
Really nice explanation 😍
Very nice basic e some to clear concept 👍
Thanks Piyush.
Very well explained . Thanks!
As i understood, we can build or call api in 2 ways 1. Get way
2. Put way
Get way: passing the data in url itself
Put way: we use pydantic package, from this we get base model, in this base model we give our input.
Is payload related to get way or put way, could you please clarify me
Related to put way
Wow I have understood APIS now... Thanks very much. However am requesting you to make a broader video explaining the second concept of using payload as it is more complex. Thanks in advance. Please tag me when you make the video.
Thank you for this tutorial. It was helpful for my work.
good job bro
Good explanation
Thanks for the useful information, just one feedback: Please try to cover topics in more detail .
Thanks for this man!
Thanks very good video for actually first steps to understanding the API ❤
supper way of teaching thank you
awesome. thank you so much!!!
You're welcome!
Ur too awesome ............ U shud be in IIT mumbai. 🙃🙃 Very Good ........... God bless u
sir please tell me how to Fetch Vehicle Details In Bulk - Get Vehicle Insurance Details | RC Details in Excel using Python please make a video on this topic
Thank You !
how to deploy this api so that it is accesible from everywhere
Thanks for the tutorial, I am having an issue when I am running the code from the prompt window, after I click on enter I am getting a pop up to select an application to open my app with! why is that?
Hi bro..is it like function calls in our programming language? Plzz respond.
Somewhat similar - yes
restapi and fastapi is same? reply please
No.
at 8:54 when u run the program returns Sruvive = 1, isn't that wrong? because the logic is if (age
its 'or' not 'and'
@@sliimjiim isn't & means and , || means 'or'
@@amrithMilW watch 5:17 he uses or operator. In python we use 'and' instead of & and 'or' instead of ||
Hi, thank you for great informative video, I have a challenge finding a local API hosted on our company website, is there any way to find it?
Thanks . I am a restful backend api tech lead . Wanted to learn this fastapi
hello I have some ideas but I don't know anything about code so I use no code tools and I had some ideas but I would like to know what you think
which Api Its Create Rest or Soap
Same doubt
?
Your question is not clear.
So in summary API is Json data?
I'm still confused sir.
Any body pls tel me how to reshedule my api 570 exam. When iam doing this its shows that, in location : any prometric cente. I haven't seen any i can choose
writing api in python only or else we can use other languages ,pl can u just reply me
Any language we can use to call api
thanks
While executing the unicorn app:Im getting the error 'error loading ASGI: Could not import module 'main'. Please help. Even the http 8000 URL is not opening for me
can someone help me make api for deepspeech model
Can anyone help me to build api...i am having real problem
what is your issue?
How to install visual studio code ? Is it free
Sir I create a api in node
How to I upload my api online
before start you said Addition two number, but in details you shown sex
Oh - I will check
Worst video on api dev sorry but I'm unliking the video😢
Ur not just serious 😊😊😊and this is how rubians war started 😂
It helped some think of it just be good or correct in a right way😊
Manual comment test
Thanks for watching
Thanks