What is an API?

Поделиться
HTML-код
  • Опубликовано: 13 июн 2024
  • In this video I am going to break down exactly what an API is in both non-technical and technical terms. I am then going to go over a few examples of the most common forms of APIs that programmers interact with.
    Twitter:
    / devsimplified
    GitHub:
    github.com/WebDevSimplified
    CodePen:
    codepen.io/WebDevSimplified
    #API #WebDevelopment #Programming

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

  • @yashagarwal7944
    @yashagarwal7944 4 года назад +84

    Wasted hours in looking for video to understand API, landed up on this video and understood in 2 minutes, great example of a restaurant never gonna forget it... easy to remember!

    • @WebDevSimplified
      @WebDevSimplified  4 года назад +5

      I'm really glad I could help. If only you found my video first 😜

  • @nsharma4981
    @nsharma4981 3 года назад +8

    Your analogies are always so good! I love these short explanation videos, they pack so much punch in just a few minutes. Thanks a lot for the helpful video, Kyle 😊

  • @ali-celebi
    @ali-celebi 5 лет назад +54

    I find your videos really useful. Your ability to explain various concepts in an easy to understand way is great! You're really talented. Please keep the videos coming! Thanks a lot.

    • @WebDevSimplified
      @WebDevSimplified  5 лет назад +9

      Thank you so much. My goal with this channel is to make the complex simple and I am really glad I was able to do that for you.

  • @chookingvid
    @chookingvid 3 года назад +5

    Thank you for actually providing a correct definition of an API. The majority of web developers seem to think that API is a synonym for middleware, which it isn't.

  • @developedbyed
    @developedbyed 5 лет назад +122

    But I want peanut butter and jelly...do I need to hack them?

    • @WebDevSimplified
      @WebDevSimplified  5 лет назад +64

      Yes. The easiest way to do this is to swipe up, up, down, down, left, right, left, right on the menu and then touch the first item you see with an A in the name and another item with a B in the name. This will unlock infinite peanut butter and jelly sandwiches.

    • @let_go429
      @let_go429 4 года назад

      @@WebDevSimplified LOL chef played Grande Theft Auto b4. But I think cheat codes are a form of API right?

    • @rameshsrivastavachandra
      @rameshsrivastavachandra 4 года назад

      @@WebDevSimplified which menu?where?

    • @hackerbee8572
      @hackerbee8572 4 года назад

      @web-dev-simplified LOL

    • @alimedani0296
      @alimedani0296 4 года назад

      @@let_go429 I believe so, because it is another section

  • @saritadas7716
    @saritadas7716 4 года назад +4

    i cant tell you how thankful iam . you saved me a ton of time and headaches of watching fifty freaking same videos on API... I really wish i could watch your videos on promises, call backs and ajax things at one place and also in a sequence to understand it really good. But this is the beauty of your video that its short and very much understandable..thanks man.keep up the good work.i wish you millions of subscribers..i forwarded it to atleast 50.i hope they forward it to another 50 and so on. big THANK YOU :)

  • @AntonySantoshGeorge
    @AntonySantoshGeorge 2 года назад +1

    Your restaurant analogy made things really simple. Glad I stumbled upon this channel.

  • @mercysparks1403
    @mercysparks1403 3 года назад

    I have watched over 20 videos about the Api explanation this is the only one explains in such clear way and short ! Nice

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

    Very nice and concise explanation on what an API is. Thank you!

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

    My searches end with this channel's name just so I can access you tutorials first. Thank you for such clear explanations.

  • @SuperVishwateja
    @SuperVishwateja 3 года назад

    Your way of explanation is very clear!! You really helped me brother!! Thanks and may good things be with you.

  • @BookOfMorman
    @BookOfMorman 2 года назад

    This video is referenced in my FullStack course. Great vid and great channel!

  • @priyamahato5802
    @priyamahato5802 3 года назад

    love the way you make things simple. thank you

  • @Didier-cu6cb
    @Didier-cu6cb 10 месяцев назад

    This was the best explanation I saw. Better than thousands of ridiculous explanations with PowerPoint and...

  • @pauldolton9118
    @pauldolton9118 5 лет назад +4

    BEST! explanation of an API, thankyou!

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

    Your relation to the restaurant's menu was what made my brain click on and understand. Thank you

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

    Excellent explanation. Thanks a lot!

  • @anthonytcool350
    @anthonytcool350 3 года назад

    very good explanation and easy to understand, thank you

  • @mileskim2179
    @mileskim2179 3 года назад

    This dude has saved me years

  • @dudeimadolphin4318
    @dudeimadolphin4318 5 лет назад +4

    dude i was just thinking this yesterday you read my mind

  • @SWE-from-Sweden
    @SWE-from-Sweden Год назад

    much love for your channel

  • @absar66
    @absar66 5 лет назад +2

    Great....simple and effective explanation...calling spade a spade is not an easy task-especially in the tech world ...keep it up..bravo..

    • @WebDevSimplified
      @WebDevSimplified  5 лет назад

      Thank you so much! I really enjoy making these short explanation videos so I am glad it helped you.

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

    very well explained kyle!

  • @mcvgs1780
    @mcvgs1780 4 года назад +5

    This is great. Could you do a video next where you make a simple API and maybe throw in some tips and good practices involved in making one?

    • @WebDevSimplified
      @WebDevSimplified  4 года назад +3

      I have a video on exactly that called Your First REST API or something like that.

  • @nerdiloo9863
    @nerdiloo9863 5 лет назад +2

    Great, I'm interested in topics that relate to tokens. Cheers.

  • @nk-tg2cu
    @nk-tg2cu 3 года назад +1

    You are such an eyecandy, I think I'm going to top my class for.. whatever subjects you are teaching in RUclips

    • @saveUyghurs
      @saveUyghurs 3 года назад +1

      I love that he’s smashing that nerd stereotype. You can be attractive and in stem

  • @wongsengkuan9754
    @wongsengkuan9754 4 года назад +2

    love your video so much 😍😍

  • @dylanm7638
    @dylanm7638 2 года назад

    thanks , saved lot of time

  • @RameenFallschirmjager
    @RameenFallschirmjager 4 года назад +13

    Wonderful explanation. Kid, you are exceptionally good at explaining things! Some families do a great job raising their children! I wonder how people like you are made?! Whatever it is I'm sure you are from a very calm family and loving environment. It's obvious from your composure. Say Hello to your mom and dad from me! They should be very proud of you and I bet they are wonderful people too.

    • @saritadas7716
      @saritadas7716 4 года назад +1

      yeah i felt the very same about this man..just listening to him gives like a peaceful environment to my mind.

    • @siyandankundla-mgudlwa1888
      @siyandankundla-mgudlwa1888 3 года назад +1

      Same thought. Very calm & respectable

  • @moe583
    @moe583 6 месяцев назад

    Great video.

  • @ramakrishna76
    @ramakrishna76 3 года назад

    Thank you for your article on API and can you do it on REST& Restful difference with examples

  • @Susushauauw
    @Susushauauw 3 года назад +1

    0:22 Restaurant: "Ah shit, here wo go again"

  • @color.8467
    @color.8467 3 года назад +1

    whats a good library api for javascript?

  • @stormerthe2nd
    @stormerthe2nd 3 года назад +2

    I'm gonna go to the restaurant and ask for a peanut butter jelly sandwich just to see if they'd actually throw any errors

  • @guybd5521
    @guybd5521 2 года назад +1

    I've been a developer for 3 years now, I wrote many REST WEB Services (Inboud and Outbound), but never actually understood the meaning of API.... until now

  • @hazebt3484
    @hazebt3484 3 года назад +2

    Have been programming for 2 years and on a job interviews someone asked me have u written API's, I panicked and gave them a lowsy answer. I never called them API's, just called them services. After watching this video Turns out i have been working with api but just didn't use the terminology. LOL I got roasted and rejected by the interviewer.

    • @hazebt3484
      @hazebt3484 2 года назад

      @André Rosa Very informative, thank you.

  • @Alex-vg1up
    @Alex-vg1up Год назад

    so the conclusion i got from it an API is basically a survey or a ingame shop with microtransactions?

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

    SUPER SIR

  • @VGLV888
    @VGLV888 4 года назад +2

    ☑️☑️

  • @rifqimuttaqin3297
    @rifqimuttaqin3297 5 лет назад +2

    so what's different method like CRUD and API ?
    I'm just wanna compare it, just like "put" method in API, but just look like CRUD with extra steps I guess, so I need more reference or explanation, sorry I need guidence.

    • @WebDevSimplified
      @WebDevSimplified  5 лет назад +2

      CRUD just means create, read, update, and delete. It isn't actually a way to do things, but is more a thing that can be done. If you are referring to CRUD as the act of doing these 4 actions in a database directly, then yes it is easier to directly write SQL to perform the CRUD operations, but you cannot do that from the client. The database itself needs to be completely secure and inaccessible from the client. This is why you need to supply an API to interact with a database. Does this answer your question?

    • @rifqimuttaqin3297
      @rifqimuttaqin3297 5 лет назад

      @@WebDevSimplified so the reason people using using API is security and concern about access directly into database by client , and yes the question is cleary answered.
      maybe some of the was you say definelty not easy understand to me because english not my "main" language, but I try my best to learn, and ty very much!!
      oh yeah of course automatically subscribe for you channel cheers!

  • @AnnieTaylorChen
    @AnnieTaylorChen 5 лет назад

    I like this simple explanation than "a set of subroutine definitions, communication protocols, and tools for building software. In general terms, it is a set of clearly defined methods of communication among various components."

  • @TheUtuber999
    @TheUtuber999 4 года назад +17

    When I go to a restaurant and ask for the waitress' phone number, would that be an undocumented API call?

  • @tim_t
    @tim_t 5 лет назад +2

    Imagine, with the growing popularity of JAM stack, creating a website that's fully dependent on multiple APIs to function. Then one day half of those APIs suddenly stopped providing data. Yikes.

  • @slmshady539
    @slmshady539 3 года назад +1

    leave the api, how do you style your hairs?

  • @arpantimsina1805
    @arpantimsina1805 3 года назад +6

    so that's what REST API stands for restaurant api

  • @ThandaTaco4505
    @ThandaTaco4505 3 года назад

    4:20

  • @God-of_Water
    @God-of_Water Год назад

    nice hair

  • @guybd5521
    @guybd5521 2 года назад

    Can I have your API to your brain? thanks

  • @blank-vw2sb
    @blank-vw2sb 3 года назад

    "Let's see it in non technical terms"
    ...
    "You can ask anything off of the menu and they will return data"
    😂😂😂😂😂😂😂😂😂😂

  • @SelvamSelvam-qe3wf
    @SelvamSelvam-qe3wf 9 месяцев назад

    2023

  • @raulvqueiroz
    @raulvqueiroz 3 года назад

    Why does he blink so much tho

    • @rgodoy86
      @rgodoy86 3 года назад

      Because your monitor is 50Hz and not 60Hz

  • @ohhellothereable
    @ohhellothereable 2 года назад +1

    Check out this article for more info on APIs! It also includes tools you can use to help you get started apispreadsheets.com/tutorials/what-is-an-api.html