Creating this thread for Day11 of the challenge #30-days-of-testing:30-days-of-api-testing
Do share about different types of API’s, share your findings.
Creating this thread for Day11 of the challenge #30-days-of-testing:30-days-of-api-testing
Do share about different types of API’s, share your findings.
This is a good article - the comparison between REST and SOAP API https://nordicapis.com/rest-vs-soap-nordic-apis-infographic-comparison/
There are different types of API:
Each type of API offers different strengths and weaknesses, some are shown in this chart.
For more info, refer A Guide to Designing the Perfect API
I found an article describes quite detail about types of API. They are:
For full article you can refer here
Thanks for sharing, this is a very comprohensive list about types of APIs
I read the same article as @oceannguyen. Very helpful! I have been focusing on REST API’s and was vaguely aware of SOAP, but this article broke it down nicely.
From the Twitter folks:
Thanks @oceannguyen for your sharing API types, it is very detailed.
I found some articles which categorize APIs into 3 groups:
Day 11 : Learn about different types of API’s, share your findings. #30DaysofAPITesting
Thanks for sharing 
Types of API:
TCP/IP Sockets
Remote Procedure Call (RPC)
Common Object Request Broker Architecture (CORBA)
Java Remote Method Invocation (RMI) and Enterprise Java Beans (EJBs)
Microsoft Distributed Component Object Model (DCOM) – also known as ActiveX
Web Services (SOAP then REST)
My findings of different types of API’s:
Web service APIs. Most often-used types of web service:
Source Code APIs
Functions or routines in an OS
Object remoting APIs
Hardware APIs
Before this thread, I did assume there are 02 types of API are: SOAP then REST.
But thanks god. After reading this article, I realize SOAP and REST are apart of Web service API
So I would like to share my finding after reading this article.
Web service APIs
– SOAP
– XML-RPC
– JSON-RPC
– REST
Library-based APIs
Google Maps JavaScript API
Class-based APIs
Android API
OS Functions and routines
APIs interact with the Operating systems like Windows…
Object remoting APIs
API works by implementing local proxy objects to represent the remote objects, and interacting with the local object. The same interaction is then duplicated on the remote object, via the protocol.
Hardware APIs
To interact with the hardware like Graphic Cards, the Printer…
My findings of different types of API’s:
Web service APIs
SOAP (Simple Object Access Protocol)
XML-RPC
JSON-RPC
REST (Representational state transfer)
Class-based APIs (object-oriented) – a special type of library-based API
OS Functions or routines: APIs interact with the Operating systems like Windows…
Object remoting APIs: API works by implementing local proxy objects to represent the remote objects, and interacting with the local object. The same interaction is then duplicated on the remote object, via the protocol.
Hardware APIs: To interact with the hardware like Graphic Cards, the Printer…
Or learn more at https://www.youtube.com/watch?v=pjuLNpFHnkU. This will helpful to the newbies.
Types of APIs:
Web Services API: include REST, SOAP, XML-RPC and JSON-RPC. REST stands for Representational State Transfer and SOAP stands for Simple Object Access Protocol. These APIs provide services through the World Wide Web.
Source Code APIs: includes Library based APIs and Class based APIs.
Library based APIs: In these type of APIs, an application will reference a library of code and use the functions/routines from that library to perform actions and exchange information
Class based APIs: These APIs provide data and functionality organized around classes as defined in object oriented languages. Each class offers a discrete set of information
Object Remoting APIs: These types of APIs use a remoting protocol such as CORBA (Common Object Request Broker Architecture)
Hardware APIs: These hardware APIs helps to access the hardware level of devices such as reading temperature, access inventory information like model number, serial number, etc.
While I do agree with all of the links posted until now and without saying I know what Rest is since I am Rester Test on YouTube
I will add a different link based on experience.
On a Project I did last year I needed to check the API. So my first though was ok REST API, I got this. It turned out to be GraphQL, so I did not have it.
Therefore I will say in general for APIs we kind of have REST and the rest. But to clarify how to start with GraphQL have a look at the below link