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

Is it right??

Justice! Today the topic is,   Justice! As soon as I heard the word, I remembered Karna! Most of us favorite character in Mahabharat! It is my version. Hence I request not to compare with the epic Mahabhart and the literature written by legends!😌 His birth was impulsive act by  princess Kunti! Surya’s Son. Born as prince , he did not get the right to live the life of prince! He was not mentored by Dhronacharya. Panchali insulted him in her suyamavar because of the caste he grow up..  His guru and cow herder gave a curse, that costed his life.. Kunti confessed the truth when the life of Pandavas was at risk.. It is hard to digest the fact that the mother who gave birth does not want accept and acknowledge him as her son! Injustice!!🙍 His life was tailored to face injustice !! What Karna did towards injustice is made him today also as Hero in Mahabharat and  equivalent to Arjuna!  He embraced all the injustices given to him. He has given his best to exce...

Marriage Story!

Today is a long day, but it is going the way I planned.. With sankashti chaturthi fasting ( 2 coffee + 1 biscuit packet, you might be thinking if this is called fasting.. ?? hehe.. for a foodie like me, it is  ..).  The morning  hours went in unpacking n packing my sisters's stuff from PG  to her new home.It was a frantic moment.. Guilty charged Rs.1500/-!!.  Wish I was bit composed!..  After long 7 months of lockdown, I travelled through crowded Bangalore traffic. not the jampacked but 25% of it.. Things are trying to get normal outside ..A Positive sign!! A big sigh & relief! Following from there , washed my clothes and went shopping etc.. physically tried, in short..I planned to complete my day  with the movie, Marriage Story. As planned.. Movie Review Time: Marrige Story! Movie start to end, it is quite engaging with a touch of curiosity that attached me to this movie till the end.. Well, Lets go to the movie plot... Nicole, a theate...

The big day!

The big day.. that repeats..💥 Life comes in with lot of surprises which is not anticipated.. That’s why it is called Surprise.. Else, where is the fun of life? That was not any other day in my calendar…It is the special day! Give me 2 mins,  I am checking my raasi reading, it says. Surprise!! It is mentioned as same as the big day earlier I had. I wish to have a great surprise waiting for me to make me happiest..  Umm..Mom, the calendar says as " Accariyam" .(surprise). My mom is not in the mood to listen to me.. She is busy in packing my lunch box.. Well, I forget to tell my name.. My name is Radha, I am working as a teacher and am running late to my school bus.. Radha.. Come and take your breakfast... whom are you talking to? Guys, Give me a sec.. will talk in bus. Now, I need to catch up with my breakfast.. my favorite idly and sambar.! :-)   Hey, there.. I am in bus… to tell you, I am not that late.. indeed I got my favorite window seat..Bus is going to waiti...