What is an API? Reading Assignment

An API is a pre-defined way for a client and server to communicate with each other

The Java API is provided as part of the Java Development Kit and the Twitter API is a web-based service.

A personal example of an abstraction is a map. It’s a reliable representation of the territory that’s useful to me, but is clearly not the actual territory.

2 Likes
  1. API is the acronym for Application Programming Interface, which is a software intermediary that allows two applications to talk to each other. Each time you use an app like Facebook, send an instant message, or check the weather on your phone, you’re using an API.

  2. Twiter API is a web-based JSON API, Java API is a library of software components.

  3. ATM machine operations!

1 Like

API´s- Homewrok

1- Application Programming Interface: are standarized programming instructions that allow different software apps and or programms to inetract or connect with eachother
2- Java API is a list of instructions programmers can use easely for Java Programming
The Twitter API isd a web based API specifcially designed to interact with twitter data for any app
3- An abstraction in my daily life is checking my crypto portfolio every morning and see whether the market is going up or down. Connecting to Coingecko, checking my portfolio , checking the balance and the daily P&L. This could be done by an API in my smartphone

1 Like

What is an API? Reading assignment

1) What is an API?

An API is an Application Programming Interface. It is an interface that defines interaction between different applications or programs. For example, an API will specify the kinds of requests that can be made and how they can be made, the data format required, conventions to be followed, etc.**

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 suite of pre-built software components that implement common tasks and can be used as pre-existing building blocks by programmers. For example, it defines what you can do with a list, and how each action can be done.**

The Twitter API is a web-based API, which means that developers or users need to make requests over the internet (for example, to interact with Twitter data), versus the Java API which allows developers to install and use the suite of components on their own device**

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

In this case, abstraction is where the complex details and mechanisms of an activity or event are dealt with / simplified s so that the person engaging in the event or activity can focus on the output of that experience. For example, plug-and-play devices or accessories for the computer, where you can plug them into the appropriate port (USB or other), and the system will automatically search the internet for the correct drivers, make sure the components talk to each other, test the connectivity, and enable it to operate effectively with minimal interaction from the user

1 Like
  1. What is an API?

An API is an Application Programming Interface. A specification of possible interactions with a software component.

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

The Java API comes together with the Java Development Kit and is thus stored locally on your server / computer. The Twitter API on the other hand is web-based.

  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 in my daily life is the way I call people with my smartphone. I just have to press a button to contact them. I didn’t have the need to worry about setting up the mobile connection towers and the protocols used to make it all work.

1 Like
  1. An API – Application Programming Interface – is an abstraction layer that allows communication between application by exposing complex functionality through a relatively simple set of interactions.
  2. Java API is a software library while Twitter API is web-based.
  3. I stuff my dishwasher with dirty dishes, I press a button, wait, get clean dishes out.
  1. What is an API?

APIs provide a way to manage abstractions. Well-designed APIs create an efficient and fluid user experience, while poorly designed APIs can cause headaches almost every time they’re used.

  1. 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. These components implement common tasks and generally increase productivity because programmers don’t have to start from scratch every time. One of the basic components used in software is a List. The Java API defines what you can do with a List; add items, sort the list (e.g. alphabetically, numerically descending), determine if an item is in the list, etc.

The phrase “Twitter API” is generally understood to mean the thing you interact with.

  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 API is a simple interface that hides all kinds of complexity behind the scenes.

An abstraction from my daily life is ordering products online. Through the API, I place orders easily but many complex things then happen behind the scenes. My delivery address is retrieved from a database, the nearest fulfilment centre stocking the product is determined and notified to remove an item from their available stock and packaged for delivery. Finally, the package is routed through logistics (e.g. vans) along with other packages in a way that ensures all the packages reach their destinations efficiently. Then the product shows up at my doorstep. As far as I’m concerned, I ordered it through the API and it arrived at my doorstep but in reality this otherwise complicated process has been abstracted away from me.

1 Like

1/ API is a program = instructions interfacing frontend and backend, users and servers
2/ twitter is a web-designed API, sending requests to server directly on protocol software http,
Java is a library of pre-made components, freely accessible for Java developpers
3/ an action can be described with a verb (or a sequence of words), which is an abstracted sequence of letters, a representation located in our human mind, far different from the impact of this action itself in real life

1 Like

1) What is an API?

  • a abstraction of code which helps two programs to communicate with each other.

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

  • Java API is Common and designed to fit to a lot of other Programms. Twitter API is designed to communicate with 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.

  • speaking with SIRI is an abstraction. Tell here to find the best route to next McDonalds.
1 Like

1.) Application Programming Interface
2.) Twitter API is Web-based
3.) Running scans on automated schedule, rather than running Manually everyday

1 Like
  1. What is an API?

A defined specification of software interactions that exists abstracted from the software itself.

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

Java is a local API that comes with the dev toolkit, while Twitter API is web-based.

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

Pressing the button to switch on my computer triggers a series of electrical responses, machine-level code and high level code that combine to create a GUI I can interact with.

1 Like
  1. An API or Application Programming Interface provides a way to define and manage abstractions by telling us what we can do with software components and how we can do it.
  2. The main difference between Java API and Twitter API is Java API uses lists to deliver info from the server while Twitter API interacts with the web using JSON through searches.
  3. An abstraction from my daily life would be how my Roku manages the complexity of my different streaming services which in turn manage the complexity of the video libraries making it easy for me to find something to watch.
1 Like

1) What is an API?

It’s an application programming interface. It allows developers to access and connect to external code. An API is generally a set of instructions for how to interact with the external resources. Sometimes it also provides the connection to the resource.
2) In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?

Java is software based. Twitter is internet based.

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

On example would be always walking on the right of the sidewalk and the stairs in the direction you are going. This is a social rule API. Another example would be in language thank you is always followed with you’re welcome. Another language example would be irregular words where the plural is still the singular version of the word as it’s the code that accesses it. For example you have one deer or one sheep or several deer and several sheep. You would never have deers or sheeps because of the languages API!

1 Like

1.application programming interface
2.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. I turn on the car with my key but backend abstraction alot more elements are happening to make the key start

1 Like

What is an API?

It is the abbreviation for ‘Application Programming Interface’. They hide complexity from developers, extend systems to partners, organize code and make components reusable.

API is a set of routines, protocols, and tools for building software applications. It specifies how software components will interact with one another. APIs are also used when programming graphical user interface (GUI) components.

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

The Java API has a set of rules for code interaction within the Java programming environment. Whereas the Twitter API interacts with the code as its sent over the web (client/server)

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

I believe that one of the major objectives of an abstraction API is to streamline the process and cut down on unnecessary parts of a manual process. An AI built restaurant style home espresso machine will do all the work behind the scenes to deliver a “perfect cappuccino”

1 Like
  1. an API is the way frontend and backend communicates with each other. It removes the complex stuff from the front end interface by simply having a few options that the API then figures out and sends to the server. Its like the Car example. You press your foot on the gaspedal but dont need to know whats happening from that point on in the car itself. You just know it started driving.

  2. Twitter API is web based, while Java API is included in the java development kit. Twitter is specific, Java is general.

  3. Using a phone app to unlock my door. the part of putting a key in the hole and manually move the lock is now replaced by a simple tap on my phone.

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

  2. The Java API ist installed on your computer where you can access it locally. The Twitter API is a web-based JSON API that allows developers to programmatically interact with Twitter data remotely.

  3. The API doesn’t have to explain what happens inside the engine when you put your foot on the accelerator. What and how information come together in the API definition is abstract.

1 Like

1) What is an API?
A standardized interface built into a system or data repository for users or programs to call for specific types of data or processing or other actions that can be performed by that system. They are frequently used in web-development to embed third party interactive elements onto sites, or to return data stored and processed by the called on program (tweets with a certain hashtag from twitter, frequency of search terms in a time period from google, names of students from a learning management system (this would be an internal api, for privacy reasons). (stands for “Application Program Interface”)

2) In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?
Twitter API asks for a return of data or action processed by Twitter (on its servers) and sends data back, and is extremely limited. Java API calls on a standard library of actions in broad use and can be called on for any environment running Java by anyone running an instance of the Java Development Kit, and thus can be broadly useful in many environments for many purposes.

3) The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
In order for me to have dinner, I need to know how to purchase food, store food and cook food, but I do not need to know how the money I spend is processed (ie what payment processor is in place, what service contract keeps the machines running, what software scans the items), how the food I pick up gets to the store (the growing, the picking, the processing, the packing, the transporting), how the fridge I used was created or why it works (the compressors, the heat coils, the insulation, where the metal came from), nor do I need to know how the gas gets to my stove or the igniter works or what the exact metalurgic components of my pans are in order for me to cook. All I need to know is how to call on the interface (me swiping a card, opening a door, turning a knob), to get a return function (money spent, food stored at appropriate temperature, food cooked at appropriate temperature) that meets my called action.

1 Like
  1. Application programming interface. It defines the interactions between the frontend and the server
  2. Twitter API is web-based, Java API is part of the Java DevKit.
  3. Sending a mail to someone. It automatically gets through to his/her mailbox, once I put down his/her address correctly, doesn’t need to figure out the protocol/coding, it’s all processed behind the scenes.
1 Like

API: Application Programming Interface interacts with a software component or resource. It performs abstract and complex (the what and how) so that complicated actions can be done simply.

JAVA vs Twitter API: JAVA is an out of the box software solution that allows user to select from a list library to define what to do. Twitter uses the web and uses HTTP to make web requests to services that Twitter uses.

Abstraction is important because because that is what is going on inside the API. It organizes the complexity of complicated actions so they can be handled simply.

1 Like