What is an API? Reading Assignment

  1. What is an API?
    An Application Program Interface, which allows you to interact with a separate software component or resource; can refer to both the specification of interactions and to the actual software component you interact with

  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 components available in the Java Development Kit. The Twitter API uses JSON format over the web to interact with tweets.

  3. The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
    An abstraction in my daily life is using the Windows 10 operating system, which contains many layers of code that I don’t need to interact with directly in order to make use of its functionality.

  1. An API is a set of pre-written instructions for the possible interactions a user may have with a server.
  2. The Java API is an example of a library of already created features. The Twitter API is an example of web-based access to a server.
  1. API is “application programming interface”- a preset set of functions that aid the developer in avoiding cumbersome code, rewriting code, as well as streamlining interaction.

  2. Java is more general than specific. Twitter’s is the opposite.

  3. An extremely simple abstract is commuting to work, while all routes involve driving, there may be routes better than other routes due to other’s driving. Each driver as an application, following routes as an api, while interacting with other applications, “drivers”.

  1. An API is an interface that you can program in order to communicate with an application. For example frontend and backend exchanging datas or the result of a functionality, or several applications running on the same server (or connected through Internet) exchanging services and datas.

  2. The main difference between Java API to Twitter API is that Twitter API is a web-based API (it MUST use Internet). Java API is included in the Java Development Kit.

  3. API permits abstraction, i.e. the user can obtain very easily a result that needs complex tasks. All the complex tasks are automated for the comfort of the user. I have been a real fan of the button “1-click ordering” from the beginning it appeared on Amazon :slight_smile:

  1. As the name suggests, an API is an interface. These interfaces consist of rules on how to interact with a program or a resource. The rules also specify what you can do.

  2. The Java API is part of the Java development kit. It is the library of all the software components that are part of the development kit by default. The Twitter API, on the other hand, is a web-based API. You send your request via the browser and Twitter returns a JSON-File. The Twitter API has a lot of rules/commands on how to interact with Twitter via the API. It specifies what you can do and in what manner.

  3. A similar example of abstraction is a washing machine. I have to make 3 simple inputs, namely the the clothes, the detergent and the program. The washing machine calculates the time required to run the entire program. It draws the amount of water required for the total weight of the clothes. It decides when to use the detergent, as well as the fabric softener. The program also includes careful cycles of clockwise and counter-clockwise rotation, different levels of RPM, and things like pre-soaking.
    If I had to manually program an entire washing cycle, it would take me almost as long as it takes the machine to execute and complete the program.
    I can further use the washing machine’s “API” to make a few more adjustments to the program (telling the machine the “what” and “how”), all of which I can do with the press of a button.

  1. An Interface Communication Protocol
  2. The twitter API is web-based it needs to be called via http requests
  3. Take a shower. Its an abstraction of get in the shower, get wet, soaping, rinse off, dry up.
  1. Set of rules that allow one set of code to interact with with another set.
  2. Java API defines what you can do with a list. Twitter has the search API, for interacting with search and trends, and REST API, for core data
  3. Going to a restaurant or any other business and getting a service.
  1. Application Programming Interface
  2. Twitter: web based // java: desktop, computer based
  3. <<protected by privacy
  1. An API is defined as a specification of possible interactions with a software component. Basically a interface to communicate with an external software component and the subsequent description how to use it.

  2. Java API is the set of rules to interact with the Java Environment. The Twitter API is the set of rules to interact with the API provided by Twitter. Where as the Java API is used within the Java code, the Twitter API is addressed through the Web by HTTP requests.

  3. API Example: Any automated storage holding goods or materials needs to be able to retrieve them. As customer I am just requesting the goods by providing the name (or a unique ID). I am not bothered with the inner workings. As a result of my demand I do receive the requested goods or at least a message of their absence.

  1. API (application programming interface) is the interface between the Frontend and Backend

  2. Java API is an open sourced and a library of software components,
    Twitter API is a web based and gains access by requesting from Twitter host server

  3. An abstraction is a way to act, but once removed from the process.
    So keeping fit, you log results and progress which is a digital representation, an abstraction of keeping fit

1.An API is defined as a specification of possible interactions with a software component.

2.Twitter API is a web-based API. It must be accessed by making requests over the Internet to services that Twitter hosts.

3.An example is pressing the button on the TV remote and the process behind that which is happening to turn the tv on or change the channel.

  1. An API is a means for pieces of software to interact with each other in a simple way. The APIs abstract the details of how the software works and makes it simple to issue and receive commands.

  2. The Java API comes packaged with the Java Development Kit and provides developers a library of functions that simplifies coding and increases productivity. The Twitter API is web-based and allows users to interact with data generated by Twitter.

  3. An abstraction in daily life would be setting up an automatic withdrawal in my bank account to pay my electricity bill. Instead of manually entering payment information each month my bill is due, I set up an auto pay once, and from then on automatic payments are made.

API - Reading Assignment
1) What is an API?
Application Programming Interface is a way of computer communication where existing code can be reused by developer in a easy way to develop even more complex code by combining different APIs together, for example. Is like the concept of functions and libraries in almost all programming languages.
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
  • Twitter API is a web based API, which means that it uses the http protocol (http request, http respond)
  • Twitter is using JSON formatting

3) The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
It is probably a very complex process to boot up an operation system on a digital device which is abstracted with only one power button.

1) What is an API?
An API is a term used to describe the way programs interact with each other. It is a kind of messenger that sends information to another source to analyse, then returns it, via the messenger, to the source, with the result.
2) In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?
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.
3) The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
Every day I take a shower. I do not think about how the water reaches me, hot or cold, I just switch it on and enjoy!!!

1) What is an API?
An application programming interface enables the frontend and the backend or different softwares to communicate.

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 contained in the Java development kit while the Twitter API allows to make a web-based information request from Twitter.

3) The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
When I push the button “reply”, I start a complex system of processes but I only see the end result.

  1. What is an API?

An application programming interface, in a short term a formatted way to send data from the from an application to it’s backend in order to process it.

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

Java api is a software api base on a library which will interact with data model
Twitter api is a web api, it’s based on formatted request send in a json format via the http protocol from a frontend to a backend

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

It can be seen as a cooking receipt , you have different way to cook eggs, broke 2 eggs and cooks them 2 minutes into a pan will not give you the same result as scrambled them and put them in the freezer 30 minutes (which sounds like a bad receipt :thinking:)

  1. API stands for application programming interface an is a way to programmatically interact with a separate software component or resource.

  2. Java API is is included in the Java Development Kit, Twitter API is web based that allows developers to programmatically interact with Twitter data.

  3. Turning on a computer. Booting and run the routines is complex process, but I just have to push a button.

  1. An API is a specification of possible interactions with a software component
  2. Java has a library of components included in the development kit and Twitter is web based and allows users to interact with the data- it must be accessed by making requests
  3. I am a drummer and own an electronic kit on which you can build your own set of sounds for each trigger/pad- I can save several drum sets and recall the one I need for a specific song at any time by using the interface tools of the drum “brain”.
  1. The API stands for Application Programming Interface. It allows a programmable interaction with separate software components or resources. It is a specification of how different software components can interact with each other. API`s 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. The Java API is a library of software that is included in the Java Development Kit. It can be accessed by a developer after he installed the developer kit on his computer. The Twitter API is a web-based API. It must be accessed by making requests over the Internet to services that Twitter hosts.

  3. An example of abstraction is taking a shower. You don`t need to think about how the water is supplied to your apartment to take a shower. You only need to rotate the water knobs.

  1. What is an API?
    Application Programing Interface (API) - 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?
    Twitter API is web-based and it must access the internet in oder to function. The Java API is included in the Java Development Kit, therefore everything needed is included once the installation is complete.
  3. The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
    Using Atomic Wallet - If I want to exchange crypto, I ca use the atomic swap in the Atomic Wallet. I do not need to access an exchange and do KYC with multiple venues. Everything is done at the Atomic Wallet with a click.
1 Like