Skip to main content

A Telescopic view of API

 From a Business Analyst- Telescopic View to API


The development/technical folks tell you a few words all day and the words register, echo…


There is more than one way to deal with that


  • Ignore the echo and start using the words like a pro; beyond that word, you would not have any idea about it.

  • Explore the basics to get familiarised with the words and make yourself comfortable.

  • Third, deep dive into the world and become a techie!!

  • Do not like those words, it annoys you, it is time to change your role.. :-)


I belong to the second category. This blog is for the first /second set of people likes to get comfortable with the techie words.!


One of the highly used words in my previous organization and here, in my 2nd project is APIs/webservices.


My experience with Webserices/API:

Around 5+ yrs, with the team who developed Webservices/API.  Now, I am on the other end. Pretty much I have the hands-on experience of both provider and consumer.. Hence, I can give you decent tips to make BA life easier.


Let's start…


Definition:


API: Application Programming Interface


My way of defining them:

  • Application: Any app ex. Google or an app that you installed in mobile, etc..

  • Programming: A trained person who writes instructions for a computer

  • Interface: Who has the information or where is the information?


An API is a set of programming codes. It enables data transmission between one software product and another. A software intermediary that allows two applications to talk to each other. 

Why we use them: As in the tech world, the news ones are customized versions of existing ones. Hence it is important and becomes necessary to connect with one or other applications.


Dev World Definition:

Application Programming interfaces make programming easier by abstracting the underlying functionality and exposing only the objects or actions that the developer requires by doing a set of operations that enable programmes to interface with external software components, operating systems, and microservices


Having the entire junk of data that is not required is costly & not effective; The smarter way is to fetch information that is needed and leave the rest where it is. To do that, API helps in.


Example of an API:

  • When an application on your mobile phone is actioned, the API makes call to the server and requests data.

  • The server retrieves that data, processes it, performs the necessary actions and sends it to your phone. 

  • The api interprets that data and presents the wanted information in a readable way. This is what an API is - all of this happens via API.


Software Development (A lean project??):

My way of looking into software development is to make life simpler. The problems, that we try to solve through software development are 

  • complications

  • boring/monotonous

  • taking a million secs to do something.

Most of the time it is a lean project (eliminating waste/no.of manual steps) and ends up doing a green belt project.


Well, with that philosophy, Questions to be asked based on the team a BA belongs to:

  1. API Provider

  2. API Consumer


Common Questions: 

Do we have a Data flow chart?


Data flow Chart: A data-flow diagram is a way of representing a flow of data through a process or a system


Specific Questions:


API Consumer:  

  • Understand the usage of API in the chosen project i.e which applications are talking to each other. 

  • What is API name?

  • How many APIs are involved? 

  • What do we need from those APIs?

  • API filed names and the sample output

  • Mapping API with the functionality that needs to be

    • For example, the API may have a parameter as Date, but you need to understand what does the Date refers to, expiry date or manufacturing date


Example: In the hotel kitchen you may get a lot. A menu card is a simple guide to narrow down what you are looking for. Similarly, API helps to narrow down the information that is required.


API Developer


This is still more interesting to work on..


  1. Understand the API requirements with the client.

  2. Decide the parameters that need to be part of API.

    1. API Name: GetMenu():

      1. LocationId:

      2. LocationName:

  3. APIs can be customized and there is no limitation on the no. of APIs that can be developed; it is all limited to the org. goal

  4. API can be created “n” of reasons.. Like someone wants to see only the location name of the particular dish or someone wants to create the history of the menu.. 

  5. The requirement is of user choice. Based on user requirements, create the parameters and decide the user input and output.

  6. If someone wants the output xl or id or just name or code ..etc.. All can be done.

  7. Example of API names based on the requirements.

    1. The menu that are available in the kitchen

      1. AllMenu():

    2. Only Non_Veg Menu

      1. NonvegMenu():

    3. Only Veg menu

      1. VegMenu():

    4. Deserts

      1. Desserts():

  8. API's can be split at any level! An entire web page data can also be clubbed one API (depending on how huge the data required, it only gonna slow down the application). So, API's are usually split based on entities either feature wise, or a module wise.


Types of API:

Private APIs: 

  • These API are designed for improving solutions and services within an organization. 

  • In-House APIs come with lot of advantages; One being- full control to the API, security risk less. 

  • Accessible only inside the organization. No sharing n caring.. :-)

  • In-house developers or contractors may use these APIs to integrate a company’s IT systems or applications, build new systems or customer-facing apps leveraging existing systems.

Example: Create an API that gives the list of employees with their details. Use this API across applications like Okta, Summit, Jigsaw, Leave Portal etc..


Public APIs:

External, these APIs are available for any third-party developers. 

A public API program increases brand awareness and receives an additional income source when properly executed.

Example: Maps, any payment links etc..

Disadvantage: there might be security issues around these APIs.


Partner APIs:  

  • It is like Pairing and creating APIs. Both owners have to access it.

  • The common use case for partner APIs is software integration between two parties. 

  • At the same time, it can monitor how the exposed digital assets are used, ensure whether third-party solutions using their APIs provide a decent user experience, and maintain corporate identity in their apps.

Example: ebay APIs


Composite API:

  • Composite APIs generally combine two or more APIs to craft a sequence of related or interdependent operations. 

  • Composite APIs can be beneficial to address complex or tightly-related API behaviors, and can sometimes improve speed and performance over individual APIs.



Comments

Popular posts from this blog

All gold..

 As part of my job, I get to embrace a lot of gold chains/bracelets/rings /earrings, and being a woman, the temptations are real, to wear and own it. These desires grew stronger day by day, which landed me in a spot through the receptionist, where there is no camera coverage and with a deal that I have to allow her to wear it for a selfie. Well, one is taken care of, the wanting to possess at least a few did not allow me to sleep. I could not afford to buy any one of them because our peanut salary gets invisible into the endless loan, education fees, and all the bills. I did not want to become a gold thief, hence for now decided to sleep over the thought.  Days flew fast as the gossip on my Instagram jewel post. Few thought I won the lottery and interestingly, few assumed that my husband is getting black money in his IT job. Whatever the gossips where, but it made me feel like a celebrity in my neighborhood.  All the unknown faces become known. I got to choose the vegetab...

Impartiality.

  Today  Mythili, “get ready soon. We are late!”. “Why in such a hurry? We have good 30 mins to catch the bus. To be specific, I do not want to wait at the bus stand. The bus stand, that has taken my son’s life. I know something happened there and no one wants to share with me anything”. She sits on the sofa, not wanting to cry but still her tears reveal the pain that she is going through for the last 5 years. Guilty and feeling helpless! Sigh! I am hoping from today the days are going to be better. Suddenly the wreath falls from his photo, acknowledging my hope. His smile and that innocence,  at least once, I want to ask him,  "Am I not a good father?" 5 days back: After my son killed himself, Mythili lost herself in a different world. She stopped sleeping and eating. During those days, my situation was the same as hers. I could not do anything much to take care of her. Once I moved to the office, I managed to divert the pain, but she locked herself in a room and wa...