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...

ความคิดเห็น • 70

  • @ChuanyiXia
    @ChuanyiXia 12 วันที่ผ่านมา

    FastAPIのシンプルで効率的なAPI構築方法がよく伝わってきました。わずかな時間で実際に動作するAPIを作成できるので、初心者でも安心して取り組めます。これからFastAPIを使ってさらに深く学んでいきたいと思います。ありがとうございました!

  • @fairmeir
    @fairmeir 11 หลายเดือนก่อน +6

    🎯 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

  • @yaekobbonke5704
    @yaekobbonke5704 ปีที่แล้ว +13

    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.

  • @positive.aa11
    @positive.aa11 29 วันที่ผ่านมา +1

    You are superb my friend. This is my first time creating API, and I managed to create a working one for myself. Thank you!

  • @the_80s_gamer
    @the_80s_gamer 11 หลายเดือนก่อน +4

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

  • @smartguy2842
    @smartguy2842 ปีที่แล้ว +8

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

    • @UnfoldDataScience
      @UnfoldDataScience  ปีที่แล้ว +1

      Your comments are my powerhouse. Keep writing , cheers.

  • @satrasalaabi9676
    @satrasalaabi9676 ปีที่แล้ว +10

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

  • @Squirrellium
    @Squirrellium ปีที่แล้ว +7

    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?

    • @UnfoldDataScience
      @UnfoldDataScience  ปีที่แล้ว +2

      Ok - we moved to API example, initial prt was context setting.

  • @maz2045
    @maz2045 3 หลายเดือนก่อน

    Good work, I subscribed

  • @sethupathyasokan7412
    @sethupathyasokan7412 5 หลายเดือนก่อน +1

    Excellent explanation mate . Thanks

  • @omg_kundan
    @omg_kundan 5 หลายเดือนก่อน +1

    Nice Explanation ❤

  • @ajaychaudhari8548
    @ajaychaudhari8548 2 หลายเดือนก่อน

    Really nice explanation 😍

  • @piyushugale
    @piyushugale ปีที่แล้ว +3

    Very nice basic e some to clear concept 👍

  • @pallavigupta3561
    @pallavigupta3561 3 หลายเดือนก่อน

    Very well explained . Thanks!

  • @manjulachandrashekar1349
    @manjulachandrashekar1349 ปีที่แล้ว +2

    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

  • @evilgenius8444
    @evilgenius8444 6 หลายเดือนก่อน +1

    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.

  • @jermesastudio
    @jermesastudio 4 หลายเดือนก่อน

    Thank you for this tutorial. It was helpful for my work.

  • @hagr90
    @hagr90 หลายเดือนก่อน

    good job bro

  • @dwijgurram5490
    @dwijgurram5490 3 หลายเดือนก่อน

    Good explanation

  • @GauravGupta-vo4ii
    @GauravGupta-vo4ii ปีที่แล้ว +2

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

  • @JoelSamJohnson
    @JoelSamJohnson 11 หลายเดือนก่อน

    Thanks for this man!

  • @wakeelkumarsah4476
    @wakeelkumarsah4476 7 หลายเดือนก่อน

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

  • @senthilkumar5129
    @senthilkumar5129 ปีที่แล้ว

    supper way of teaching thank you

  • @spicytuna08
    @spicytuna08 ปีที่แล้ว +1

    awesome. thank you so much!!!

  • @zameerahmed1775
    @zameerahmed1775 ปีที่แล้ว

    Ur too awesome ............ U shud be in IIT mumbai. 🙃🙃 Very Good ........... God bless u

  • @TechnicalEinstein
    @TechnicalEinstein 7 หลายเดือนก่อน

    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

  • @AanishaSethi
    @AanishaSethi 7 หลายเดือนก่อน

    Thank You !

  • @KrishnaShrivastava-pu4to
    @KrishnaShrivastava-pu4to ปีที่แล้ว +4

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

  • @almutabbil-jn2pt
    @almutabbil-jn2pt ปีที่แล้ว +3

    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?

  • @pavithrav8418
    @pavithrav8418 ปีที่แล้ว +1

    Hi bro..is it like function calls in our programming language? Plzz respond.

  • @kiranhinge22
    @kiranhinge22 ปีที่แล้ว +2

    restapi and fastapi is same? reply please

  • @amrithMilW
    @amrithMilW 8 หลายเดือนก่อน

    at 8:54 when u run the program returns Sruvive = 1, isn't that wrong? because the logic is if (age

    • @sliimjiim
      @sliimjiim 4 หลายเดือนก่อน

      its 'or' not 'and'

    • @amrithMilW
      @amrithMilW 4 หลายเดือนก่อน

      ​@@sliimjiim isn't & means and , || means 'or'

    • @sliimjiim
      @sliimjiim 4 หลายเดือนก่อน

      ​@@amrithMilW watch 5:17 he uses or operator. In python we use 'and' instead of & and 'or' instead of ||

  • @ravneetgill86
    @ravneetgill86 ปีที่แล้ว

    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?

  • @subramanianchenniappan4059
    @subramanianchenniappan4059 ปีที่แล้ว

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

  • @chrisder1814
    @chrisder1814 5 หลายเดือนก่อน

    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

  • @UjaychandraChandran
    @UjaychandraChandran ปีที่แล้ว +1

    which Api Its Create Rest or Soap

  • @surojmaharjan5467
    @surojmaharjan5467 ปีที่แล้ว

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

  • @princephilip497
    @princephilip497 9 หลายเดือนก่อน

    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

  • @mechworld1588
    @mechworld1588 ปีที่แล้ว

    writing api in python only or else we can use other languages ,pl can u just reply me

  • @rahulshendre7089
    @rahulshendre7089 10 หลายเดือนก่อน

    thanks

  • @rohitpandey9920
    @rohitpandey9920 ปีที่แล้ว

    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

  • @SomeshRajvlogs
    @SomeshRajvlogs ปีที่แล้ว

    can someone help me make api for deepspeech model

  • @dnyaneshwarkaulwar6581
    @dnyaneshwarkaulwar6581 ปีที่แล้ว +1

    Can anyone help me to build api...i am having real problem

  • @sethupathyasokan7412
    @sethupathyasokan7412 5 หลายเดือนก่อน

    How to install visual studio code ? Is it free

  • @balaji5703
    @balaji5703 7 หลายเดือนก่อน

    Sir I create a api in node
    How to I upload my api online

  • @nasiruiu
    @nasiruiu ปีที่แล้ว

    before start you said Addition two number, but in details you shown sex

  • @rajkumarmaurya2918
    @rajkumarmaurya2918 7 หลายเดือนก่อน +1

    Worst video on api dev sorry but I'm unliking the video😢

    • @SPIDA00
      @SPIDA00 5 หลายเดือนก่อน +1

      Ur not just serious 😊😊😊and this is how rubians war started 😂

    • @moraa6996
      @moraa6996 5 หลายเดือนก่อน +1

      It helped some think of it just be good or correct in a right way😊

  • @8885664452
    @8885664452 ปีที่แล้ว

    Manual comment test

  • @kiranbakale8207
    @kiranbakale8207 10 หลายเดือนก่อน

    Thanks