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

2023 ж. 2 Қаң.
152 591 Рет қаралды

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.unfolddatascience.com
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 :
facebook.com/groups/41022...
Follow on medium : / amanrai77
Follow on quora: www.quora.com/profile/Aman-Ku...
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.com/drive/folder...
Have a different question for me? Ask me here : docs.google.com/forms/d/1ccgl...
My Music: www.bensound.com/royalty-free...

Пікірлер
  • Thanks for the useful information, just one feedback: Please try to cover topics in more detail .

    @GauravGupta-vo4ii@GauravGupta-vo4ii8 ай бұрын
  • The most helpful and in the simplest terms' video about API I've ever seen, I swear. Thanks mate!

    @smartguy2842@smartguy28425 ай бұрын
    • Your comments are my powerhouse. Keep writing , cheers.

      @UnfoldDataScience@UnfoldDataScience5 ай бұрын
  • It made a lot more sense for me after watching this. Thank you brother.

    @the_80s_gamer@the_80s_gamer4 ай бұрын
  • 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@Squirrellium8 ай бұрын
    • Ok - we moved to API example, initial prt was context setting.

      @UnfoldDataScience@UnfoldDataScience8 ай бұрын
  • how to deploy this api so that it is accesible from everywhere

    @KrishnaShrivastava-pu4to@KrishnaShrivastava-pu4to8 ай бұрын
  • Superb Aman, demonstrated in simple way and understood well, Thanks a lot...Can you please make series on Tensor flow

    @satrasalaabi9676@satrasalaabi9676 Жыл бұрын
    • Yes, sure

      @UnfoldDataScience@UnfoldDataScience Жыл бұрын
  • 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.

    @yaekobbonke5704@yaekobbonke57049 ай бұрын
    • Thanks a lot. Welcome to unfold data science.

      @UnfoldDataScience@UnfoldDataScience9 ай бұрын
  • Thanks . I am a restful backend api tech lead . Wanted to learn this fastapi

    @subramanianchenniappan4059@subramanianchenniappan40595 ай бұрын
  • Thanks for this man!

    @JoelSamJohnson@JoelSamJohnson4 ай бұрын
  • 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?

    @ravneetgill86@ravneetgill86 Жыл бұрын
  • 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-jn2pt@almutabbil-jn2pt5 ай бұрын
  • 🎯 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@fairmeir4 ай бұрын
  • supper way of teaching thank you

    @senthilkumar5129@senthilkumar512911 ай бұрын
  • Thanks very good video for actually first steps to understanding the API ❤

    @wakeelkumarsah4476@wakeelkumarsah447623 күн бұрын
  • Thank You !

    @user-km6rm3td5r@user-km6rm3td5r11 күн бұрын
  • So in summary API is Json data? I'm still confused sir.

    @surojmaharjan5467@surojmaharjan54676 ай бұрын
  • Hi bro..is it like function calls in our programming language? Plzz respond.

    @pavithrav8418@pavithrav84189 ай бұрын
    • Somewhat similar - yes

      @UnfoldDataScience@UnfoldDataScience9 ай бұрын
  • 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

    @manjulachandrashekar1349@manjulachandrashekar134910 ай бұрын
    • Related to put way

      @anuragrajput68@anuragrajput687 ай бұрын
  • Very nice basic e some to clear concept 👍

    @piyushugale@piyushugale11 ай бұрын
    • Thanks Piyush.

      @UnfoldDataScience@UnfoldDataScience11 ай бұрын
  • awesome. thank you so much!!!

    @spicytuna08@spicytuna08 Жыл бұрын
    • You're welcome!

      @UnfoldDataScience@UnfoldDataScience Жыл бұрын
  • at 8:54 when u run the program returns Sruvive = 1, isn't that wrong? because the logic is if (age

    @amrithMilW@amrithMilWАй бұрын
  • Ur too awesome ............ U shud be in IIT mumbai. 🙃🙃 Very Good ........... God bless u

    @zameerahmed1775@zameerahmed17755 ай бұрын
  • 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@TechnicalEinstein16 күн бұрын
  • can someone help me make api for deepspeech model

    @SomeshRajvlogs@SomeshRajvlogs9 ай бұрын
  • 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

    @rohitpandey9920@rohitpandey99207 ай бұрын
  • Sir I create a api in node How to I upload my api online

    @balaji5703@balaji570321 күн бұрын
  • Thanks

    @kiranbakale8207@kiranbakale82072 ай бұрын
  • thanks

    @rahulshendre7089@rahulshendre70893 ай бұрын
  • writing api in python only or else we can use other languages ,pl can u just reply me

    @mechworld1588@mechworld1588 Жыл бұрын
    • Any language we can use to call api

      @UnfoldDataScience@UnfoldDataScience Жыл бұрын
  • 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

    @princephilip497@princephilip4972 ай бұрын
  • restapi and fastapi is same? reply please

    @kiranhinge22@kiranhinge22 Жыл бұрын
    • No.

      @UnfoldDataScience@UnfoldDataScience Жыл бұрын
  • which Api Its Create Rest or Soap

    @UjaychandraChandran@UjaychandraChandran Жыл бұрын
    • Same doubt ?

      @TechnicalAdarsh14@TechnicalAdarsh14 Жыл бұрын
    • Your question is not clear.

      @UnfoldDataScience@UnfoldDataScience10 ай бұрын
  • Can anyone help me to build api...i am having real problem

    @dnyaneshwarkaulwar6581@dnyaneshwarkaulwar658111 ай бұрын
    • what is your issue?

      @UnfoldDataScience@UnfoldDataScience10 ай бұрын
  • before start you said Addition two number, but in details you shown sex

    @nasiruiu@nasiruiu Жыл бұрын
    • Oh - I will check

      @UnfoldDataScience@UnfoldDataScience11 ай бұрын
  • Worst video on api dev sorry but I'm unliking the video😢

    @rajkumarmaurya2918@rajkumarmaurya291813 күн бұрын
  • Manual comment test

    @8885664452@88856644527 ай бұрын
    • Thanks for watching

      @UnfoldDataScience@UnfoldDataScience7 ай бұрын
KZhead