Types of APIs ? Whati is the best API Approaches ?

API stands for application programming interface

Types of APIs ?

Types of APIs can be categorized in three different parts:

  1. Based on Approaches/Availability
  2. Based on Services
  3. Based on Protocol

1. Types of APIs based on Approaches/Availability :

  1. Private: We use the private method where we want to use individually or internally as personal work. Basically used by the company.

    Advantages Private API:

    • Enhance the flexibility of work
    • Reduce the cost of management
    • Good infrastructure
  2. Partner: This approach is used to working within organizations as the group shared, by which we can share the work with some group of people for their development work.

    Advantages Partner API

    • Suitable for business (sharing common API can reduce extra efforts)
    • Value-added services
  3. Public: This type of API is made for everyone, they can use it publicly, e.g Air quality index API which can be used by anyone with their API.

    Advantages Public API

    • Helps in a lot of research ( R & D).
    • For Public Development purpose.
    • Can be used to broadcast a message e.g Alert messages

Advertisement
Announcement

Advertisement