What is an API? Reading Assignment

1. What is an API? An API (Application Programming Interface) is a specification that enables software components to communicate with each other through a common interface.

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 a library of components available with the installation of the Java Development Kit. The Twitter API is a web-based API and must be accessed by 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. When I push the button to start my car it kicks off a whole sequence of steps to get the engine started (i.e. sending a signal to mix the fuel and air in proper ratio, fire the spark plugs, and so forth.) I don’t need to worry about all these steps, I just put car in gear and drive away.

1 Like
  1. An API is an Application Programming Interface. It allows information to be queried and served - for example, from a device to a server, then back to the device, and which is then displayed in that device’s UI. API was originally used inside applications, to allow interlinking of code in the same machine, but is used now over the internet, and it is how many common sites process and serve requests - facebook, twitter, etc. ‘A way to programatically interact between components or resources’

  2. Java API is a toolkit that is available in the Java suite to plug and play. Twitter API on the other hand is a proprietary API which can queried from client software. The results are returned/represented as a JSON file. This is an abstracted, information-rich layer that is useable by your client application - browser, or mobile app.

  3. Seriously happy to have this question! In an electrical build [12v] this would be like the process of mounting a nice light switch in your camper van, for example. What the user doesn’t see is the wires behind the panel, leading away to both the actual mounted light fitting as well as the fuse box, and on to the battery bank, with plenty more going on there. The user switches the switch, and the light comes on. The action is abstracted from the actual behind-the-scenes functionality that makes the system work from the simple user input experience.

1 Like

1) What is an API?
Application Programming Interface - specifies possible communication and interaction between different software components
2) In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?
Java API will be delivered with the Java Development Kit and gives functionality, implementations to handle commen tasks at the Java platform (such as list using)
Twitter API is a web based JSON API delivering functions to interact with the Twitter platform. It is thereby sending HTML requests.
3) The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
Abstraction is a comprised description of a more comprehensive action.
Like using a wallet to send cryptos. Even if there are a lot of things happening in the background the abstracted usage by using some buttons in the wallet in the right order is easy to overlook/understand

1 Like

[quote=“ivan, post:1, topic:6381”]
1) What is an API? An Application Programming Interface.
2) In the article the author compares Java API to Twitter API. What is the main difference between these two APIs? Java API is essemtial a “kit” with a predetermined library or list of software components enabling one to add, subtract, determine if something is on the list, and basically defines what you can do with the list. Twitter’s API is a web-based Jason API that ises HTTP to access the Internet and allows developers to programmiatically interact with Twitter Data.
3) The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life. An example of every API abstraction use might be my waze App that is able to determine my destination, estimate how long the drive will take given traffic consitions at any point in time, visually and vocally give directions and even give a reminder alert on a given day.

1 Like
  1. an API is a term used to describe the way programs can interact with each other.
  2. 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.
  3. a can of beer, it’s an abstraction of wheat, hops, barley, and water.
1 Like
  1. It’s a set of rules that allows easy communication between front end and back end
  2. Java API is a library of components within the Java Development Kit, that can simplify of programming regular tasks. Twitter API allows developers to interact with Twitter data on the server.
  3. Any device I start using just by pressing ON button, while loads of different processes have to happen in order to have it fully usable
1 Like
  1. API is a tool that used to integrate large chunks of already exciting code and instructions with software being developed. In the other words, API creates a bridge between a server and a client.

  2. The Java API is rather an abstract utility, a library, that can be used with any service. Twitter API is based on JSON and allows users to specifically communicate with Twitter data.

  3. An abstraction of preparing a tax return for a client. He or she just sends tax advisor his or her personal data and the tax adviosr delivers a completed tax return. The client is not aware about all of the details that are done along with the process of preparation of a tax return,

1 Like

1) What is an API?
Application Programming Interface, a set of rules or an Standard to define how apps should communicate each others.

2) In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?
JAVA API is used for example in most mobile apps(Java based apps), its like a all-in-one toolbox for developers to design software quickly than start it by coding all thing from scratch.

Twitter API is a JSON web-based api, JSON is a “pre-formatted text” method to made data readable for humans, allowing others developers to get data from twitter services (servers), this data is called “public api” or “open api” because its a permissioned data shared publicly from twitter services to interact with others apps; Meaning, twitter could have a “private api”, an API used for most private data shared between twitter’s servers (USA servers hold USA users data, EU servers holds EU users data, private api = secure sharing).

3) The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
Any Business (Stocks Markets, Banks, Fabrics, Shipment…) that execute daily change of data for clients interest (update of data [stock, account balance, production batch, shipment location and items contained] status) can be/is improved by using API for example.

1 Like

1) What is an API?
API or Application programming interface is a means of communication between the front end and the back end basically allowing the clients on the front end to interact with the more complex back end

**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 a set of rules which lets you communicate with the server within a set of predetermined rules included in the JDK
A Twitter API is web based and lets users interact in real time with other users of the platform using JSON

**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 from my daily life would be pressing the button on a remote control to open/close the garage door.An automated everyday process. Pressing the button sends a radio signal to the motor at 315Mhs. There is a preset command to run the motor in one direction or the other

1 Like
  1. Application Programming Interfaces (APIs) are specifications about possible interactions with a software component.

  2. Java APIs define standard functions available to make programming more time efficient. The Twitter API is web based and allows programmers to interact with Twitter data.

  3. Sending a letter via the mail. In the evening I put the letter in a local box and the following morning it is in the hands of the recipient.

1 Like

1) What is an API?

  • An API 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?
    Java API: in the Java Development Kit
    Twitter API: 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 goal of mine today is going to school.
I go to school by bus and I just sit on the bus.(using the bus API)
The Bus drivers need not to know everything about the bus mechanics but he knows how to make the bus move.(the bus driver make use of the driving API)

1 Like
  1. API = Application Programming Interface. It allows you to programmatically interact with a separate software component or resource. You can steer external tools, extracting /using data from external sources or tools in your own application.
  2. JAVA API is a java developers toolkit that needs to be installed so that you can run the API out of the box without having to develop code from scratch. You are the one performing the calculations. The twitter API is webbased and must send request over HTTP to instruct the host (in this case the twitter server) to perform the action (calculations) you request.
  3. Car cruise control. With a switch of a button code is activated that sets a speed that is needed to be kept constant which is in turn done by calculating the speed of the car from different sensors and adjusting engine power to the wheels in order maintain this constant speed.
1 Like
  1. The Application Programming Interface is a concept use to understand the mechanics of specific ways to interact with the software components.
  2. Java API main different with Twitter API is that Java software components are “available out of the box” in a Java development kit, whereas Twitter API is a web based API accessing only through internet connection.
  3. My daily abstraction will be downloading and app e-wallet on the smartphone, add my information, submit it and then after verify and approved, then I load it with cash or connect with credit card paying food by using QR code.
1 Like
  1. An API (Application Programming Interfaces) are like liaisons/mangers between applications and applications, hardware and applications, as well as parsing portions of an application to make it more efficient.
  2. Java APIs is a library of tools found within Java developers kit whereas the Twitter APIs is web based and allows developers to program interactions and request from twitter.
  3. An abstraction in my everyday life is there is no designated cook in my household but instead its whomever gets home first begin the meal prep.
1 Like
  1. An application programming interface allows interactions between frontend clients and backend servers. It simplifies interactions between FE and BE.
  2. Java API is a library that defines interactions with the database. Twitter API simplifies communication between the client and Twitter’s database.
  3. TV remote control which works without me having to programme it first.
1 Like

API is a specification of possible interactions with a software component. API are used to comunicate between the front end users and the back end servers.

The main difference is that Java API is a library of software components and twitter API is web based.

When i order food from an app it sends my order to the place it is made to my specifications. Charged to my account and delivered. i don’t have to do anything accept receive the order.

1 Like
  1. What is an API?
    API stands for application programming interface.
    This interface allows us to use the program or code without understanding every detail. For example, if you surfing the web, you just click some buttons and expect some specific results but you don´t know what is happening in the background.

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

  • Java API is available to everyone with a Java Development Kit.
  • Twitter API is web-based. It’s accessible by sending an HTTP request.
  1. The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
    My Morning Coffee: In the morning i just put some water, and coffee powder in the machine and press a button. While i get dressed, the machine is doing some magic: The water is running through the machine, hot coffee is coming out in the perfect temperature. I don’t know how, but the button is awesome!
1 Like

API stands for application programming interface. It is basically a tool for someone to understand what interactions are available and how to perform every possible interaction

The Java API is a library of software components available “out of the box” to anyone who has installed the Java Development Kit. The Twitter API is a web-based JSON API. Unlike the Java API, which is included in the Java Development Kit, the Twitter API is web-based. It must be accessed by making requests over the Internet to services that Twitter hosts.

“Abstraction is just a way of organizing the complexity of a system so that complicated actions can be handled in a simple way.” There are thousand of examples we have in our daily life. Calling somebody on your phone is a simple task, you just have to press “call” but there are many layers of abstraction. Or switching the lights on, the list is never ending.

1 Like

1) What is an API?
An API is 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, whereas the Twitter API is a web-based API and must be accessed by making 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.

1 Like

You forgot question nr 3 … :man_teacher: :hugs:
Ivo