What is an API? Reading Assignment

  1. An API is an application of “pre loaded code and instructions” that helps programmers to construct a software and the client to communicate with the server.
  2. Java API is “generic/common” while Twitter API is “specific” (interact only with Twitter). Twitter is web based and is a REST API
  3. Every time we want to remember something our brain calls an API to access it from memory :slight_smile:
1 Like
  1. An API stands for Application Specific Interface. It is a way for software to interact with each other
  2. The main difference between the two API is that the twitter API is web-bases and the Java API is not.
  3. Using my phone as a payment system is an abstraction because the only service I require is paying when a lot of services are running in the background to make it all possible
1 Like
  1. It’s an Application Programmable Interface, it’s used for many types of interactions with a software.
  2. 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. My kids, when they say, dad I’m hungry, I’m like 5 differents API’s, one that drives from and to the stores, one that does the groceries, one that ccoks, one that serve the food on the table, one that cleans the dishes.
1 Like

1. What is an API?
It stands for Application Programming Interface. This means an API is a program that interacts with other programs.
As a comparison, a graphical user interface (GUI) or user interface (UI) is a program that interacts with humans.

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 installed on your computer or server.
The Twitter API is web-based and your program must constantly requests information to the Twitter server.

3. The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
Using a map reduces the level of abstraction, i.e. complexity, of understanding how to reach a destination. Using a GPS reduces that level of abstraction even more by constantly telling you not only where you are on that map, but also where to go next.

1 Like

1) What is an API?

An API is a way to interact with a distinct software. It basically defines what you can do and how you can do it.

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 an API designed for those who have installed the Java development Toolkit, thus within a Java program. 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.

Ordering food online.

1 Like

1) What is an API?
Application Programming Interface it’s how the Frontend and the Backend communicate

2) In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?
Java are compressed for programmers to use offline and Twitter’s API is web-based access only.

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

A tv controll is abstracttion a push the button and the tv do the work and i can see things etc. To use a creditcard. Two examaple.

1 Like
  1. What is an API?
    Application Programming Interface - 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 is contained within the Java Development Toolkit and works from lists for software development. Whereas Twitter API is web based, and HTTP requests from an application will return JSON files for commonality.

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 would be pushing the record button on my SKY TV remote control for a series record will ensure that each programme within the TV series is recorded automatically whenever it is broadcast, whether I’m watching or not, or even if the TV is on or off.

1 Like
  1. The API stands for Application Programming Interface. Is basically a set of rules that takes away the complexity and define a simple set of interactions that you can use instead of doing each task manually. It helps the client communicate with the server.
  2. The Java API is a library of software that is included in the Java Development Kit is common. 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, it interacts only with twitter.
  3. Unlocking a screen to see how is the weather.
1 Like
  1. What is an API? Application Programming Interface. Within a API we define what and how a machine will return given a set of parameters.
  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 very verbose library. Its development kit. It provide details on a what and how the API is implemented. The twitter API carters web developers and is formatted in JSON as is designed to go over the interest in REST Calls .
  3. The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
    Use case of a toilet
  1. LidCheck() - Given a toilet… Return if True if the lid is up. Return False lid is up.
  2. SeatCheck() - Given a toilet… Return if True if the seat is up. Return False seat down.
  3. Flush() - given a toilet it opens the water stopping device. Return True
  4. Flushcheck() - Given a toilet. Return True is the flush() was successful. Return Flash if unsuccessful.
1 Like

What is an API?
Application program interface designed to simplify application and software communication
2) In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?
Java is list based w specific ways to sort those lists. Twitter is web-based using JSON that allows specific dataset queries
3) The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
It’s basically simplification of complex work. Example would be electricity. Switch on/off controls lights without end user needing to know how it all works or how the wiring must be performed to run correctly. This increases adoption and satisfaction as we all know to flip a switch to make lights come on without much thought

1 Like
  1. A set of rules by which software can interact with another component or resource.

  2. Java API is a library of components that are part of the Java Development Kit and allows for better productivity by quicker implementation common tasks.
    The Twitter API is web based and allows programmers to interact with Twitter services.

  3. Basic utilities in a home can be examples of abstractions of larger and more complex systems. For example, when you want water, you know an open tap means water will run and a closed tap will mean water will not flow. A common user of the water tap at his/her home doesn´t necessarily need to know about plumbing or the intricacies of mass producing and distributing potable water for civilization.

1 Like
  1. An application programming interface

  2. Twitter uses a web based API and Java uses and API that is included in the JDK

  3. The user interface of a car. You don’t need to be an auto mechanic to drive a car. The complexity has been removed so that just about anyone could learn to safely operate a car.

1 Like
  1. What is an API?
    Application programming interface - It defines standard communication ways and tries to encapsulate complex logic to ease of usage… (What can you do and how…)

  2. In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?
    Included in JDK (offline) vs Web based API / sum of Java classes with parameters, methods etc. vs. Input parameters / functions executed via web and responsed by the server via JSON

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

It’s the object oriented interface implementation from my point of view. You as a user just want to do sth. You don’t care how it is done. Therefore this is a definition of what you will get with what input.
So the interface defines the parameters it needs, executes and delivers the response.
Example: Radio - switch channel / list all channels / volumeup/down

1 Like
  1. What is an API?
    Application Programming Interface is a specification that makes it possible to interact with external software or access data from a server in order to make it more easy for you to program something without having to do it from scratch. Or it makes it possible to make handling easier without having to make difficult and long set of actions.

  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 Javascript development kit and the Twitter IPA is web based. .

  3. The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
    For example when I type in google: ‘Bakery’ and then the app asks me for my localisation, so it searches the nearest by bakeries…

1 Like
  1. What is an API?

An API (Application Programming Interface) is a piece of code that enables two applications (or more) to interact with each other in order to streamline complex operations

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

The Java API works on a software components library, which works like a license. The Twitter API on the other hand, is a web based API which means it is based on internet queries.

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

An abstraction could be the keyboard I am currently using to type my answers for this assignment. I don’t know how the letters appear on my screen but the printed elements on my keyboard enable me to write without knowing how it actually works.

1 Like
  1. APIs are sets of rules that facilitate the interaction between different software components taking away the need for a programmer to develop everything from scratch.
  2. Java API is a JDK component providing a set of pre-coded commands that performs common lists-related tasks, while the Twitter API is a more specific web-based API with a set of commands that performs common tweet-related tasks.
  3. Food delivery at home. You just click a button on your phone and someone prepare the ingredients, cook it for you, pack it for you and sends it to your address, you just have to eat.
1 Like

A: Application programming interface is a way to programmatically interact with seperate softwarecomponent or resource

A: the difference is twitter is a web based API and JAVA is a installation on the cpu. With a web-based API such as Twitter’s, your application sends an HTTP request, just like a web browser does. But instead of the response being delivered as a webpage, for human understanding, it’s returned in a format that applications can easily parse.

A: Everyday I need to order maerial form the electrical supply store and have it shipped to the job site or ready for pick by another team member. Making sure the order is correct is part of the job also

1 Like
  1. api = Application Programming Interfaces, it is a way for different kind of softwares to communicate with each other in a more simple way, it is also a specification of possible interactions

  2. Twitter API is specifically for communicating with the social media platform Twitter, while Java API is more general but have predefined commands which one can use

  3. When i go to the gym to squat, i dont have to have knowledge about all the muscles involved and which of the millions of nerves goes to what place, i just put the bar on my upper back and squat, my nervous system takes care of the rest and makes sure im not trying to lift the bar up with my shoulders for example.

1 Like
  1. API is a premade set of rules that helps the programmer life
  2. Java Api is a library of software components available “out of the box” to anyone who has installed the Java Development Kit
    Twitter API is a web-based JSON API that allows developers to programmatically interact with Twitter data
    Unlike the Java API is is a web based API.
    3.When I go the restaurant I abstract the process of cooking the food by myself letting other do it for me.
1 Like
  1. What is an API?
    An Application Programming Interface, which is a set of routines and tools for building software applications.

  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 web based whereas the Java API is included in the Java Development Kit.

  3. The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
    Using Google to search for information online. I type one question into a box and don’t see all the complexities of how the information is gathered and provided to me.

1 Like