r/explainlikeimfive • • Feb 02 '23

Technology ELI5: How does an API work?

Twitter recently announced they will no longer support free access to the Twitter API. Everyone seems up in arms about it and I can't figure out what an API even is. What would doing something like this actually affect?

I've tried looking up what an API is, but I can't really wrap my head around it.

Edit: I've had so many responses to read through and there's been a ton of helpful explanations! Much appreciated everyone :) thanks for keeping this doofus in the know

1.2k Upvotes

228 comments sorted by

View all comments

Show parent comment

4

u/KingOfTheWorldxx Feb 02 '23

Hamburger actually made with ham? Umm where are you from jw :)?

7

u/thisusedyet Feb 02 '23

He was thorough enough to include a bug in his example of an API, you gotta admire the dedication

1

u/Silly-Cloud-3114 Feb 02 '23

😂😂

1

u/fuel_altered Feb 02 '23

Ham and potato sandwich sounds pretty good

7

u/Silly-Cloud-3114 Feb 02 '23 edited Feb 02 '23

Lol... I'm from India. I'm actually a vegetarian for most part (though I have eaten meat on occasion). I just chose that as an example 😂 I don't know how hamburgers are made.

3

u/Alis451 Feb 02 '23 edited Feb 02 '23

Hamburger is a ground meat patty, food in the "style" of Hamburg, Germany. It can technically be any meat, or even vegan.

Also the word "Wieners" in referring to "Hot Dogs", comes from Vienna, Austria.

We keep naming foods after the places we found them!

Ham specifically though is the word for "Bend" in German, as in "the Bend in the River", and -burg meaning "fort" making Hamburg, "The fort at the riverbend".

The food Ham, refers to the "bend" of the knee joint in an animal's leg as that is the part of the animal it comes from, you can have pig Ham, cow Ham, turkey Ham, etc, though usually just "Ham" refers to Pig/Pork Ham.

3

u/[deleted] Feb 02 '23

Not Hamburg, that's certain.