Types of APIs based on services ? 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 based on Services:

  1. APIs of Database: API can be used in a database management system between the databases and developer, it helps in reducing the extra efforts, a developer can just write their queries and execute them via an APIs to fetch the data. For example, Drupal 8 Database API can be used to execute the queries for different types of databases e.g Oracle, MySql, etc. It can be executed dynamically.

    Advantages of Database APIs.:

    • Easy to use
    • Easy to Integrate with different types of Applications
  2. Web APIs: Web APIs used HTTP ( HyperText Transfer Protocol ) to make the resources available, HTML uses HTTP to deliver the data on the web. Which is also called the REST APIs or RESTful.

    Advantages Web APIs

    • Supports any text format
    • Can be used GET, POST, PUT, DELETE (CRUD Operation)
  3. Operating System APIs: These types of APIs used within the operating system to call the function and use of resources. OS APIs are used to interfaces the Kernal, Rendering the Graphics like using AMD, Nvidia graphics, and Video Acceleration API, etc. In Operating System, APIs also known as Application binary interface.

    Advantages Operating System API

    • Help in system resource sharing.
    • Binary interface

Advertisement
Announcement

Advertisement