What is an API? Reading Assignment

1) What is an API?
An API (Application Programming Interface) specifies how we can programmatically interact with another software component or resource. It allows communication between different applications.

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, and you can only access is if you have the Java Development Kit installed, so it’s offline.
Twitter API is a web-based API, and it allows programmers to interact with Twitter data, and uses HTTP protocol in order to interact, so it online.

3) The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
Scanning a key card to unlock my door. I don’t need to use a physical key, nor do I need to understand how the RFID technology works in order for the door to unlock. The keycard is an abstraction, simplifying the process of unlocking a door.

1 Like
  1. An API is a precomposed code, used as a shortcut. It means that instead of writing out the entire code from scratch you can use an API that has all of that code and then you can implement it into your own code.

  2. Java API is a generic list of available code in Java Development Kit. Twitter API gives you access to twitter’s data to for example add a twitter feed to your own website. It’s also web based rest API and uses JSON as data format.

  3. Press coffee button on the espresso machine - pressing 1 button makes coffee and does all the tasks included in the process, like grinding, filtering, boiling water etc.

1 Like

1) What is an API?
An Application Programming Interface that tells an application how to interact with another application and what you are capable of doing with that API
2) In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?
Java is internal and contained in a Java dev kit (offline) wheres Twitter API is open/public and requires making calls 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.
Car keys. You simply turn them and the car starts. You just need to know how to turn the key and what to expect (car starts). Arguably, instruction manuals for anything are also abstractions (e.g. for the car, it tells you how to start the car, etc.) because you don’t need to understand that engineering and physics that generate the result. The “how” (laws of physics) and “what” (specific mechanical reactions) are abstracted away.

1 Like
  1. What is an API?

An API is a set of interactions/ rules that are used when building software applications- they make life easier for developers.

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

Java API: The Java API is a library of software components available “out of the box” to anyone who has installed the Java Development Kit.

Twitter API: The Twitter API is web-based and can only be accessed by making requests over the Internet to services that Twitter hosts.

  1. 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 way of organizing the complexity of a system so that complicated actions can be handled in a simple way. An example of abstraction in daily life would be using a TV remote. The buttons make life simpler- even though there are many unseen actions taking place in the background.

1 Like
  1. An API is a set a rules that help programmers interact with other software and resources.

  2. Java API is integrated in the Java Development Kit.
    Twitter API is web based and to access it you must make requests over the internet.

  3. Because i’m a coffee lover, pressing the button on my coffe machine is a daily abstract, the machine takes care of all procces involved (grind the beans, boil the water etc) to prepare my cup of black coffee (no milk no sugar :joy::face_with_hand_over_mouth:)

1API is application programming interface. It’s a a way to interact programmatically with separate software component or resources. It has following features like hiding complexity from developers, extent system to partners, organise over , make component usable
2) In Java Api there is set of library that one get when development tool kit is installed whereas in twitter it’s web based and user interact using program
3)Abstraction is basically organizing things. So for example my vendor delivers milk at 8 am every morning and my cab arrives at 9 am everyday…I don’t have to remind them every day for the same task

1 Like

What is an API?
An Application Programming Interface that enables communication between applications on our devices (phone, pc, …) and on servers or other applications.
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 software components available “out of the box” to anyone who has installed the Java Development Kit, while the Twitter API is a web-based API that allows developers to programmatically interact with Twitter data by making requests over the Internet to services that Twitter hosts.
The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
I like more the example of waiter in the restaurant–> the menu that we check is our APP meanwhile the kitchen in the restaurant is the place where all the programs and calculations are executed and also materials are stored like on server. And our waiter is the API that takes our request and communicate it to the kitchen and also deliver to us what we wanted.

1 Like
  1. A specification of possible interactions with a software component.
  2. Twitter API is web based and can be accessed by sending an HTTP request. Java API is a library of software components available to users who have installed the Java Development Kit.
  3. I didn’t get that section
1 Like

**1) Aplication Programing Interface, it facilitates comunication between apps, components and servers.
**2)Java API is a library of softwear components available to anyone who has the development kit. Twitter API is a web-bassed API that allows developers to interact with twitter data
**3) its a way organizing complex sistems into easy tasks. when i order my food through an app i just choose what i want click order and recieve it. that is the abstraction of a complex sistem that requieres the app telling the restaurant what i want, the restaurant preparing it, wraping it up, the delivery guy picking it up, delivering it to me, me paying and the restaurant delivery boy and app getting their cut.

1 Like
  1. An API (Application Program Interface): codes and instructions” that helps programmers to construct a software and the client to communicate with the server. API provides a way to define and manage abstractions by telling programmers what they can do with software components.

  2. Java API is common in Java while Twitter API is REST APi and specifically for Twitter only.

  3. API in daily life: starting a car using remote starter every morning. I do not know or need to know how remote control was constructed, how signal was transmitted/received between remote starter and car, and how starter of engine was initiated to start the car.

1 Like
  1. What is an API?
    API allows users to interact with various programs / software components / resource.
  2. In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?
    Java API allows users to use the Java data structures while Twitter API interfaces based on JSON API to interact with twitter data. Main difference is the Twitter API is web-based API, accessed by making requests over the internet rather than to your local installation drive within the computer / local network.
  3. The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
    Abstraction organises complex systems so that tasks can be handled in simple ways. An example of abstraction for the “button” for attending a meeting on client site: - Button pressed, leading into queries on meeting details, locations, client site representative, then automate the process - Smart phone calendar reminds me the night before of the day’s meeting - In the morning the smart phone displays weather and traffic information, simplifying my decision to know whether to carry an umbrella or not, and when to leave the house - ride-sharing app finds a driver in the area to drive me to the client site
1 Like

1.An API(application programming interface) is a connection to an external source of data, programmers can add to their code.
2. To use the Java API you have to install the Java Development kit, the twitter API is a web based JSON API which can be accessed via an internet connection.
3.If you want to write something, for example a presentation with you laptop and you have this cool program with templates you can use, so all you have to do is put in you text to have a good looking presentation. Another example most people know are the filters on photo apps. E.g you want to blur a photo, all you have to do is push one button

1 Like

What is an API?

API (Application Programming Interface) enables programs to exchange data and functionality.

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

Twitter API requires access to the internet in order to function.

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

Booking the cheapest flight through Expedia website.

1 Like

1) What is an API?
API hides the complexity from the developers and describes the way programs can interact with each other.
2) In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?
The Twitter data is web-based and developers need to request access to interact with Twitter data.
The Java data comes with the 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.
Trading crypto assets, using Alexa to play my favorite radio station, or turning on the lights in my room.

1 Like
  • The way that programs can interact
  • I guess the main reason to compare and the pourpose here is to reinforce that we should always care about the best practice in API adoption, because a wrong choice can ruin everything…
  • I would mention any daily payment - through cards or web -
1 Like
  1. API stands for Application Programming Interface. It is a set of codes and rules that simplifies interactions between different programmes or clients/servers
  2. Twitter API is based on the client side and works by sending a HTTP reques while JAVA API is a set of rules between software components and can only be run by users who installed its development kit.
  3. Can’t find this section?
1 Like

1.API: application programming interfaces; it is a way to programmatically interact with a separate software component or resource.
2. Java API is a library of software components available to anyone who has installed the java development kit. the basic component in software used in software is something called a list Java API defines what you can do with that list.
Twitter API: is a web based Json API, that allows developers to programmatically interact with twitter data.
3. i have with a cryptocurrency platform Bitvavo, where you can make a search which coins are your favorite and which coins you buy and which coin has the biggest upward or downward change.

1 Like

) What is an API?

Application programming interface, can be used as shortcut to access large abstract systems on touch of a “button” for the programmer.

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

Twitter api is a json api which lets users to interact with twitter data in programming. Java API is a library of software components on the other hand.

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 from a restaurant. It goes to restaurant and courier through application, and this “front end” application communicates with user and receives data back from server and other front end applications to co-ordinate the status of the order.

1 Like
  1. What is an API?
    An API 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 like a framework, it has predetermined code included in the JDK.
    Twitter API is a REST API, were the user can access specific data from a server.

  3. The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
    Everytime when you go to the restaurant and you interact with the waiter it’s like using an api. You interact with him without knowing whats going on in the background.

1 Like
  1. It is an interface which makes it simple for programmers to dig into other protocols without having to start from scratch, giving them pre-made rules and instructions.
  2. the Java API gives you rules within the Java enviroment, requiring usage of the Java Development Kit, whilst the Twitter API is web-based and gives out information on JSON files through the web.
  3. A computer. How hardware interacts with software, how file storage works, how a screen works… All of it is based on so many “moving parts” to work that a single human being could probably never comprehend all of its steps.
2 Likes