What is an API? Reading Assignment

1) What is an API?
An API (Application Programming Interface) defines the possible interactions with a software component. It includes information on WHAT you can do and HOW you can make it do it. But doesn’t explain what happens inside.

2) In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?
TwitterAPI is a web-based API, used to interact with the public data of twitter (example: Check how much likes you have) data is sent in JSON

JavaAPI is a library with a list of components that are regulary used, making the programmers life easier

3) The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
You can buy energy drinks ready made saving you the hassle of mixing water and powder. (in this case the powder is also an abstraction, the powder is ready made. You don’t have to go out and buy every ingredient separate, grind it up weigh it out, …)

1 Like
  1. An API (application programming interface) is essentially the input layer resting between humans and computers that allows them to communicate to each other in powerful ways. Essentially we can tell a computer what to do and it does it like a perfect pet.

  2. Java is the technology related to hardware based programming, basically a technology built into the pc itself once the Java library is downloaded, whereas a Twitter api is a software based technology, nah computer with access to the internet can use it when online.

  3. Tesla autopilot button. Once within a certain, predetermined set of parameters, once I press the button the car will be able to drive itself to the destination, a very simple abstract application to a very complex problem

1 Like

1) What is an API?
An API is a set of instructions that your application interacts with.
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 API kit while the Twitter API is web based and request are made to it.
3) The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
My google calander is an abstraction because I plan out my weeks in advance and follow my schedule. It just pops up reminders.

1 Like

Answers For What is an API Assignment.

  1. An Application Programming Interface is a term used to describe the way a program interacts with separate software components, programs, and resources.

  2. Twitter is a web-based JSON API that allows programmers to interact with Twitter data. While the Java API is a library of software components that can implement common tasks that generally create increased productivity by allowing programmers to not have to write common tasks from scratch.

  3. Driving is an example of abstraction from daily life. When one would like to travel they only need directions to a location, gas, a driver’s license, and a key to the car. The driver does not need to know how combustible engines work, we don’t need to know the underlying mechanics of a specific automobile, or understand how the network of roads intersect in order to drive and get to a destination.

1 Like
  1. an API is a term used to describe how programs interact with each other and contains all the possible interaction with such program/software component.

  2. the Java API comes with the Java development kit as a sort of manual and probably can be used without having an internet connection. the Twitter API is web-based and lets you interact with Twitter data by sending HTTP requests just like a browser.

  3. an API is an abstraction in the sense of it “dumbing down” actions and their outcome. using an API gives you the outcome of a set of happenings without having to know those in-between happenings. like the AMZN dash button. you push the button and soon after you get toilet paper (or whatever you order) delivered at your door, in between many things happen but you don’t (have to) know all that. another example would be that by blinking your eyes every once in a while they won’t begin to hurt. just close your eyes very shortly every so often and you’ll be good, you don’t need to know about the inside of your eyelids putting a small blanket of moisture over your eyeballs which is what keeps them from hurting. assuming blinking is something you don consciously.

1 Like
  1. API is Application Programming Interface that hides complexity by preloading code and instructions, thus allowing for better communication between the frontend and backend

  2. Java API is a library of components from the Java Development Kit.
    Twitter API is a REST API, and defines how to interact with the Twitter database

  3. At home I just have to say " start radio" and the radio starts automatically, and depending on what time it is, it is predefined to play different radio channels to boost my current mood as my level of happiness have a strong tendency to increase in tandem with the sun rising higher on the horizon

1 Like
  1. What is an API
    Application Programming Interface. It uses the concept of abstraction in computer science to basically reduce the workload of a developer by using a set of preprogrammed actions for a specific work which can be used in by multiple users that don’t want to repeat these lines of code again.

  2. In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?
    Java API is on your computer whereas Twitter API can only be accessed via internet as it is 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.

I am a tour guide with a tour company. A tourist comes to us and orders a private tour guide. The tourist gets our guide API which has done all the work of training and licensing the guide, making sure there is a proper website that promoted our service, the invoice is generated for the tourist, coordination of where and when the tour will start.

1 Like
  1. API is defined as a specification of possible interactions with a software component.
  2. The Java API is accessed via the development kit, the Twitter API is web-based
1 Like
  1. what is an API?
    An application programming interfaces serves as a code that simplifies communication between a platform and another application without having to write the entire code for the platform.
  2. In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?
    The main difference is that java API is available through the javascript suite and 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.
    In my daily life apple pay has saved my life many times and this process has become so simple as to type my password into my phone and hold my phone to the card reader to see the transaction has been approved. This is the frontend process but the backend process has to communicate the transaction cost and verify that my bank balance has the funds necessary to cover the transaction.
1 Like

Hey man, did you forgot to answer the 3rd question?::nerd_face:

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

  1. An API is the communication between two systems that aims to remove the need to understand the complexity of a process for the communication to be effective.
  2. Their location: Java API is an out of the box development kit and Twitter API is internet based, accessed by sending an HTTP request.
  3. My coffee machine. I tell it to make a cappuccino and it decides on the amount of water, pressure for the water going through the correct amount of coffee with the right amount of milk and how to froth it.
1 Like

1) What is an API?
Application Programming Interface. 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) In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?
*The Twitter API is a web-based JASON API which receives a HTTP request frpm the Twitter App. Java API is a library of software components that comes with 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.
Ordering food on Uber eats, we don’t have to call anymore to a restaurant to place an order, we don’t care if the food will arrive in a car or by bike, actually it doesn’t matter, we know the food will arrive anyways

2 Likes
  1. Set of rules that allow applications to interact with each other; predefined set of codes that helps the programmer by not letting them start from scratch every time
  2. The Java API contains a library of predefined commands to interact within the Java environment; the Twitter one allows programmers to interact with Twitter data.
  3. By clicking on the open button of my car every morning, the car lights switch on, my car gets unlocked, the display switches on. It’s a kind of abstraction.
1 Like
  1. API is a specification of possible interactions with a software component.

  2. Java has pre defined common tasks meaning the developers don’t have to start from scratch. Twitter is a Web based API with specific interactions with services that twitter hosts.

  3. I do online ordering of groceries, my favourites list has been built from common purchases, this requires less searching and thinking. My payment details and delivery details are loaded. Significantly enhancing the speed of the process.

2 Likes
  1. An API is a specification of possible interactions with a software component.
  2. Twitter API is a web based API that refers to the set of rules for programmatically interacting with Twitter. Java API is a library of software components available “out of the box” to anyone who has installed the Java Development Kit.
  3. I’m an optometrist and my customer has broken their glasses. I will have to check their prescription, go to the laboratory, select the right power, cut the lenses into their chosen frames, clean and pack them into a case, call the customer to let them know it is ready, fit the frames to the customer.
1 Like

My Answers:

  1. An API allows different software applications to communicate with each other, involving accessing and sending data to the requesting application.

  2. The Java API is an API that works ‘internally’, part of the Java Development Kit, consisting of common software tasks when coding.
    The Twitter API is a web-based API, accessible over the internet, allowing developers to interact with Twitter data only.

  3. Checking the weather forecast on my iPhone.

1 Like
  1. What is an API?
    is the specification of possible interaction between the fronted and backend server in a simplified way.

2.In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?
Java API has the Java development kit thus allows more productivity for the developer
Twitter API is a web based JSON API that allows developers to programatically interact with twitter data.

  1. The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
    preparing a meal for my self is an abstraction
1 Like
  1. What is an API?
    API means Application Programming Interface, it is a set of pre-determined rules or codes that help you in your functionality of your programming.

  2. In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?
    Java API has a list of commands that you can use in your programming. Instead of developing from ground zero, you don’t have to do that anymore with Java script.

As for Twitter API, it is web-based programming you can use to extract data from the Twitter dataase.

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

I go to the restaurant to order my food using a tablet. Once I order it, the food is delievered to my table within 30 mins. I don’t to understand the whole process how it works, but I know once I have input the information required, I get the end result.

1 Like
  1. An API can be defined as what a software component can do and how it can do the things it can do. APIs are all of the parts of a software component what make it what it is.

  2. The Java API is a library of software components which are designed to make life more easier for programmers since they don’t have to start from scratch. Essentially, Java’s API makes it easier to program simple components such as lists.

Twitter API is web-based and allows developers to interact with Twitter data. For example, tweets, a basic element in Twitter is broken down in the API so that we know what we can do with them and how we can perform such actions.

  1. An abstraction in my life would be the concept of oyster cards that you tap on the barrier when exiting a train station. The barriers can read how much money you have on your oysters and make a decision to open or remain shut if. The barriers open if you have enough money on your oyster and stay shut if you don’t have enough money.

How I see it is that I tap a card on a barrier and the doors open. However, the process is much more complex. The oyster card reader has to read my balance, and then send this information to the motors of the barrier door via an electronic signal, only if my balance is above the minimum amount required for travel (I’m probably waffling here but ik what I’m saying :joy:)

1 Like
  1. API stands for Application Programming Interface. APIs are a set of functions a procedures that allows for the creation of apps that can access data and features of other apps, operating systems and services.

  2. Java APIs include classes, interfaces and user interfaces in the JDK. They enable developers to integrate various apps and websites and offer real time information. And Twitter API is a web based JSON API that lets you read and write Twitter data.

  3. Every morning when I make coffee it would be an abstraction process. I would insert my coffee pod into the coffee machine and after 1 minute as the machine would do it’s thing I would have a fresh cup of coffee ready to be enjoyed.

1 Like