DEV Community

Discussion on: What developers mean when they say "API"

Collapse
 
k4ml profile image
Kamal Mustafa

If I have following python module named user.py:-

def list_user():
    pass

def show_user(name):
    pass

I can say my user.py module expose 2 APIs which is user.list_user() and user.show_user(). As long as you have 2 separate program that need to talk to each other, they have to do that through some interfacing, and that can be low as a function call.