Blog: Why We Use Web API’s

Our Expertise

By Aleh Holub

By Aleh Holub

Solution Architect

Why We Use Web API’s

An API (Application Programming Interface), or an interface for programming applications, allows developers to use ready-made blocks to build an application. In the case of web applications, the API can give data in a format other than standard HTML, making it convenient to use when writing your own applications.  

Based on the above, we can distinguish two existing components tied to the web API: server and clientIn this case, we consider the server to be an abstract machine on the network that can receive an HTTP request, process it and return the correct response. The physical essence and internal architecture of the server are absolutely not important, whether it be a regular laptop or a big cluster of industrial servers. it doesn’t matter what technology is responsible for processing the request, Apache or Windows IIS, which codePHP, Python or C#, processes it and forms the answer, which data storage is used: PostgreSQL, MS SQL or MongoDB. The main thing is that the server responds to the main rule – to hear, understand and respond. 

The client can be anything that can generate and send a HTTP request and there are several situations in which we need to create a Web API for our own lovingly written and refactored application. 

Service, Delivery & Support Banner
  1. Mobile appMany mobile applications for various services work when using the API of these services. You describe the API, make a simple mobile application and the client with the smartphone will receive information into their device through the API. Simple & Convenient. 
  2. Open Source:  If your application has a certain audience that uses it, why not utilise this to your advantage? Create an API and with the help of your users, they can create new clients for your application and new services based on it, which will reveal its new facets. 
  3. Maximum separation of frontend and backend:  When using front-end frameworks such as ReactJS or AngularJS, a Web API allows you to provide customer data regardless of the technology used for the development, including programming languages. And, the client can be rewritten in a completely new technology without the need to replace the API code.  

Using Web API allows you to expand the capabilities of the program, easily accompany various versions of the services provided and in terms of placement in the cloud, it can easily be expanded to provide better performance. 

 Although JSON-Pure API are becoming more and more popular, the most common standard for Web API is REST. 

REST (Representational state transfer) was originally created as a simple and unambiguous interface for managing data, which involved only a few basic operations with server: data extraction (GET), saving (POST), changing (PUT / PATCH) and deleting (DELETE). In addition, REST has a number of architectural principles that are strongly recommended to be observed when developing: 

*Server independence from client 

*The independence of the storage format of the data transfer format 

*Uniqueness of resource addresses 

*Visibility of the responses for all of the metadata necessary for using the API e.g. error messages, the total number of records in the collection for the correct display of page navigation etc. 


Creating a complete API for applications is only half the business. For correct use of the API, you must provide the necessary documentation to service users. There are several libraries that allow developers to automatically generate the documentation and place it in the same hosting as the API itself e.g. Swagger. Another solution would be creating an API framework that clients can use for communication with an API service. For large API services like e.g. GitHub, Twitter have frameworks written in different programming languages to allow as many clients as possible to use their API easily.  

Using a Web API allows you to expand the capabilities of the program, easily accompany various versions of the services provided and in terms of placement in the cloud, it can easily be expanded to provide better performance. 

About OpenSky 

OpenSky Data Systems for Digital Government That Works. 

As Ireland’s Only Govtech digital transformation specialist, we deliver future-proofed citizen access and operational efficiency.   

Our Govtech business expertise has transformed over 50 public sector bodies in Ireland & the UK.  Within transport, waste, housing & health, our systems impact 2.5m people every day & manage 100m digital transactions every month in Government. 

Taking a Customer-Centric approach, we equip government teams with scalable and sustainable citizen platforms, shared digital business process information systems, realtime monitoring and analysis, legacy system modernisation, minimal viable product designs and implementations and data management services. 

Our expertise & approach, provides our clients with a path towards increased cost-efficiency, reduced risk of investment and superior citizen services.  

Working with the best technologies & MS Gold Certified Partners, we have 15 years of digitising processesconnecting citizens – building a smarter nation. 


Share on facebook
Share on google
Share on twitter
Share on linkedin
Share on email

About The Author

Currently Aleh works as Team Lead/Architect on a wide range of projects for Health, Transport and other public services.
Work includes managing many aspects of software development, code writing, application design and leading projects.

Subscribe for more Posts updates

Recent Posts

Follow OpenSky

Our Expertise Posts

The Future Of Digital Regulation is here
Our Expertise
Radoslaw Podgorski

Are you really doing DevOps?

DevOps nowadays is such a trendy topic – you’ve probably noticed so many references to it on articles, tech conferences talks, videocasts, training courses etc. 

Read More »
Copyright © 2018 opensky. All rights reserved. Web Design & Development by EUITSols
Wordpress Social Share Plugin powered by Ultimatelysocial