Sitemap
On Professional Software Development

Development for web, mobile and embedded. Architecture of applications and services.

You can’t ignore API anymore

Why start-up founder should be focused on API-centered service and how to control its development. 

3 min readMar 16, 2014

--

There are hundreds articles and books in the Internet that explain developers how to design good API. However, I am still seeing many projects where all these recommendations were ignored. Very often not because of developer’s mistakes, but shortsightedness of the founders and management.

API is essential part of any service today. It allows your services go far away from only desktop browsers to infinite number of other devices, which have access to the network.

As an entrepreneur or founder, you should check your API, its design and functionality in the same way as you checking the user experience, look-and-feel and graphic design. But what are the main criteria of the good API?

No matter how agile your team is, you should always have high-level architecture, which defines how different parts of the application should communicate. Ideally they should communicate only through the API.

User submits form and the data should be put into the database — do this through the API call. You need to show the page with some data that belong to the specified user — do it through API, instead generating the entire Web page on the server. You need to store users’ files on the server — again, use special API for that.

Get Vasyl Pasternak’s stories in your inbox

Join Medium for free to get updates from this writer.

Of course doing everything through the API requires more work to implement the same piece of functionality, but is shouldn’t scare you, because implementing API on the running service will cost more.

Good API is a document

The easiest criteria whether your team have API, is to check periodically the documents, produced by the team, which describe an API. Usually each new functionality requires an API call for to implement it.

Other team members also use the API, your team produce, so documentation on the API should be always up to date and consistent.

Good API is easy to read

No matter who you are and whether you are experienced software developer or use your iPad only to check emails and post something into Facebook, you should be able to understand the API your team creates. It should be easily readable and understandable.

For example, if you need to obtain all friends for a single user, than API method could be named ‘’ but not ‘’.

However please note, that not all easy to read APIs are good, while all good APIs are easy to read.

Good API could be easily used by 3rd party developers

The last but most important check is how your API is accessible from 3rd party applications. I am sure you are implementing a useful service, so there will be many parties, interested to integrate your service into their product, or make your service accessible from the different platforms, such as console Linux client, plug-ins for Firefox and Chrome browsers, integration.

You could also hire 3rd party developers to create mobile applications for your service. This is very good crash-test for your API which simultaneously adds more value to your service.

As I said — creating a good API is similar to creating good UI design. What do you usually do when you want to create unique user experience, attractive look and feel, and state of the art design? Correct — you engage best designers, selected by their portfolio and achievements, constantly checking the design by yourself, and verify it through user testing.

The same is with good API. You should involve first-class software architects to design it and engage users of this API to test and validate it.

--

--