Build your first API in 10 minutes | API tutorial | FastAPI tutorial | Build API from scratch

preview_player
Показать описание
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.

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:

Ctaegory 2 - Overall Data Science:

Category 3 - Statistics and Mathematics:

Category 4 - Machine Learning:

Category 5 - Programming:

My Studio Setup:

Join Facebook group :

Follow on twitter : @unfoldds

Follow on Instagram : unfolddatascience

Watch python for data science playlist here:

Watch statistics and mathematics playlist here :

Watch End to End Implementation of a simple machine learning model in Python here:

Learn Ensemble Model, Bagging and Boosting here:

Build Career in Data Science Playlist:

Artificial Neural Network and Deep Learning Playlist:

Natural langugae Processing playlist:

Understanding and building recommendation system:

Access all my codes here:

Рекомендации по теме
Комментарии
Автор

🎯 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

fairmeir
Автор

It made a lot more sense for me after watching this. Thank you brother.

the_s_gamer
Автор

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.

evilgenius
Автор

Superb Aman, demonstrated in simple way and understood well, Thanks a lot...Can you please make series on Tensor flow

satrasalaabi
Автор

Thanks for the useful information, just one feedback: Please try to cover topics in more detail .

GauravGupta-voii
Автор

Thanks . I am a restful backend api tech lead . Wanted to learn this fastapi

subramanianchenniappan
Автор

Thanks very good video for actually first steps to understanding the API ❤

wakeelkumarsah
Автор

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?

Squirrellium
Автор

The most helpful and in the simplest terms' video about API I've ever seen, I swear.
Thanks mate!

smartguy
Автор

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.

yaekobbonke
Автор

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?

almutabbil-jnpt
Автор

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?

ravneetgill
Автор

how to deploy this api so that it is accesible from everywhere

KrishnaShrivastava-puto
Автор

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

chrisder
Автор

So in summary API is Json data?
I'm still confused sir.

surojmaharjan
Автор

Very nice basic e some to clear concept 👍

piyushugale
Автор

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

manjulachandrashekar
Автор

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

TechnicalEinstein
Автор

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

rohitpandey
Автор

How to install visual studio code ? Is it free

sethupathyasokan