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

Поделиться
HTML-код
  • Опубликовано: 2 янв 2023
  • 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 :
    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...

Комментарии • 61

  • @the_80s_gamer
    @the_80s_gamer 6 месяцев назад +4

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

  • @GauravGupta-vo4ii
    @GauravGupta-vo4ii 10 месяцев назад +2

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

  • @satrasalaabi9676
    @satrasalaabi9676 Год назад +10

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

  • @sethupathyasokan7412
    @sethupathyasokan7412 Месяц назад +1

    Excellent explanation mate . Thanks

  • @subramanianchenniappan4059
    @subramanianchenniappan4059 7 месяцев назад

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

  • @almutabbil-jn2pt
    @almutabbil-jn2pt 8 месяцев назад +2

    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?

  • @JoelSamJohnson
    @JoelSamJohnson 7 месяцев назад

    Thanks for this man!

  • @evilgenius8444
    @evilgenius8444 Месяц назад +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.

  • @senthilkumar5129
    @senthilkumar5129 Год назад

    supper way of teaching thank you

  • @omg_kundan
    @omg_kundan Месяц назад +1

    Nice Explanation ❤

  • @smartguy2842
    @smartguy2842 7 месяцев назад +7

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

    • @UnfoldDataScience
      @UnfoldDataScience  7 месяцев назад +1

      Your comments are my powerhouse. Keep writing , cheers.

  • @Squirrellium
    @Squirrellium 10 месяцев назад +5

    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  10 месяцев назад +2

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

  • @yaekobbonke5704
    @yaekobbonke5704 Год назад +3

    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.

  • @KrishnaShrivastava-pu4to
    @KrishnaShrivastava-pu4to 11 месяцев назад +4

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

  • @wakeelkumarsah4476
    @wakeelkumarsah4476 3 месяца назад

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

  • @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?

  • @user-km6rm3td5r
    @user-km6rm3td5r 2 месяца назад

    Thank You !

  • @rohitpandey9920
    @rohitpandey9920 9 месяцев назад

    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

  • @piyushugale
    @piyushugale Год назад +3

    Very nice basic e some to clear concept 👍

  • @spicytuna08
    @spicytuna08 Год назад +1

    awesome. thank you so much!!!

  • @fairmeir
    @fairmeir 6 месяцев назад +5

    🎯 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

  • @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

  • @surojmaharjan5467
    @surojmaharjan5467 9 месяцев назад

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

  • @princephilip497
    @princephilip497 4 месяца назад

    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

  • @chrisder1814
    @chrisder1814 18 дней назад

    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

  • @pavithrav8418
    @pavithrav8418 Год назад +1

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

  • @zameerahmed1775
    @zameerahmed1775 7 месяцев назад

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

  • @mechworld1588
    @mechworld1588 Год назад

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

  • @balaji5703
    @balaji5703 3 месяца назад

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

  • @sethupathyasokan7412
    @sethupathyasokan7412 Месяц назад

    How to install visual studio code ? Is it free

  • @kiranbakale8207
    @kiranbakale8207 5 месяцев назад

    Thanks

  • @SomeshRajvlogs
    @SomeshRajvlogs 11 месяцев назад

    can someone help me make api for deepspeech model

  • @TechnicalEinstein
    @TechnicalEinstein 2 месяца назад

    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

  • @rahulshendre7089
    @rahulshendre7089 5 месяцев назад

    thanks

  • @kiranhinge22
    @kiranhinge22 Год назад +2

    restapi and fastapi is same? reply please

  • @amrithMilW
    @amrithMilW 3 месяца назад

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

    • @sliimjiim
      @sliimjiim День назад

      its 'or' not 'and'

    • @amrithMilW
      @amrithMilW День назад

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

    • @sliimjiim
      @sliimjiim День назад

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

  • @UjaychandraChandran
    @UjaychandraChandran Год назад +1

    which Api Its Create Rest or Soap

  • @dnyaneshwarkaulwar6581
    @dnyaneshwarkaulwar6581 Год назад +1

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

  • @nasiruiu
    @nasiruiu Год назад

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

  • @rajkumarmaurya2918
    @rajkumarmaurya2918 2 месяца назад

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

    • @MBAKIJUZIJUDAS
      @MBAKIJUZIJUDAS Месяц назад

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

    • @moraa6996
      @moraa6996 27 дней назад

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

  • @8885664452
    @8885664452 9 месяцев назад

    Manual comment test