API: Every budding Software Engineer must know.

Rhea RB
2 min readMay 2, 2023

--

What is an API ?

API (Application programming Interface is a software interface that allows two applications to interact with each other without any user intervention. API is a collection of software functions and procedure. In simple terms, API means a software code that can be accessed or executed. API is defined as a code that helps two different software’s communicate and exchange data with each other.

Types of API

  1. Open API’s : Also know as public api’s. These API’s are publicly avialable and there are no restrictions to access them.
  2. Partner API’s: These API’s are not publicly available, so you need specific rights or licenses to access them.
  3. Internal API’s: Internal or private. These API’s are developed by companies to use their internal systems. It helps you to enhance the productivity of your teams.
  4. Composite API’s: This type of API combines different data and service API’s.

Web Service API’s

SOAP: XML format is used for communication by web applications.

REST: It makes use of HTTP to GET, POST, PUT, DELETE data. most common content type is JSON. To know more, please read my blog on REST.

JSON-RPC : It uses JSON for data transfer and is light weight.

XML-RPC: It is based on XMLand uses HTTP for data transfer. This API is widely used to exchange information between two or more networks.

Examples of API:

  1. Google Maps API
  2. Razorpay API
  3. Stock Chart API
  4. Youtube API

Features of API.

  1. It offers valuable service(data, functions, audience)
  2. It helps you to plan a business model.
  3. Simple, flexible and quick.
  4. Managed and measured.
  5. Offers great developer support.

API Testing tools

  1. Postman: Postman is a plugin in google chrome. It is a powerful HTTP client to check web services. For manual or exploratory testing, Postman is a good choice for testing API.
  2. Ping API: Ping API is a API testing tool which allows us to write test script in JavaScript or CoffeeScript to test API’s. It enables inspecting the HTTP API call with complete request and response.

Thank you for Reading !

If you liked my blog do follow me on Rhea RB !

Happy Coding !

--

--

Rhea RB

Hello ! I am a senior software engineer, passionate about tech and product.