What is an API? Reading Assignment

  1. Is the engine under the hood that makes complex tasks possible. API is the messenger that takes requests and then tells the system what to do and sends the response back to you.

  2. Java API - A library of software components available to anyone who installed the Java development

    Twitter API- Is a web based API that can only be accessed over the internet by making requests to the services that Twitter hosts.

  3. I would say I take ingredients and chuck it into a blender. I know that the blender will break all the ingredients down to create a liquid version of all them combined with a push of a button. I don’t need to know how it works from inside I just know I get the end result.

1 Like
  1. What is an API?
    An API is the part of the server that receives requests and send responses.
    An API is a set of programming code that enables data transmission between one software product and another. It also contains the terms of this data exchange.

  2. In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?
    The Java API is used to interact with the Java platform, and the Twitter API is used to interact with the Twitter social networking service. The Java can be used offline and the Twitter can not be used offline.

  3. The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
    I use the GasBuddy app. I find the location of the best prices of gas near me with the press of a button. Now I don’t have to drive around and look at the posted prices at each gas station.

1 Like
  1. specification of possible interactions with a software component
  2. Twitter API is web based where Java API you need to install on the PC
  3. blockfolio to check my crypto portfolio using API :slight_smile:
1 Like

1) What is an API?
A: An API (application programming interface) is a way to programmatically interact with a separate software component or resource. The alternative (a totally self-contained application) would be seriously limited and inefficient

2) In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?
A: The Twitter API, unlike the Java API (which is included in the Java Development Kit) is a web-based API. It must be accessed through requests over the Internet to services that Twitter hosts.

3) The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
A: When I prepare my morning coffee, I first grind the coffee grains by pushing the grinder’s button; after that I prepare my espresso by pushing the right button. In both cases, I don’t deal with the underlying processes which I can regard as a blackbox: my inputs trigger an action that returns an output (grinded coffee in the first example, espresso coffee on the second)

1 Like
  1. API application programming interface, the API takes requests & gives an response, API’s allow software to interact with an external piece of software, connecting them.

  2. Java API is included in the Java development kit, it holds a library of software components, which is available to anyone to use. Twitter API is specifically used by Twitter.

  3. Too frequently amazon send me e-mails advetising generic items abstracted from my previous searches & purchases, tbh it feels like a invasion of privacy.

1 Like
  1. What is an API? API or Application Programming Interface is used to programmatically interact with a separate software component or resource. It is defined as a specification of possible interactions with a software component.

  2. In the article the author compares Java API to Twitter API. What is the main difference between these two APIs? The Java API is included in the Java Development Kit while the Twitter API is a web-based API.

  3. The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life. The same basic skills and knowledge to drive a car that runs on gas can be utilized to drive an electric car. There is no need to understand the inner workings of the internal combustion versus a battery driven electric car in order to operate either vehicle. If you know how to run one vehicle you can run the other. The API is the what and how comparable to the basic knowledge needed to operate a vehicle. The separate software component that the API interacts with would be the car itself which can accelerate, brake, turn on the air conditioning or heater based on the commands provided by the driver.

1 Like
  1. Application Programming Interface

  2. Java API is a library of software components available to anyone who installed the Java Development Kit. Twitter API is a web-based JSON API that allows developers to programmatically interact with Twitter data . The main difference between the 2 is that Twitter is web-based and must be accessed by making requests over the Internet to the Twitter hosts.

  3. Abstraction is the way of organizing the complexity of a system so that complicated actions can be handled in a simple way. One common example of abstraction in everyday life can be found as common as grocery shopping. When an consumable item such as toilet paper has run low in the house, you can tell (google, or Alexa for example) to order more, and they will add it to your cart on your method of online shopping, and in a couple days will arrive at your door!

1 Like
  1. API are application programing interfaces, a premade set of rules that spare us the complexity of having to manage and undertake each task manually.

  2. Java API uses libraries to deliver info from servers while Twitter is JSON based and uses HTTP -web based.

  3. Buying pre-rolled joints in a coffee shop near you rather than rolling them yourself. I could easily do it myself but it spares me time of rolling, buying “ingredients” and papers…

1 Like
  1. The API is a set of rules that allows programs to interact with each other.

  2. The difference is that the Twitter API is web-based and can only be accessed by making a request over the internet while the Java API is available after installing the Java Development Kit.

  3. Easy access to good quality drinking water here where i live. I do not have to think about the multiple processes going on behind the scenes to give me good quality water.

1 Like

1) What is an API?

API stand for Application Programming interface. An API is a way to interact programmatically between software. components or resources

2) In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?

The main difference between the Java API and the Twitter API is that the Java API is a library of software component that can implement common tasks and generally reduce programming time. A basic key comment of Java is that it defines what one can do with a List. Add, sort, determine id an item is in the list and so on. Specification can be programmed to the list of task. On the other hand the Twitter API is a web Based JSON API allowing developers to programmatically interact with Twitter Data. Request are web-eased and must be accessed over the Internet to servers that Twitter provides. HTTP request are returned in a format that application can easily parse.

3) The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.

Filling up Gas in a Car as an Abstraction

Make sure car is turn off, real gas cover, remove gas cap, select grade of gas, remove gas pump from holster, insert gas pump into car’s gas tank, squeeze gas pump, hold gas pump until gas take is filled, replace gas cap, close can cover, return gas pump to holster

2 Likes

API - Application Programming Interface is a way to programmatically interact with a separate software component or resource.

Java API is a library of software components available “out of the box”. You just have to install Java Development Kit to have access to those components. Twitter API is a web-based that means it must be accessed by making requests over the internet to services that Twitter hosts.

Turning the light on/off is an abstraction from daily life example. You don’t think how it works in details. You just push the button.

1 Like
  1. Api Stands for application programming interface and it is a way to communicate and/or connect (with) different applications.

  2. The Twitter API is an public REST API whereas the Java API is an internal Java API.

  3. TV. I don’t need to know how every part off the TV functions. All i need tot know is how to turn it on and how to switch channels. The complexity of getting the picture in the screen myself is abstracted away from me.

1 Like
  1. What is an API?
    Application Programming Interface is a way to programmatically interact with a separate software component or resource.
  2. In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?
    Java API is included in the Java Development Kit, the Twitter API is a web-based API.
  3. The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
    Whenever my wife asks me if i have time to do something. i know i have to do that immediately :slight_smile:
1 Like

1: API is a list of preset rules that takes out the rigorous task of undertaking each coding task manually.

2: JavaAPI uses a predefined set of commands that a user starts with out of the box. The Twitter API is based on JSON, and needs to be requested from a Twitter node.

3: When I order more material from the Jobsite they automatically show up without having to manually place the order. I press the button and new drywall or whatever is there.

1 Like
  1. What is an API? The Application Programming Interface is a set of predetermined rules that allows separate applications/software components to interact with each other. It defines “what” each feature will do but not the “how”, removing complexity for developers.
  2. In the article the author compares Java API to Twitter API. What is the main difference between these two APIs? Java API is a library of software components that can implement common tasks and is available by installing the Java development kit. Twitter API is web-based and must be accessed by making requests over the internet.
  3. The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life. By eating food your body automatically converts that into energy.
1 Like
  1. An API is an application programming interface enabling a way to programmatically interact with a separate software component or resource, sometimes without Internet.
  2. A Twitter API is a public API that uses HTTP to allow developers to interact with Twitter content, Java API however, is not public and only accessed via the Java Development Kit and specifies what actions can be done via Lists and how to do them.
  3. Abstractions simplify complex systems where complex actions are handled in a simple way. My day is a complicated set of procedures taken in order to learn coding and launch my day. I use abstraction by writing down my steps in a planner so that I have a game plan of attacking this tough challenge.
1 Like
  1. API is set of tools (methods, classes, libraries) that developers can interact with servers and interfaces.

  2. Java API is more of like a library that have pre-made functions and methods. On the other hand, Twitter API is used to interact with twitter data (make tweets, retweet, etc.) from code.

  3. Complex codes are pre-made into simple functions, classes, and methods. Developers can use them to reduce their work.
    An example from our daily lives: cooking. We don’t start cooking from harvesting crops.

1 Like
  1. Application programming interfaces hide complexity from developers, extend systems to partners, organize code, and make components reusable.

  2. API: JAVA and Twitter

The Java API is a library of software components available “out of the box” to anyone who has installed the Java Development Kit. These components implement common tasks and generally increase productivity because programmers don’t have to start from scratch every time.

The Twitter API is a web-based JSON API that allows developers to programmatically interact with Twitter data. Unlike the Java API, which is included in the Java Development Kit, the Twitter API is a web-based API. It must be accessed by making requests over the Internet to services that Twitter hosts.

  1. Locking your door using a keycard within seconds is a perfect example of daily abstraction!
1 Like
  1. An API takes an overwhelming amount of complexity and define a relatively simple set of interactions that you can utilize instead of doing it all yourself. It describes how programs interact with each other.

  2. The main difference is that Java API come out of the box with components already available to anyone that installs the developer kit. The Twitter API is a web-based JASON API that must be accessed by making requests over the internet to services that Twitter hosts.

  3. Abstraction as a concept is basically taking complex actions and simplifying them. An example of this would be my electronic toothbrush. I don’t have to do the 99 motions with my hand to mimic the pattern the electronic toothbrush does. All I have to do is turn it on and it does the 99 different patterns for me.

1 Like
  1. API - Application Programming Interface - set of rules and interactions with a softwere components. “They take an overwhelming amount of complexity and define a relatively simple set of interactions that you can utilize instead of doing it all yourself.”
  2. Java API is operating in software and is included in the Java Development Kit (running on machine), Twitter API is web-based API (using Internet).
  3. I use a mobilephone. Im not aware of complex processes going on behind scenes on my device while im calling a friend. Its only needed to serach for contact and press green phone icon to make it work.
1 Like