APIs Explained (in 4 Minutes)

Поділитися
Вставка
  • Опубліковано 21 тра 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!

КОМЕНТАРІ • 171

  • @tryexponent
    @tryexponent  Рік тому +19

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

  • @nurulafsar3195
    @nurulafsar3195 8 місяців тому +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 2 місяці тому +138

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

  • @cthutu
    @cthutu 3 місяці тому +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  2 місяці тому +12

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

  • @bhasinvaibhav007
    @bhasinvaibhav007 3 місяці тому +71

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

  • @KC-kp9nq
    @KC-kp9nq 3 місяці тому +15

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

  • @sebwlim
    @sebwlim Рік тому +46

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

  • @Premssonglist
    @Premssonglist 2 місяці тому +6

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

  • @rkug777
    @rkug777 6 місяців тому +19

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

  • @johnochola4592
    @johnochola4592 6 місяців тому +16

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

  • @nikolayrusanov8714
    @nikolayrusanov8714 24 дні тому +1

    The most comprehensive explanation of API I have ever seen!

  • @jeff-creations
    @jeff-creations Місяць тому +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.

  • @TheGreatDigitalism
    @TheGreatDigitalism 8 місяців тому +8

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

  • @1anre
    @1anre Рік тому +79

    A Technically-minded PM is the coolest.

  • @siddheshdivekar639
    @siddheshdivekar639 2 місяці тому +3

    most clear and simple explanation of APIs ever !

  • @mimianti-stush231
    @mimianti-stush231 7 місяців тому +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!

  • @Hormoz.
    @Hormoz. 2 місяці тому +1

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

  • @TigerHills
    @TigerHills 2 місяці тому +2

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

  • @evanstayuka381
    @evanstayuka381 Рік тому +7

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

  • @suhailm8761
    @suhailm8761 2 місяці тому +3

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

  • @janarthkrishna5313
    @janarthkrishna5313 17 днів тому

    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 UA-cam. Thanks!

  • @abahiduh3246
    @abahiduh3246 2 місяці тому +1

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

  • @bazilonyayo
    @bazilonyayo 7 місяців тому +2

    Perfect Explanation of APIs. Thank you so much Neamah

  • @Nala-gr8on
    @Nala-gr8on 3 місяці тому +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!

  • @l3martin
    @l3martin 2 місяці тому +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.

  • @santoshojha757
    @santoshojha757 Місяць тому

    The explanation was crisp and clear.. Thank You

  • @radhanmoodley5594
    @radhanmoodley5594 3 місяці тому +3

    You’re a star. Well presented. Most enjoyable

  • @ernieschwarcz9077
    @ernieschwarcz9077 16 днів тому

    Clear, intuitive and well articulated. Excellent.

  • @wertertwertwet
    @wertertwertwet 17 днів тому

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

  • @eduardoligeiro2817
    @eduardoligeiro2817 2 місяці тому

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

  • @abishekbaiju1705
    @abishekbaiju1705 11 місяців тому +1

    Your explanations are excellent. Thanks for the good work

  • @Mohamed-xt1fp
    @Mohamed-xt1fp 3 місяці тому +1

    Thanks for the simple explanation.

  • @bigshuff
    @bigshuff 2 місяці тому +2

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

  • @josephamoappiah9536
    @josephamoappiah9536 8 місяців тому +1

    beat video I've seen concerning API's.

  • @FernandoVillalpandojr
    @FernandoVillalpandojr 2 місяці тому +1

    Thank you. That was a fantastic breakdown of APIs

  • @AM-dn4lk
    @AM-dn4lk 3 місяці тому +2

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

  • @flagger1
    @flagger1 4 місяці тому +2

    That analogy was just amazing

  • @marcozardo7014
    @marcozardo7014 3 місяці тому +1

    Really useful explanation! Thanks for sharing it!

  • @Goforitmanager
    @Goforitmanager 2 місяці тому +1

    Thank you, quite well explained even for beginners.

  • @vish1211
    @vish1211 2 місяці тому +1

    So easy and well explained. Thank you.

  • @sportsboy5935
    @sportsboy5935 Рік тому +1

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

  • @Jerrel.A
    @Jerrel.A 2 місяці тому +1

    Excellent Explained and Presented. Thanks!

  • @akbareqbal5134
    @akbareqbal5134 2 місяці тому +1

    thank you very simple explanation and very clear mind understandable.

  • @glantedavid9728
    @glantedavid9728 3 місяці тому +60

    API is like a middleman 😂😂

  • @ambikeya_tech
    @ambikeya_tech Місяць тому

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

  • @LaughTale1999
    @LaughTale1999 Місяць тому +3

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

  • @volkerherfeld3225
    @volkerherfeld3225 12 днів тому

    Great video, concise, useful, clear. Thanks!

  • @karunakaranr2473
    @karunakaranr2473 Місяць тому

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

  • @RameshKumar-ng3nf
    @RameshKumar-ng3nf 3 місяці тому +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.

  • @clementasare5781
    @clementasare5781 7 місяців тому +1

    Best explanation on API's, thanks much❤

  • @learningonline3648
    @learningonline3648 Рік тому +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  Рік тому +1

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

  • @thesheikhfurqan
    @thesheikhfurqan 3 місяці тому +1

    what an explanation... hats off to you

  • @nilavasen8631
    @nilavasen8631 20 днів тому

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

  • @vidyasagarnatarajan9789
    @vidyasagarnatarajan9789 Місяць тому

    Best and Most simple i have come across

  • @RealityCheck6969
    @RealityCheck6969 7 місяців тому

    Wow. Thx for this easily comprehendible video.

  • @ahmed_og1
    @ahmed_og1 2 місяці тому

    Best API explination yet

  • @rajvellaturi
    @rajvellaturi Рік тому +2

    Great explanation as usual!!

  • @mutungirodney
    @mutungirodney 2 місяці тому +2

    Best example for API by far

  • @NathanHarrison7
    @NathanHarrison7 2 місяці тому +1

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

  • @mariofernandez7624
    @mariofernandez7624 24 дні тому

    Well explained, thanks for sharing!

  • @thanurprannavm7066
    @thanurprannavm7066 2 місяці тому +1

    Good Edit . Cool words. Mind-blowing Narration

  • @ihorradchenko7819
    @ihorradchenko7819 Рік тому +1

    I love this explanation! Thanks

  • @user-ug4dj1cq6t
    @user-ug4dj1cq6t 19 днів тому

    I loved her explanation 💐

  • @ryangulati5872
    @ryangulati5872 Рік тому +1

    Very clear, thanks!

  • @Coding-Just
    @Coding-Just 2 місяці тому +1

    Excellent explanation
    thank you

  • @kylemlsantos97
    @kylemlsantos97 3 місяці тому +1

    Exceptional explanation!

  • @zummamk
    @zummamk 2 місяці тому +1

    Super useful and clear, thank you.

  • @Here-Abdullah
    @Here-Abdullah 2 місяці тому +1

    Your video is and your article is very helpful for me

  • @zamamadikizela8025
    @zamamadikizela8025 Місяць тому

    I really like how you explained it

  • @blessed_human
    @blessed_human Рік тому

    Thank you very nicely explained 👍🏼🙂

  • @tinasheguni8754
    @tinasheguni8754 15 днів тому

    Well explained. Thank you

  • @younes-47
    @younes-47 28 днів тому +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

  • @ganeshtpai
    @ganeshtpai 11 місяців тому +1

    Well explained thank you 👍🏼

  • @robertkelly5025
    @robertkelly5025 10 днів тому

    You guys are freaking awesome. Thanks!

  • @EllieLocsin
    @EllieLocsin Місяць тому

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

  • @venkatpm2034
    @venkatpm2034 3 місяці тому

    Wonderful analogy

  • @careervest
    @careervest 2 місяці тому +1

    beautiful explanation.

  • @WaranVaithilingam
    @WaranVaithilingam Місяць тому

    Well explained thank you !

  • @abh578
    @abh578 3 дні тому +1

    mam you give very good information

  • @supremeomegacompany
    @supremeomegacompany 2 місяці тому

    Wow basic and Explanatory!

  • @germangarciafernandez
    @germangarciafernandez 2 місяці тому

    Best explanation ever...

  • @jucaguima
    @jucaguima 2 місяці тому

    Very well explained!

  • @user-ul2mt3de6t
    @user-ul2mt3de6t 3 місяці тому +1

    Well explained and presented

  • @philomanbabuperam
    @philomanbabuperam 2 місяці тому +1

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

  • @papaglock6587
    @papaglock6587 2 місяці тому

    Great explanation 👌🏾

  • @edwardkawamba9047
    @edwardkawamba9047 2 місяці тому +1

    Well done with the presentation.

  • @user-yr8jt9ry5j
    @user-yr8jt9ry5j 2 місяці тому

    Thank you great explanation

  • @user-fp8lc4cv6p
    @user-fp8lc4cv6p 2 місяці тому

    great examples thank u

  • @akashpatel-bs8ve
    @akashpatel-bs8ve Рік тому +3

    Crisp and clear ❤

  • @vivekbhojwani7575
    @vivekbhojwani7575 13 днів тому

    thanks, well explained

  • @isaacwhiz
    @isaacwhiz Місяць тому

    Precise explanations

  • @DiscoverSalesforceWithGY
    @DiscoverSalesforceWithGY Місяць тому

    Nice and Simple explanation !!

  • @prithvirana114
    @prithvirana114 8 днів тому

    Great Explanation :)

  • @raj_kundalia
    @raj_kundalia 16 днів тому

    This is a cool explanation!

  • @zacsamuel7295
    @zacsamuel7295 3 місяці тому +1

    thanks, very clear

  • @MarccelusEnoh
    @MarccelusEnoh 26 днів тому

    This was an excellent one.

  • @be236
    @be236 2 місяці тому

    great explanation!

  • @wisedonkey_
    @wisedonkey_ 18 днів тому

    Very good explanation

  • @padmakumar3803
    @padmakumar3803 2 місяці тому

    Well explained, Good job

  • @CustAndCode
    @CustAndCode 29 днів тому

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