What is an API? (Application Programming Interface)

Поділитися
Вставка
  • Опубліковано 3 жов 2016
  • APIs do lots of important tasks behind the scenes in everything from graphics rendering to booking flights. But what exactly are they, and how do they work?
    Thanks to Braintree for supporting our channel. To learn more, and for your first $50,000 in transactions fee-free, go to www.braintreepayments.com/tech....
    Follow: / linustech
    Join the community: linustechtips.com
  • Наука та технологія

КОМЕНТАРІ • 569

  • @heeerrresjonny
    @heeerrresjonny 7 років тому +79

    I'm a software developer, and this was a good overview. At first I thought you were just covering the graphics APIs, but I'm glad you went over things like the Windows API and APIs for social media. This is something that a lot of people don't know about programming and maybe scares them away from learning (we don't have to make everything from scratch)

    • @Videocu
      @Videocu 5 років тому +3

      Well all of those things basically is rest or rest api. Api has different meaning basically..

  • @jjr9198
    @jjr9198 7 років тому +34

    I love how straightforward TechQuickie is in explaining various topics in a way that most watchers can understand, but it is not so long it's boring. Kudos to Linus, Luke, Dennis, and Jon for TechQuickie!

  • @pavelbantsevich480
    @pavelbantsevich480 4 роки тому +9

    I've recently started a new career as a Project Manager (From teaching English to IT:)) and needed to deepen my knowledge in.... everything. Your channel helps me a lot! Thank you, guys!

  • @max-zl1vm
    @max-zl1vm Рік тому +10

    After all these years, you still make great stuff, Linus

  • @trig
    @trig 7 років тому +138

    Literately working their way through the tech dictionary.

  • @dino130395
    @dino130395 7 років тому +59

    4:28 Wow! That's some Kurzgesagt level artwork right there!

    • @animationspace8550
      @animationspace8550 3 роки тому

      That is beyond kurzgesagt even beyond current day kurzgesagt

    • @elie933
      @elie933 2 роки тому +1

      Kurzgesagt ain't got nothing on techquickie

  • @belstar1128
    @belstar1128 7 років тому +521

    This was uploaded the moment when i was about to google what a api is

    • @paulgarcia2887
      @paulgarcia2887 7 років тому +38

      Message from the gods

    • @MIxosmefistous
      @MIxosmefistous 7 років тому +17

      I was reading about it today for my Java University Classes.
      Holy shit. I never got to read it, cuz i got bored. Now i guess i gotta watch and learn here.

    • @JACKOFALLFATES
      @JACKOFALLFATES 7 років тому

      awareness gods

    • @noredine
      @noredine 7 років тому +3

      you used Google+ API to post this comment

    • @jagc2206
      @jagc2206 7 років тому +1

      No he did not, youtube just send a Ajax post to the nearest Google server with a key, the message and other security information

  • @kusaluprety232
    @kusaluprety232 7 років тому +17

    Sweet, I always here Vulcan API when looking at games for my s7 and never understood what it was until now. Thank Linus!

  • @meltedcheese1908
    @meltedcheese1908 6 років тому +2

    This video was very informative, I always enjoy binge watching these videos because they are very helpful in understanding how things work. Good job!

  • @NeoAutodroid
    @NeoAutodroid 2 роки тому

    This is the best description video of API's I've found yet. Looking forward to sharing it with my class.

  • @henniehennie
    @henniehennie 3 роки тому

    dude thank you so much - i just watched & read 20,000 different things about APIs and this is the only one that actually made me connect the dots

  • @JonatasMonte
    @JonatasMonte 7 років тому +1

    I really like this guys, seriously that's the reason why I come here to learn more about tech stuff and get update what I already know.

  • @annamarie6310
    @annamarie6310 5 років тому +1

    Thank you this was one of the best explanations of API and how it works that I seen so far.

  • @tekshock3542
    @tekshock3542 7 років тому +10

    A very good and solid explanation of API! Thanks!

  • @onealryan
    @onealryan 6 років тому +1

    Thank you for this very informative video. Linus! More power!

  • @freddian4865
    @freddian4865 7 років тому +149

    "ping 127.0.0.1" 10/10 picture choice

    • @mtunayucer
      @mtunayucer 7 років тому +2

      xd

    • @IAmTheRealKen
      @IAmTheRealKen 7 років тому

      ping 0.0.0.0/0

    • @Kid574
      @Kid574 7 років тому +2

      #PingDaWorld

    • @factsverse9957
      @factsverse9957 7 років тому +1

      It is actually sad that 3 hours before the upload of this video someone in my relative family passed away. 😢

    • @freddian4865
      @freddian4865 7 років тому

      Kenji Gunawan FeelsBadMan

  • @alyowenspm
    @alyowenspm 4 роки тому

    I love your videos and how you simplify complex subjects

  • @jeremyO9F911O2
    @jeremyO9F911O2 7 років тому

    super cool visual effect you used when you broke down API acronym kudos on that.

  • @kso35
    @kso35 2 роки тому

    Here in 2021. This was a great video in which he also refers two other really good informative videos!! Linus is great at what he does!!! Thanks man!

  • @kennygbadebo4943
    @kennygbadebo4943 4 роки тому +4

    THIS GUY IS GOOD!!! KEPT ME GLUED TO MY SCREEN

  • @nikhilkadiyan4847
    @nikhilkadiyan4847 5 років тому +104

    1:44 see whats on F4, just see it!

  • @AndrewsalTk
    @AndrewsalTk 7 років тому

    So glad you made this!! :D

  • @GeekIWG
    @GeekIWG 7 років тому +22

    1:40 "...or if you're a Bash fan, then.. yesterday."
    For me that's everyday, including today (that is, if we are counting ZSH).
    For a lot of things, I find it faster and more powerful than using a GUI.

    • @paulgarcia2887
      @paulgarcia2887 7 років тому +2

      MORE POWER!!!!

    • @tylerrussell7560
      @tylerrussell7560 7 років тому +4

      Ulimited power!!!

    • @GeekIWG
      @GeekIWG 7 років тому +4

      And with great power comes great responsibility. I've accidently swapped out a period for a slash before and destroyed my OS. Others have had worse mistakes, causing them to lose much data.

    • @roycai8895
      @roycai8895 7 років тому +3

      apt-get moo
      with sudo, comes more responsibility.

    • @lordluke10
      @lordluke10 7 років тому

      more like _moo_ responsibility

  • @andykillsu
    @andykillsu 7 років тому +147

    Linus, why do you have orange hands in these videos???

    • @themechanic3352
      @themechanic3352 7 років тому +63

      Chettos

    • @GeekIWG
      @GeekIWG 7 років тому +7

      The Vault Vault​
      Best answer.

    • @paulgarcia2887
      @paulgarcia2887 7 років тому +23

      He was getting crazy with Trump

    • @amandamate9117
      @amandamate9117 7 років тому +2

      hepatitis rock's

    • @TheDrapetomanic
      @TheDrapetomanic 7 років тому

      could be too much beta carotine. I looked like that once. It looks like you're sick. You really do turn orange from carrots

  • @nO_d3N1AL
    @nO_d3N1AL 7 років тому

    I knew what an API is (great explanation btw) but wasn't sure what graphics APIs like D3D and OpenGL actually do, this summed it up nicely.

  • @Yemto
    @Yemto 7 років тому +37

    04:10 Yes, that would be like all programs using it to close themselves, then suddenly one uses it as a accept button.

    • @pascha4527
      @pascha4527 7 років тому +4

      its possible to do that......lolll

    • @keeyan2166
      @keeyan2166 7 років тому +5

      I think he is referring to the windows 10 update prompt. Closing it was essentially accepting the update

    • @Yemto
      @Yemto 7 років тому +3

      ESDACIO44 Just to confirm, that is indeed what I was referring to.

    • @pascha4527
      @pascha4527 7 років тому

      Haa, I didnt get that! But windows 10 isnt bad, bud I dont know why microsoft wanted that much us to have it....

    • @Yemto
      @Yemto 7 років тому +6

      Pascal Lafreniere It's not about how good or bad windows 10 are, they should never have tried to trick their users to upgrade.
      Data is worth money, and for someone who isn't tech savvy, windows 10 collect a lot of it from their users.

  • @whitewater9873
    @whitewater9873 7 років тому +8

    Linus you are a wealth of knowledge. Gaben bless thine soul

    • @therandomguy2441
      @therandomguy2441 3 роки тому

      This is not such great knowledge, it's a simple/ basic logic that most people ignore.

    • @therandomguy2441
      @therandomguy2441 3 роки тому

      And this is a very simplistic explanation.

  • @acbghost4411
    @acbghost4411 3 роки тому +21

    “Or if your a bash fan than yesterday “ 1:50 I shouldn’t have laughed as hard as I did

  • @_naeimi6751
    @_naeimi6751 7 років тому

    great video linus ! thanks

  • @levieleuterio
    @levieleuterio 7 років тому

    Very good explanation!

  • @catmonkey4351
    @catmonkey4351 6 років тому

    Dude, thank you. Well done.

  • @PatRiot-
    @PatRiot- 5 років тому +1

    Why do I need to learn this at midnight before work in the morning?!?
    I just can't stop myself

  • @meerestiyak9483
    @meerestiyak9483 3 роки тому

    Best Explanation Ever! ♥

  • @RC-1290
    @RC-1290 7 років тому +15

    On 64-bit you still use the Win32 API. Even though the code is 64-bit

  • @shubham_gaud
    @shubham_gaud 7 років тому

    hii techquickie I love all your tech videos.. can you make a video on programming languages...and it's history..

  • @skilz8098
    @skilz8098 3 роки тому +1

    If you're a bash fan, then like yesterday! That's on point!

  • @TheLolilol321
    @TheLolilol321 5 років тому +158

    i've been programming for years why did i click on this

    • @JITCompilation
      @JITCompilation 4 роки тому +8

      that makes me feel better as a CSCI major googling what an API is

    • @benandrei8690
      @benandrei8690 4 роки тому +2

      Lonke cause u a fake programmer jk xdddd

    • @TheLolilol321
      @TheLolilol321 4 роки тому +1

      @@benandrei8690 the jig is up

    • @tubz
      @tubz 4 роки тому +6

      Same, I'm a professional developer and was just curious to see what this layman's explanation would be

    • @clout8270
      @clout8270 4 роки тому +3

      I literally got assigned to build an API and I had to google what it is...

  • @techtranslated8218
    @techtranslated8218 7 років тому

    I learned something new today!

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

    Excellent content

  • @MasterGeekMX
    @MasterGeekMX 7 років тому

    Forget "psycology of fonts" or "battery bank buy guide" and other kind of nonsense videos. I suscribed here for this kind of videos.

  • @evhunter0962
    @evhunter0962 2 роки тому +1

    1:44 nice commands, dont think I've ever seen those before

  • @ElectronicsForFun
    @ElectronicsForFun 7 років тому

    haha... l was just thinking to myself last night "l wonder if Techquickie will do APIs?" and the l got the notification that this very thing has happened.

  • @MunkeyChips
    @MunkeyChips 5 років тому +4

    That Vulkan API is pretty remarkable when looking at how it is used in Doom (2016).
    Running on just R3 2200G iGPU, the game gets around 60fps @720p/med
    (Technically, 50% render scale of 1080p, so slightly more than 720p)

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

      2023 now and you can get 60 fps at 900p on the newest amd apus

  • @LimitedWard
    @LimitedWard 5 років тому

    Another thing that was somewhat glossed over in this video: APIs control what data is exposed to the consumer and what stuff is hidden, and this is usually tied in with some sort of authentication algorithm. Web APIs, for example, often use token-based authentication to control what data a user can see.

  • @movoyemickele
    @movoyemickele 5 років тому

    Yeap, this is what I need. Please keep creating a video like this. I don't like hardware videos, but if it comes to software then I count it as better knowledge. Why don't you create a video about terminal / unix language or maybe github or package manager, explanation about ajax and cetera. That would be awesome.

  • @VirulentNurse
    @VirulentNurse 7 років тому +1

    Getting real worried that Linus' transformation into an oompa loompa will be complete soon. Those palms are getting awfully orange in a quickie.

  • @audreyoldaccount9233
    @audreyoldaccount9233 7 років тому

    Right on time!

  • @yeppiidev
    @yeppiidev 4 роки тому +2

    Do you know how to render OpenGL without allocating the memory at the location 0xB50000050500FF?

  • @user-pj7ur2pk4t
    @user-pj7ur2pk4t 4 роки тому

    I never thought i would be watching LTT for help in high school programming, but here I am.

  • @madstein806
    @madstein806 7 років тому

    a techquickie that's quick?!

  • @Daniel15au
    @Daniel15au 7 років тому +8

    3:44 "Window 95"... Just one Window? :P

  • @memoalaloush3146
    @memoalaloush3146 7 років тому

    thnks so much for the greate videos

  • @gandreyhohlov1030
    @gandreyhohlov1030 5 років тому

    Thanks a lot for the video

  • @CusPedro
    @CusPedro 7 років тому

    the commercials at the end kills him.

  • @Zipzeolocke
    @Zipzeolocke 5 років тому

    I'm surprised you guys didn't make a video called what is openGL by now. That has to be a commonly asked question

  • @sheriffderek5333
    @sheriffderek5333 7 років тому

    This is a Braintree commercial. but 1:44 there is a sweet list of commands. I didn't know I could just type 'sex.' Awesome.

  • @TheFreaxTux
    @TheFreaxTux 7 років тому +1

    4:08 "I mean, can you imagine if every single program on your computer had different looking close button on the corner?"
    Yeah...that pretty much happens on Linux if you screw up with theme settings...
    More specifically if you set different looking theme for each toolkits

  • @jekanyika
    @jekanyika 7 років тому +1

    I covered this at university but I have since forgotten most of it.

  • @vicvic553
    @vicvic553 3 роки тому

    Great video, but too short. Could you make a little bit more detailed video about this topic, huge please? :)

  • @seankkg
    @seankkg 4 роки тому +1

    Why is Linus' voice so high, it's so much deeper now comparatively.

  • @debojitacharjee
    @debojitacharjee 3 роки тому

    But how do I know which API is required for a computer program to work and is it only required to run a program or we can code a program without the API also? Which API required to run C/C++ code and which installed files are API?

  • @GSBarlev
    @GSBarlev 2 роки тому

    This video came recommended after watching the LTT preview of Intel's ARC GPUs, which they report perform great on Vulkan and DX12, but not so hot on all the titles that are still using DX11.
    Let that sink in: this video is *five years old* and game makers are *still* dragging their heels moving to the new APIs.

  • @2Stepzupp
    @2Stepzupp 7 років тому

    I remember when techquickie was about "... as quick as possible" or "... in under a minute". Good ol' days. Rip 6 min videos

  • @user-qz4nf5pl5p
    @user-qz4nf5pl5p 7 років тому +3

    You know you could add captions, earn points, and move up the regime.

  • @diegojimenez4043
    @diegojimenez4043 7 років тому

    im switching to pc gaming but i only have windows 7...i have a core 2 quad and 8gb ddr2...do i need to uprgrade to windows 10 to game? since directx 12 is only supported on 10?

  • @damientan8837
    @damientan8837 7 років тому

    why do i have deja vu about luke talking about waiter and chef cooking pizza

  • @pavanagarwal6753
    @pavanagarwal6753 6 років тому

    Thankx bro good going

  • @zarnab89
    @zarnab89 5 років тому

    If I use a Xeon 24 Core processor for gaming, will Direct X 12 help utilize and distribute load on all 24 cores during gaming or will it just put burden on 6 7 cores and the other cores will be just useless? plz help....

  • @loricus7319
    @loricus7319 7 років тому +375

    Why is Linus so yellow? Its like every single techquickie video has huge colour issues...

    • @MistahMOB
      @MistahMOB 7 років тому +9

      haha damn now you got me looking at his bright yellow hands the entire video

    • @353click
      @353click 7 років тому +20

      this is common problem with using a green screen, the light bounces off of the green screen and back onto the person giving a green or yellowish glow around or even on the person

    • @Raul1528
      @Raul1528 7 років тому +25

      Drinks too much lemonade

    • @GeekIWG
      @GeekIWG 7 років тому +2

      LOL! When I first read you comment, I thought you were calling Linus chicken

    • @SuperMetalDave64
      @SuperMetalDave64 7 років тому +1

      Bad green screen this time?

  • @skymarshall7813
    @skymarshall7813 7 років тому

    I have a question. What hardware do i need to play star citizen on ultra with an VR?

  • @ProfQED
    @ProfQED 2 роки тому

    thanks dear it was awesome

  • @sunscorpio81
    @sunscorpio81 7 років тому

    SUGGESTION - can you guys do a "As Fast As Possible" video on MSI's Afterburner program or Awesome Miner please?

  • @largefatherbassmusic
    @largefatherbassmusic 7 років тому +5

    lol "or if you're a bash fan, yesterday" loooooool

  • @WhileTrueCode
    @WhileTrueCode 7 років тому

    As a senior software developer, I approve this message

  • @caincha
    @caincha 5 років тому

    I don’t know how it is today with Win10 but back in the late 90s early 2000s a friend techie theorised that the main reason Windows would be more unreliable than say MacOS is that Win has to ‘make do’ with infinitesimal combinations of hardware whilst MacOS had a close system and only had to manage this or that hardware making the OS not only more stable but also quicker - Unix aside.
    An analogy could be Hackintoshes: when you want to make MacOS play with several combinations of hardware you’ll likely face the same issues one would face using Windows...

  • @adamwinters3011
    @adamwinters3011 7 років тому +2

    Linus, can you do a techquicky about Floating point performance and how it relates to single and double precision (whatever that means) and this 16 bit and 32 bit accuracy that I hear people talking about. Like how quadro graphics card are apparently better at rendering using such techniques. Sorry if I made this question hard to interpret. Have a good day please.

    • @tylerrussell7560
      @tylerrussell7560 7 років тому

      Floating point and double precision numbers both store decimal numbers. Floating point numbers are faster, but aren't near as accurate (for many reasosn). Double precision numbers are much, much more accurate, but cost a lot more RAM. Hope this helps!

    • @adamwinters3011
      @adamwinters3011 7 років тому

      It does. But how does 16 bit, and 32 bit, and whatever other bits come into play when talking about these things?

    • @tylerrussell7560
      @tylerrussell7560 7 років тому

      16 bit and 32 bit refer to how much memory (in bytes) is being used to store information. RAM is pretty easy to come by these days, but it's still worth mentioning.

  • @xurtis
    @xurtis 7 років тому

    An API isn't really a distinct layer, but more where to layers meet, at the 'interface' of the two if you will.

  • @D3FKONMusik123
    @D3FKONMusik123 7 років тому +2

    "if bash, then yesterday" I see what you did there

  • @bryonfeliksa3845
    @bryonfeliksa3845 7 років тому

    Your commercials are hilarious

  • @fthn10
    @fthn10 4 роки тому

    I like this kind of linus

  • @HassaanRaza
    @HassaanRaza 5 років тому

    please make a video on "SYSTEM CALLS"

  • @jeremyO9F911O2
    @jeremyO9F911O2 7 років тому

    Hey LTT
    a few video ideas I've had while trying to decide on all the stuff going into a gaming PC I'll be building soon. I'm moving from laptop to desktop so in my situation there is no legacy hardware being integrated so it's a fresh slate kinda situation.
    So first conundrum I've encountered is when my buddies told me right now summer/fall 2016 was the worst possible time to buy a processor. By this they mean that while Skylake is the most important architecture change both Intel Caby Lake and AMD Zen are imminent for release. While I've satisfied myself that Zen is too far away and I have no legacy processor to sit and wait on. Caby Lake is potentially much closer. Perhaps answering the question how long is reasonable to wait for the optimization?
    The next question is architecture vs raw performance. Generally Intel in CPU and Nvidia in GPU are the bigger innovators with AMD coming in with lower prices and similar numbers. But is it just a basic numbers game or are there other factors? Like the Nvidia 10 series GPU is supposed to have optimization for VR. Does the competing AMD chip match this?
    Finally there's what type of Displays(plural) to buy. I've been told by certain sources that it's best to match displays. resolution for resolution, size for size. Which leads me to first consider two displays 27" at 2560x1440, where one display is for gaming and the other for everything else going on. But then I'm like that's a really really huge and expensive way to look at teamspeak and check Facebook on that second monitor.
    In my ideal world I'd have a single 34" 21:9 aspect running 3440x1440 curved gaming display, and then some cheap low response 1080p display for utility functionality. My budget would love that but that's two different aspect ratios, resolutions and screen sizes. Is that asking too much?
    Thanks for reading hope this inspires some content that can help me out.
    cheers

  • @Finkelfunk
    @Finkelfunk 7 років тому +4

    You know what would make for a good video?
    The history of keys like Numlock, Scroll, Pause, Pos1 and Capslock and why the hell they still exist on a modern keyboard.

  • @vijethcetati
    @vijethcetati 7 років тому

    hi i need a help regarding rx 480 graphic card, i have AMD Phenom II X6 1055T Processor + Asus M4N68T-M V2 system will it compatible?

  • @jacobytes8720
    @jacobytes8720 7 років тому

    still waiting for Luke's version of tech reviews

  • @thegavinjackson
    @thegavinjackson 7 років тому

    just now noticed... fast as possible, F.A.P.

  • @harrisonknockers2038
    @harrisonknockers2038 7 років тому +14

    Dang nabbit Linus, use a foot pedal to trigger your teleprompter.

  • @RohanThota
    @RohanThota 7 років тому

    can u talk about the Dxo ratings for smartphone cameras !

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

    Cool Beans will always be around.

  • @apop1195
    @apop1195 4 роки тому

    Things will turn out fine

  • @FryingBerries
    @FryingBerries 7 років тому

    Do any games even use direct X12 yet ? Also is it even beneficial to use Vulkan on Nvidia cards and vise versa ? I seem to get worse performance on Doom when i use vulkan as opposed to OpenGL.

  • @chatview4160
    @chatview4160 7 років тому +1

    What do you think of MuleSoft API ?

  • @gamecast4432
    @gamecast4432 7 років тому

    Bash explained as fast as possible and .dll explained as fast as possible please ^-^

  • @xiaofeng59
    @xiaofeng59 7 років тому

    linus , why do u need to code a resistor ?

  • @eeshaan1539
    @eeshaan1539 7 років тому +6

    Didn't Luke make a video on this same topic a few days back??

    • @dannyedwards2012
      @dannyedwards2012 7 років тому +1

      Eeshaan Achar yeah he did. I was thinking the same thing. They used waiters and food orders for examples

    • @eeshaan1539
      @eeshaan1539 7 років тому

      exactly

  • @joelmck
    @joelmck 3 роки тому

    All the fog is cleared up.. I now understand APIs. Cheers.

  • @MuNorah1999
    @MuNorah1999 4 роки тому

    Thank you

  • @gableroni
    @gableroni 3 роки тому

    cool.. and this video explains how to simply secure the api to the endpoint @

  • @Mazel_Tov_888
    @Mazel_Tov_888 3 роки тому

    I got API code from Adobe free, could they start charging for it or turn it off?

  • @projectjt3149
    @projectjt3149 7 років тому

    So how about a framework or libraries? How are they different?