APIs Explained (in 4 Minutes)

Sdílet
Vložit
  • čas přidán 21. 05. 2023
  • Make sure you're interview-ready with Exponent's system design interview prep course: bit.ly/3ItwJKk
    Read our complete guide to system design interviews here: www.tryexponent.com/blog/syst...
    In this video, we explain how APIs work. APIs enable different applications to communicate with each other using requests and responses. They enable the seamless integration of different systems, functionalities, and services.
    Non-technical companies can benefit from APIs in the same way as technical companies. Web APIs deliver client requests and return responses via either JSON or XML over the internet.
    Chapters
    0:13 - What is an API?
    1:52 - Non-technical analogy for APIs
    2:45 - How do APIs work? (Web APIs)
    3:08 - HTTP request and response structure
    3:42 - Types of APIs
    Watch more system design videos here:
    - Meta engineering manager answers a rate limiter interview question: • System Design Mock Int...
    - Google SWE answers an algorithms interview question: • Google Software Engine...
    - Google TPM answers Tiktok system design interview question: • System Design Mock Int...
    - Flipkart EM “Design Amazon Prime Video” system design interview question: • System Design Intervie...
    👉 Subscribe to our channel: bit.ly/exponentyt
    🕊️ Follow us on Twitter: bit.ly/exptweet
    💙 Like us on Facebook for special discounts: bit.ly/exponentfb
    📷 Check us out on Instagram: bit.ly/exponentig
    📹 Watch us on TikTok: bit.ly/exponenttikttok
    ABOUT US:
    Did you enjoy this video? Want to land your dream career? Exponent is an online community, course, and coaching platform to help you ace your upcoming interview. Exponent has helped people land their dream careers at companies like Google, Microsoft, Amazon, and high-growth startups. Exponent is currently licensed by Stanford, Yale, UW, and others.
    Our courses include interview lessons, questions, and complete answers with video walkthroughs. Access hours of real interview videos, where we analyze what went right or wrong, and our 1000+ community of expert coaches and industry professionals, to help you get your dream job and more!

Komentáře • 171

  • @tryexponent
    @tryexponent  Před rokem +19

    Make sure you're interview-ready with Exponent's system design interview prep course: bit.ly/3ItwJKk

  • @nurulafsar3195
    @nurulafsar3195 Před 8 měsíci +232

    I've been programming for around 2 years now, and this was the first example that actually made the concept of an API stick in my head. The restaurant reservation analogy in particular was excellent.

  • @anuvabsaha5317
    @anuvabsaha5317 Před 2 měsíci +139

    The Hunt for 'What is API'? ended here. Huge Thanks!

  • @cthutu
    @cthutu Před 3 měsíci +69

    The term API is not just used for web development where a client sends a request to a server and a response is given back. In fact, the term API predates its use in the internet world. It basically just means a collection of functions that can be used to communicate with an appliation. For example, the Win32 API is used to talk to the Windows operating system. The OpenGL API is used to draw 3d graphics to the screen.
    The "API" concept explained in this video is a very specific use of the term "API".

    • @tryexponent
      @tryexponent  Před 2 měsíci +12

      Hey cthutu! That's a factual definition of API. Thanks for sharing!

  • @bhasinvaibhav007
    @bhasinvaibhav007 Před 3 měsíci +71

    This is by far the most clear and simple explanation of APIs I've come across. Thanks!

  • @KC-kp9nq
    @KC-kp9nq Před 3 měsíci +15

    Working in IT and my manager couldt even explain me API in simple words. Thank you!

  • @rkug777
    @rkug777 Před 6 měsíci +19

    Great analogy that stuck in my head! Keep making more of these please. Love the crisp narration in a clear, pleasant voice!

  • @sebwlim
    @sebwlim Před rokem +46

    best and most concise explanation of APIs I've seen on CZcams. Thank you!

  • @1anre
    @1anre Před rokem +79

    A Technically-minded PM is the coolest.

  • @johnochola4592
    @johnochola4592 Před 6 měsíci +16

    Short and sweet. Life would be much easier with these kinds of explanations. Thank you!

  • @Premssonglist
    @Premssonglist Před 2 měsíci +6

    Loved how simple and crisp was the explanation. The speaker eloquently presented the same 👍

  • @nikolayrusanov8714
    @nikolayrusanov8714 Před 25 dny +1

    The most comprehensive explanation of API I have ever seen!

  • @TheGreatDigitalism
    @TheGreatDigitalism Před 8 měsíci +8

    Fantastic video. Great analogies both simple and technical, yet concise.

  • @mimianti-stush231
    @mimianti-stush231 Před 7 měsíci +13

    Thank you for such a simple, practical, concise, non-technical and technical explanation. I am new to IT...and the analogy turned on a light bulb. I've subscribed to your channel!

  • @siddheshdivekar639
    @siddheshdivekar639 Před 2 měsíci +3

    most clear and simple explanation of APIs ever !

  • @jeff-creations
    @jeff-creations Před měsícem +2

    Brilliant, love the explanation. Here is a text version:
    Let's say you have a dinner reservation for tonight for three people but you want to change it to six.
    You call the restaurant and ask them if it's possible to do that and the customer service person says yes.
    That was simple - you called someone, made a request, and you got a response yes or no.
    Now, let's say that there wasn't a customer service person and that it was up to you to figure this out.
    You would need to know:
    • How many people have made reservations for the same time at this restaurant?
    • How many tables are free at that time?
    • What's their kitchen capacity, and wait staff capacity??
    All of these questions just to figure out whether you can add three more people to your reservation.
    That's a lot of unnecessary work on your part, work that you the customer have no expertise in.
    Not to mention that the restaurant has to reveal a lot of data to you, maybe even private data about
    who's eating there that night and who works there etc....
    In this analogy the restaurant is an application that provides a specific service or function, which is to feed you.
    You are an application that is trying to get fed with a group of friends.
    The customer service rep from the restaurant is the restaurant's API.
    Customer service is the API interface through which you can communicate with the restaurant and make requests
    like changing the number on a reservation, and you can do that without having to dive into the messy details about
    how restaurant reservations work or anything like that.

  • @suhailm8761
    @suhailm8761 Před 2 měsíci +3

    Just wow, very short and crisp to the points information, loved it

  • @TigerHills
    @TigerHills Před 2 měsíci +2

    this is one of the best examples i have ever seen for an API

  • @Hormoz.
    @Hormoz. Před 2 měsíci +1

    I have seen ALL API explanations and this is a more incisive and comprehensive introduction. ❤

  • @evanstayuka381
    @evanstayuka381 Před rokem +7

    This was so helpful - the best explanation of what an API is. Thanks Exponent.

  • @Nala-gr8on
    @Nala-gr8on Před 3 měsíci +3

    Greatly appreciate the way you explained this. It very hard for me to retain technical information, but the way you did it was amazing and I can finally fully understand this. New sub!

  • @glantedavid9728
    @glantedavid9728 Před 3 měsíci +61

    API is like a middleman 😂😂

  • @janarthkrishna5313
    @janarthkrishna5313 Před 19 dny

    I'm not a tech person and I've just started checking out programming languages. I've been coming across APIs like chat-gpt and more lately. I've been searching and reading about them, but it never really clicked for me. The restaurant analogy was the best and simplest explanation of APIs I've seen on CZcams. Thanks!

  • @abahiduh3246
    @abahiduh3246 Před 2 měsíci +1

    Your definition classically captures asynchronicity in a nutshell...best analogy for the concept of "Promises" and "Async await"

  • @wertertwertwet
    @wertertwertwet Před 19 dny

    This is actually really well explained. I needed this 3 years ago

  • @bigshuff
    @bigshuff Před 2 měsíci +2

    What a wonderful analogy, it will definitely stick with me. Respect!

  • @bazilonyayo
    @bazilonyayo Před 7 měsíci +2

    Perfect Explanation of APIs. Thank you so much Neamah

  • @LaughTale1999
    @LaughTale1999 Před měsícem +3

    I didn't understand API but i understood something else here -> i have to follow EXPONENT for sure 😁😁😁😁

  • @radhanmoodley5594
    @radhanmoodley5594 Před 3 měsíci +3

    You’re a star. Well presented. Most enjoyable

  • @ernieschwarcz9077
    @ernieschwarcz9077 Před 17 dny

    Clear, intuitive and well articulated. Excellent.

  • @FernandoVillalpandojr
    @FernandoVillalpandojr Před 2 měsíci +1

    Thank you. That was a fantastic breakdown of APIs

  • @santoshojha757
    @santoshojha757 Před měsícem

    The explanation was crisp and clear.. Thank You

  • @l3martin
    @l3martin Před 2 měsíci +1

    Very well explained - I lead a team that includes both developers and non-developers. This takes away to bridge one of the gaps between the team members.

  • @AM-dn4lk
    @AM-dn4lk Před 3 měsíci +2

    This is the best explanation on APIs I have ever heard. Thank you.

  • @flagger1
    @flagger1 Před 4 měsíci +2

    That analogy was just amazing

  • @josephamoappiah9536
    @josephamoappiah9536 Před 8 měsíci +1

    beat video I've seen concerning API's.

  • @eduardoligeiro2817
    @eduardoligeiro2817 Před 2 měsíci

    excellent, clear, with real life examples. Although i am IT guy, i found it simply awesome ! Congratulations

  • @Jerrel.A
    @Jerrel.A Před 2 měsíci +1

    Excellent Explained and Presented. Thanks!

  • @ambikeya_tech
    @ambikeya_tech Před měsícem

    Insightful breakdown! Concise yet comprehensive explanation of APIs. Your clarity makes complex concepts accessible.

  • @vish1211
    @vish1211 Před 2 měsíci +1

    So easy and well explained. Thank you.

  • @sportsboy5935
    @sportsboy5935 Před rokem +1

    awesome short video to grab whole concept with just a resturant call.

  • @Mohamed-xt1fp
    @Mohamed-xt1fp Před 3 měsíci +1

    Thanks for the simple explanation.

  • @Goforitmanager
    @Goforitmanager Před 2 měsíci +1

    Thank you, quite well explained even for beginners.

  • @marcozardo7014
    @marcozardo7014 Před 3 měsíci +1

    Really useful explanation! Thanks for sharing it!

  • @learningonline3648
    @learningonline3648 Před rokem +8

    The reservation analogy was really good. I have tried to use non-tech analogies to explain this topic but they would often not capture the concept fully. Thank you!

    • @tryexponent
      @tryexponent  Před rokem +1

      Hey Learning Online, glad you found the analogy useful! Feel free to use it in your future explanations.

  • @volkerherfeld3225
    @volkerherfeld3225 Před 14 dny

    Great video, concise, useful, clear. Thanks!

  • @NathanHarrison7
    @NathanHarrison7 Před 2 měsíci +1

    Excellent video. Thank you. I wish all instructors made learning this easy and fun. Subscribed.

  • @abishekbaiju1705
    @abishekbaiju1705 Před 11 měsíci +1

    Your explanations are excellent. Thanks for the good work

  • @RameshKumar-ng3nf
    @RameshKumar-ng3nf Před 3 měsíci +2

    Oh GOD, you explained such a complex thing to understand in such a simple way .
    I never understand about API until i saw this beautiful 4 min GREAT video 😊
    I am new to your channel and subscribed immediately 😊
    You are exremely talented , i found this channel is very useful.

  • @akbareqbal5134
    @akbareqbal5134 Před 2 měsíci +1

    thank you very simple explanation and very clear mind understandable.

  • @thesheikhfurqan
    @thesheikhfurqan Před 3 měsíci +1

    what an explanation... hats off to you

  • @rajvellaturi
    @rajvellaturi Před rokem +2

    Great explanation as usual!!

  • @younes-47
    @younes-47 Před 29 dny +1

    Your explanation is very coherant and well put. Using simple english and logic phrases you make the listner hooked and attentive. That is how explanation videos should be. Thank you so much ❤ liked and subbed

  • @ahmed_og1
    @ahmed_og1 Před 2 měsíci

    Best API explination yet

  • @vidyasagarnatarajan9789
    @vidyasagarnatarajan9789 Před měsícem

    Best and Most simple i have come across

  • @nilavasen8631
    @nilavasen8631 Před 21 dnem

    woow what a great exlanation.. I just got the API concept 100% clear. Thanks so much dear !!

  • @robertkelly5025
    @robertkelly5025 Před 11 dny

    You guys are freaking awesome. Thanks!

  • @kylemlsantos97
    @kylemlsantos97 Před 3 měsíci +1

    Exceptional explanation!

  • @karunakaranr2473
    @karunakaranr2473 Před měsícem

    Thank you for your time and effort. Explained well....

  • @zummamk
    @zummamk Před 2 měsíci +1

    Super useful and clear, thank you.

  • @tinasheguni8754
    @tinasheguni8754 Před 17 dny

    Well explained. Thank you

  • @mutungirodney
    @mutungirodney Před 3 měsíci +2

    Best example for API by far

  • @ryangulati5872
    @ryangulati5872 Před rokem +1

    Very clear, thanks!

  • @ihorradchenko7819
    @ihorradchenko7819 Před rokem +1

    I love this explanation! Thanks

  • @mariofernandez7624
    @mariofernandez7624 Před 25 dny

    Well explained, thanks for sharing!

  • @thanurprannavm7066
    @thanurprannavm7066 Před 3 měsíci +1

    Good Edit . Cool words. Mind-blowing Narration

  • @EllieLocsin
    @EllieLocsin Před měsícem

    I love this video. It is very clear, precise and super easy to understand especially for those who are not in a tech or no experience in tech. This makes me subscribe to your channel. ❤❤❤

  • @clementasare5781
    @clementasare5781 Před 7 měsíci +1

    Best explanation on API's, thanks much❤

  • @Coding-Just
    @Coding-Just Před 3 měsíci +1

    Excellent explanation
    thank you

  • @RealityCheck6969
    @RealityCheck6969 Před 7 měsíci

    Wow. Thx for this easily comprehendible video.

  • @raj_kundalia
    @raj_kundalia Před 17 dny

    This is a cool explanation!

  • @jucaguima
    @jucaguima Před 2 měsíci

    Very well explained!

  • @careervest
    @careervest Před 3 měsíci +1

    beautiful explanation.

  • @Here-Abdullah
    @Here-Abdullah Před 2 měsíci +1

    Your video is and your article is very helpful for me

  • @germangarciafernandez
    @germangarciafernandez Před 2 měsíci

    Best explanation ever...

  • @ganeshtpai
    @ganeshtpai Před 11 měsíci +1

    Well explained thank you 👍🏼

  • @prithvirana114
    @prithvirana114 Před 9 dny

    Great Explanation :)

  • @user-ug4dj1cq6t
    @user-ug4dj1cq6t Před 20 dny

    I loved her explanation 💐

  • @akashpatel-bs8ve
    @akashpatel-bs8ve Před rokem +3

    Crisp and clear ❤

  • @WaranVaithilingam
    @WaranVaithilingam Před měsícem

    Well explained thank you !

  • @edwardkawamba9047
    @edwardkawamba9047 Před 2 měsíci +1

    Well done with the presentation.

  • @user-ul2mt3de6t
    @user-ul2mt3de6t Před 3 měsíci +1

    Well explained and presented

  • @zamamadikizela8025
    @zamamadikizela8025 Před měsícem

    I really like how you explained it

  • @CustAndCode
    @CustAndCode Před měsícem

    I will probably use the restaurant thing myself in the future to explain an API! Thank you! 🤗🤩

  • @vivekbhojwani7575
    @vivekbhojwani7575 Před 14 dny

    thanks, well explained

  • @venkatpm2034
    @venkatpm2034 Před 3 měsíci

    Wonderful analogy

  • @papaglock6587
    @papaglock6587 Před 2 měsíci

    Great explanation 👌🏾

  • @DiscoverSalesforceWithGY
    @DiscoverSalesforceWithGY Před měsícem

    Nice and Simple explanation !!

  • @philomanbabuperam
    @philomanbabuperam Před 2 měsíci +1

    Well said madam....thank you for your valuable information....:)

  • @supremeomegacompany
    @supremeomegacompany Před 2 měsíci

    Wow basic and Explanatory!

  • @abh578
    @abh578 Před 4 dny +1

    mam you give very good information

  • @zacsamuel7295
    @zacsamuel7295 Před 3 měsíci +1

    thanks, very clear

  • @MarccelusEnoh
    @MarccelusEnoh Před 28 dny

    This was an excellent one.

  • @wisedonkey_
    @wisedonkey_ Před 19 dny

    Very good explanation

  • @severtone263
    @severtone263 Před 4 měsíci

    Great video. Thx !

  • @athirarkrishnan6697
    @athirarkrishnan6697 Před 26 dny

    Well explained !!

  • @be236
    @be236 Před 2 měsíci

    great explanation!

  • @blessed_human
    @blessed_human Před rokem

    Thank you very nicely explained 👍🏼🙂

  • @maneeshk2355
    @maneeshk2355 Před měsícem

    Loved it 💫

  • @user-fp8lc4cv6p
    @user-fp8lc4cv6p Před 2 měsíci

    great examples thank u