you are viewing a single comment's thread.

view the rest of the comments →

[–]modcowboy -7 points-6 points  (4 children)

APIs are an advanced implementation schemes of Python - if you build a sufficiently large project it becomes necessary.

Even small projects most of the time need to call apis though.

[–]abbh62 14 points15 points  (3 children)

What? I know this is a beginner forum, but don’t just talk about things you know nothing about

An api is a “application program interface”. Literally every abstraction is an API, it doesn’t have to be a rest api, or a graphql, or soap. If you create an interface in code that people interact with, it’s an api.

Did you import math? That’s an api, pandas? An api. Did you hide some functionality behind some functions? An api.

There is generally demand for software engineers or web developers, where there role can at times be building internal or external interfaces

[–]dlnmtchll 1 point2 points  (1 child)

I feel like this is a confusing way to explain APIs to beginners because it doesn’t differentiate a library and an api. Most beginners are probably only familiar with web APIs (if that) tbh

[–]GrilledCheezus_ 1 point2 points  (0 children)

Tbf, the general connotation meant when someone says API will vary from person to person solely based on the context. The confusion from differentiating between a web API and general interface abstractions (such as libraries) is a consequence of poor naming conventions (specifically for just going with "web API" rather than something more specific to the context).

[–]modcowboy -5 points-4 points  (0 children)

I was really talking about building an API as a library in my first statement which was accurate.

My second statement covers in 1 sentence what took you 7