What is an API? Reading Assignment

What is an API?

Application programming interface

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

Unlike 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. 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

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

API take an overwhelming amount of complexity and define a relatively simple set of interactions that you can utilize instead of doing it all yourself. In any software project, you’re likely using tens if not hundreds of APIs directly, and each of those APIs relies on other APIs and so on

My morning routine of wake, persoinal hygene, excercise, study , invest, news, and open up for work

while we are on this topic, the complexity of DeFi steps can sure use an simplified process to seek a set of options to invest, vet them for ROI and Security and Risk and understand the available options for a staked coin to gain more ROI Close open positions etc, when new options are available

1 Like

1) What is an API?
It’s an application that interacts with the front and back end to make sure they get the information they need. It allows different languages 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?
Twitter API is web-based and the programmers can interact with the data, unlike Java API which comes when you download the Java Dev Kit and contains components that can be used for common tasks.

3) The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
In Spotify, there is a music playlist that is created on the type of music I listen and this automatically happens along with showing me similar artists that I might like.

1 Like

1) What is an API?
A: API is Application Programming Interface. It is software specifically designed to allow programs to intereract with each other.
2) In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?
A: Java API is a set of components available to anyone who has installed the Java Devel. Kit and the Twitter API is a web based JSON (Java Script Object Notation).
3) The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
A: One example would be my smart phone. It functions as a sort of telecommunicative and electronic “multi tool” by allowing multiple apps to be available in one handset at the press of a button!

1 Like
  1. API’s (Application Programming Interface) lay out and define how clients and servers communicate with each other.
  2. The Java API is a ready-to-deploy toolkit, whereas the Twitter API is used more for processing requested data from the Twitter backend.
  3. Remote car starter is an abstraction because it is a user friendly device which triggers complex reactions not needed to be understood by the user.
1 Like
  1. What is an API?
    An API allows for interaction between front end client and back end servers and simplifies this interaction.
  2. JAVA API is a library of components that are installed with the Java Development Kit and provide a more simpified way of programming regular tasks. And the TWITTER API allows for developers to interact with the Twitter Data provider over the internet.
  3. Abstraction is something in every day live! When I press the buttom from my coffeemashine to crush the beans, heat the water and press the water with exact momentum in the cup! Or AMAZON Dash Buttons , LIKE algorithms on Youtube, using APPs on my smartphone! Important is also that with an good API you don´t have to know HOW it works, IMPORTANT is that the usage is so simple as possible!
1 Like
  1. java uses something called a List, that keeps track of a list of items. The Java API defines what you can do with a “List”.

  2. twitter api 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.

  3. an abstraction is my phone and its timer that wakes me up to go to work. the api sets the times that i need to wake me up for and it i set it to specific time and day. and the api sets these up in order for me to wake up in the morning.

1 Like
  1. What is an API?
    An API is a way to programmatically interact with a separate software component or resource, 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 to anyone who has installed the Java Development Kit. This means you have to download this library. On the other side the Twitter API is a web-based API. It must be accessed by making requests over the Internet to services that Twitter hosts.
  3. The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
    For expl. in Amazon (dont want to make free publicity but…), once you are a registered customer, you have the option of purchasing in the “classic” way: selecting the product, selecting the payment method, delivery address , invoicing address, etc.; OR you can choose the option of “Purchase in one click”. This command selects the item and uses all the standard data in a command chain. One click instead of accepting actively every single step of the process.
1 Like

API stands for Application Programming Interface. It’s basically how information can be retrieved from a server and what information can be retrieved from a server.

They both interact with different environments. Java API defines what actions a person can do when developing on Java structures. Twitter API is web based and is used to interact with Twitter servers.

Abstraction is basically simplifying complex ideas. In Bitcoin, a node doesn’t need to understand how the protocols function but they still cooperate in the Bitcoin network. Also, I’m using a computer, I don’t completely understand how all the parts inside the computer work but I use it and it works.

1 Like
  1. What is an API?
    Application Programming Interface. It simplifies the altercation between frontEnd and BackEnd.
  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, Twitters API 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.
    Programm’s that are happening in the backend but I have no idea it is happening. Let’s say sending a message with Wtsapp, watching a movie on Netflix etc…
1 Like

An API is the specification of possible interactions with a software component & the actual software component you interact with. It includes information of what the software can do and how it does it. It is an abstraction layer that allows many clients to interact with software without having to specifically code from scratch. An example of an abstraction from daily life is using a computer; you don’t need to know how it works you just need to know how to use it. Thus you can use many different computers as they function the same. Twitter API is access via the internet while Java API is built into the software application.

1 Like

What is an API?
Application Programming Interface

  1. In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?
    Java API is set of libraries providing all sort of general functionalities i.e. I/O, Security.

Twitter API is used for processing requested data from the Twitter backend.

  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 hiding complexity and details but providing enough information for a great experience from the user end. Smart Phone can be a perfect example of abstraction as they provide a wide range of functionalities without the user needing to understand how it works.
1 Like
  1. The bridge through code that allows different applications to interact and share information.
  2. The Twitter API uses a different language and returns information in JSON files whereas Java API uses Java and comes in the Java Development Pack.
  3. When brushing my teeth I use an electric toothbrush. The brush breaks up my mouth into 6 parts so that each part gets the same amount of brush time. In addition it has a few different cleaning mods and brush heads that all do slightly different tasks. All I do is hit the button and wait for the vibrate to tell me to move onto the next section, the brush tracks the rest and keeps track of my habits.
1 Like
  1. What is an API?

The API could be described as a bridge between a server and its less complex clients. It specifies how clients or other servers should ask the server to run tasks.

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

The Java API has to be dowloaded and is a library with short cuts and explanations for developers, Twitters API is web based and specifies how to access specifik data.

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

When you charge your phone you only have to know where to insert it and wait for it to get charged, you don’t have to know how the charger works.

1 Like
  1. An API is a software stack that allows communication of front end and backend development. It is the architectural structure of how it interacts natively or and or web-based.

2.In the 2 examples, you can say the JAVA API is more “native” or central based as opposed to TWITTER API that relies on an open network/internet to retrieve and complete certain requests.

3.Jokingly and realistically, if I married my girlfriend and she moves in with me as a Wife, she could handle all the little things that take over my day. Washing clothes, buying groceries, cleaning the house and maybe even making my doctor appointments. While I am at work, it would be hard to complete these let alone consistently.

1 Like

What is an API?
A: an Application Programming Interface. It specifies how clients and servers communicate to one another.
2) In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?
A: Java API is included in the development kit; while Twitter API is web based API and must be accessed by making a request over the internet to a service that hosts Twitter
3) The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
A: adjusting the temperature in my house using the thermostat.How the ac/heating system works is complicated but i can easily adjust the temperature by pressing 2 buttons and have no idea what is going on behind the scenes.

1 Like
  1. an API is an application programming interface. it’s a way to programmatically interact with a separate software component or resource, simplify complexity. in short, they create consistent, contextualized shortcuts that simply end user functionality.
  2. Java API is a list of functions that are included in the Dev Kit, that simplify tasks within Java itself. A Twitter API (JSON) is an web-based, interoperable with other systems to retrieve data outputs. Java API functions within the program which is was designed, Twitter API is interoperable with other systems across the web.
  3. Throughout a global pandemic, abstractions have become immensely important. In my own life, the ability to have groceries delivered to my home, the automation of amazon recurring subscription orders - are a couple examples of abstractions I utilize regularly.
1 Like

Answers

  1. APIs (Application Programming Interface) are a bunch of rules that explain what and how to interact with a specific software component.

  2. Java has API into a specific Development KIT, like predefined list of commands. Instead, Twitter has web-bases API, which everyone might use by sending an HTTP request with JSON.

  3. When I refill gasoline into my car I don’t care about how engine works! :smiley:

1 Like

1) What is an API?
Stands for Application Programming Interface and is really a specification of possible interactions with software.
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 public or open API. It is web based and allows developers to programmatically interact with twitter data. The JAVA API is a library of software components that are available out of the box to developers who have installed the JAVA Dev Kit.
3) The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life. The car example is a good one. While I need to know how the drive, steering wheel, gas, brakes, and other user components work, I don’t need to know exactly how the brakes or the engine works. That is abstracted away for me.

1 Like

1.API outlines possible interactions with a software component.
2. Java is included in the Javascript tool kit to allows users to build. Whereas Twitter JSON API is designed for users to interact solely between twitter server/client relations.
3. Ordering a bigmac and thinking about how nice it is to just give an input into a speaker and receive an output of a perfectly overpriced burger for consumption.

1 Like
  1. What is an API?

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.

  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 a web-based JSON API that allows developers to programmatically interact with Twitter data.

The differences ->
Unlike 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.

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

I tried to create a dynamic price table with Excel and some API Data.
used API:
https://api.coincap.io/v2/assets
However, the coins are constantly changing their position in the ranking.
Therefore the prices are always mixed up to.
My abstraction is … that I’m doing something wrong. :face_with_raised_eyebrow:

1 Like