What is an API? Reading Assignment

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

  2. The Java API is a library software component available to anyone who has installed the Java Development Kit. The API defines what you can do and how to perform actions with a list, which enables programmers to not start from scratch every time by keeping track of common tasks.

The Twitter API is a web-based API that allows developers to programmatically interact with Twitter data. The API must be accessed by making requests over the Internet to services that Twitter hosts. The main difference between the Java API and Twitter API is that the Java API is included in the Java Development kit while the Twitter API is web-based.

  1. Abstraction is a fundamental concept in computer science and is a way to simplify complex systems. I personally interact with abstractions daily, for example when I make a cup of coffee. I simply just put my empty cup in the coffee machine, press a button, and a few seconds later I have a freshly brewed cup of coffee without basically no major efforts.
1 Like
  1. An API is an application that simplifes a process for the user. Ordering paper towels from Amazon using the Amazon Dash button is a good example.
  2. Java API is an ā€œout of the boxā€ set of components, but Twitter is a webbased API.
  3. Driving a car is a greate example. When the user pushes on the gas pedal, a series of complex reactions take place, but the user simply experiences the car speeding up.
1 Like

1) What is an API?
application programming interface. It is a way to a program to interact with a separate software component or resource. API’s pre define the way certain programs interact.

2) In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?
Twitter API’s are web based, where Java API is part of a developers kit. With the web based API, must be accessed by sending a request 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.

Every morning I have a smoothie. Making then and cleaning up after then was a chore. So I bought a freeze dryer. Dried over 50 different fruits and vegetables. Ground them into powders and mixed. Now every morning I simply add 2 tablespoons of mixed powder into my liquid of choice.

1 Like
  1. API is a way to programmatically interact with a separate software component or resource.

  2. The Java API is included in the Java Development kit to anyone who has installed the Java Development. The Twitter API is a web-based API. It must be accessed by making requests over the internet.

  3. my order on ubert eats

1 Like
  1. An Application Programming Interface is simply an intermediary that allows two applications to communicate with one another.
  2. The Java API is an ā€œin houseā€ API that is included with the purchase and installation of the development kit whereas the Twitter API is web based.
  3. An example of abstraction in my life would be my meal prep. Twice a week I prepare and portion enough food so I have ready to eat, lean, clean, nutrient rich meals each day.
2 Likes
  1. API stands for Application Programing Interface. This program allows complex code to be simplified an easy communicated with the more complex backend interface.

  2. The main difference between the Twitter API and the Java API is Java is a set of prepackaged data functions that can be communicated between others programs running Java JDK. The Twitter API is web-based and runs on JSON which communicates directly with Twitters server.

  3. An abstraction I use in my daily routine would be my step counter app. If I go for a jog I don’t need to track my distance or locations as all the complex stuff is doing that behind the scenes. All I need to focus on is the app and its basic interface.

2 Likes

1) What is an API?
An API connects frontend software to backend software. They make it possible to exchange information efficiently and simple.
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 framework from the Java SDK with predetermined code. The twitter API is a REST API which has a set of functions which devs can use to interact with the twitter database.
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 want to throw a ball at a target, i’m only focused on aiming, throwing the ball and looking to see if I hit the target. I’m not concerned with wat is actually happening under water which is mostly automatic: Measuring the distance with my eyes, assessing the force needed to hit the target and then coordinating all the big and tiny muscles for all the motions needed. Al steps that I am aware of is an abstraction layer. Another abstraction layer is all the processes happening in the human body.

2 Likes
  1. An API, or application programming interface, is an interface that interacts with a software component in many ways. However it usually demonstrates the what and how of something. For example, a piece of code for a website is the ā€œwhatā€ that puts the website together; the ā€œhowā€ is the structure of the code that tells how the website is to be constructed.

  2. In the article the author compares Java API to Twitter API. The main difference between these two APIs is that Twitter API is based on the Internet while Java is not.

  3. One particular abstraction from my daily life: Since I have accounts with various online education platforms, including Ivan on Tech Academy, I have to log in to my account using my password and username or email. If I do not have these things, I have no access to any coursework.

2 Likes
  1. An Application Programming Interface is a set of specifications that determine interactions with a piece of software.
  2. The Java API is a library of software components and the Twitter API is a web-based API that allows interaction with Twitter. One runs locally on the computer; the other over the internet.
  3. I like coffee and my coffee machine takes care of the whole brewing process for me :smiley:
2 Likes

1- API stands for Application Programming Interface. It is basically a guide that lets you know what and how the software component works
ā€œAn API is defined as a specification of possible interactions with a software componentā€

2- Java API has a kit of predefined components a programmer can use to implement common tasks and generally increase productivity.
Twitter API is a web-based API. It must be accessed by making requests over the Internet to services that Twitter hosts.

3- An abstraction of my daily life: food delivery. Instead of going out, buying vegetables and chicken, come back home, chop everything, pre-heat the oven, cook the vegetables and the chicken breasts… blablabla, I open my phone lying on my couch, open the delivery app, order it and wait until my vegetables+chicken arrives.

2 Likes

1)API stands for application programming interface
2) The Java API, is included in the Java Development Kit, the Twitter API is a web-based API.
3)Smart phone, most people use a smart phone without actually knowing how it functions.

3 Likes

1) What is an API?
Application Programming Interface, allows other developers to interact with your code or platform without coding from scratch.
2) In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?
I’d classify one as a low level API (java) and the other as high level. However, Java is a private (backend API) and Twitter a public (internet exposed) API.

3) The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
A telephone. I pick it up and tell it who I want to talk with and it does the rest.

3 Likes

1) What is an API?
API is basically a User Manual for the app itself. It shows you what the app can do (functionalities), and how do you use it (interaction). It does now show you the complexity of its work process

An example would be using Binance API which is a manual on what data it has and how can you use its data to build your own website

2) In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?
The Java API comes along after installing the Java DevKit which shows how to efficiently use the Java language. The Twitter API is web-based, meaning you don’t need to install Twitter or its whole database to access its data. You can request specific data (data you want/need) from it using its API (a URL) that returns easily parsed documents like JSON, instead of returning a webpage (usually what happens when you input a URL)

3) The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
Daily life Abstractions: Doing the Laundry, Brewing Coffee, Watching/Streaming through Netflix, Sending Online Messages, and more

2 Likes

1) What is an API?
It is a specification of possible interaction with a software component. It is a way to programmatically interact with a separate software component or resource and helps to organise the code. It also makes components more usable.

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. Unlike Twitter API, which is a web-based API. That means that the Java API is immediately available in comparison to Twitter API, which needs to be accessed by sending an HTTP request.

3) The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
A good example would be drinking tap water. The API-side: No matter what kind of tap is being used, all
of them function the same. Open it, fill a glass with water, close it. It’s simple. The abstraction side: I don’t need to gather water from somewhere, filter it and build pipelines that are connected to the tap every time I want to drink it. It just works! :slight_smile:

1 Like
  1. What is an API?

In plain terms, an API, or Application Programming Interface is an inclusive set of rules
that specifies how a human can interact with a machine when programming or writing code - either for the machine’s operation of itself, or most commonly for some software to be run ON the machine.

As an interface between human and machine, it lets a human understand
how to most efficiently/effectively program or write code for some application,
by specifying both WHAT and HOW – what IS and ISN’T allowed in the code,
and HOW the code could/should be written.

It also provides various programming ā€˜tools’ that a human can use to do this programming.

  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 built-in library of components for interacting with the Java language itself -
whether a Java application is web-based or not.

Twitter is web-based, and makes use of several APIs which are used for interacting
either within or from Twitter, or for causing Twitter to interact with other web-based applications.

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

Money is a symbolic abstraction of the creation of something valuable –
I don’t program or code directly with a gas station for gas for my vehicle -
I receive ā€˜money’ in exchange for my programming code, which I then exchange for gas.

1 Like
  1. API stands for application programming interface & is defined as a specification of possible interactions with a software component. The name of some APIs is often used to refer to both the specifications of the interactions & to the actual software component you interact with: i.e. Twitter API.
    APIs take an overwhelming amount of complexity and define a relatively simple set of interactions that you can utiize instead of doing it all yourself. Any software project uses tens or hundreds of APIs directy which rely on other APIs.

Open or public APIs have become more available over the internet & allow to write code that interacts with other vendors“ code online - what is known as API integration. I.e. Google APIs is an example of such.

  1. The JAVA API is a library of software components used by JAVA developers to interact with the JAVA platform & is included in the Java Development Kit installed, it’s components implement common tasks & increase porductivity, because programmers don’t have to start from scratch every time. One of the basic components used in software is called a List which keeps track of a list of items.

The Twitter API is a public API that is used to interact with the social networking service. Unlike JAVA API, it is a web-based JSON API that allows developers to programmatically interact with Twitter data. It must be accesssed by making requests over the Internet to services that Twitter hosts.

  1. I issue bills for children at the kindergarten. I need data from the center of social work, the % of the subsidy for each child, I have to take into account the price of the program the child attends for each municipality & the days the child was absent. When the parents receive the invoice they see one or two single numbers on it & finally one last - the monthly amount they have to pay.
1 Like

1) What is an API?
An application programming interface(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?
The Java API is available to all users who have installed it and can be run locally, it also only has a set amount of functions that can be run to arrange or sort the API. However, the Twitter API is a web-based API and has the search, create and interact functions.

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 search for an online game I click the ā€œSearchā€ button and it automatically puts my name into the line of people searching for a game. It interacts with the server and pairs me up with players of similar skill, and people in the same region. This is all done with the click of one button and all I see is a timer that shows how long I’ve been searching for.

1 Like
  1. Application Programming Interface is a bridge between two applications.
  2. Java API is for programming API“s | Twitter is a ready to use API
  3. I press one Button on my Coffee Maschine and dont have to worry about preparing the coffee by my self.
1 Like

1) What is an API?

  • Application Programming Interface. 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?

  • The Java API is a library of software components available ā€œout of the boxā€ to anyone who has installed the Java Development Kit while Twitter API is a web-based JSON API that allows developers to programmatically 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.
  • Pressing a button to turn on the PC or laptop daily and don’t need to understand how my screen turns from a pitch black to a usable and interactable output device.
1 Like
  1. An API is a progamming interface that allows you to interact with software components both internaly and externaly that make the what and how of the coponent easier to use.

  2. The Java API is part of of a software program and the Twitter API is web based.

  3. Oxygenating the the cells of the body. I breath and the body does the rest.

1 Like