What is an API? Reading Assignment

  1. Application Programming Interface. A set of contracts you can call to work with a backend system.
  2. One is a web API the other is a library type api
  3. An abstraction removes complexity from the end user. Abstractions in OOP can add a lot of complexity to a large application. Consider Vertical Slice Architecture which also abstracts a feature by itself so it doesn’t cause an error in the rest of the system.
1 Like

What is an API?

An API is a specification that describes how you can interact with that specific piece of software. Each program can have its own API.

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 list of components that provides shortcuts for Java developers to use certain functions so they do not have to reinvent the wheel all the time. The twitter API allows developers to obtain responses from twitter in a format that which makes it easy workable with in other applications, So the main difference is that the Java API is used to speed up coding work by providing a list of prebuild functions, while the twitter API is used more to obtaining and sending data.

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

I like to drink coffee however I do not like to go through the hassle of the making and then waiting a long time for my coffee. That is why I am using a Nespresso machine.

1 Like
  1. An Application Programming Interface is a way to programmatically interact with a separate software component or resource.

  2. The Java API runs within the Java environment. The Twitter API is web based for client interaction.

  3. Connecting my bank account to multiple platforms allows the instant purchase and shipment of anything I desire. No need to sign, package or understand what is behind the veil. A few days later my VHS tapes arrive.

1 Like

Excellent answer sir! really well documented! keep it like that please! :muscle:

Carlos Z.

  1. a standardized program to be used inside the app
  2. the Java API takes data from standard instructions inside the Java and the Twitter API requests for data from the Twitter server.
  3. A standard “program” for me could be the morning routine: get up, fix coffee, drink coffee and smoke a sigarette, turn on computer and watch Good morning crypto by Ivan on Tech.
1 Like
  1. a set of rules with preloaded codes to help programers code in easy user interfaces that may have complex backend calculations.
  2. The environments, twitter api rule are sent over the web between client and server and java api rules are within the java design environment.
  3. For example planning for a workout or physical activity, it is difficult to plan on the spot adhoc, if you are committed you can plan ahead and schedule, prepare for the activity a day ahead and even have the timing, clothes, routine, etc pre determined such that when you plan to execute you make a complex task as simple as possible.
1 Like

1) What is an API?
It is a specification of a set of interactions between software components.

2) In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?
As part of the Java API there is a library with an already defined set of software components. The Twitter API is a web-based JSON API which allows applications to send HTTP requests.

3) The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
I would imagine the computer as a software component. Its API can include instructions on what can be done like: write a document, watch a video, create music and how to achieve doing it. For example, opening Word application and start typing. What if people can consume APIs in the future and write on computers without typing. Musk is one step closer to this goal with Neuralink.

1 Like

1) What is an API?
API stands for Application Programming Interface, it is a library of pre-built, reuseable commands which allow applications to interact with eachother. They make developing software simpler for developers who can use simple API commands to carry out tasks which are complex behind the scenes.

2) In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?
To use the Java API, you need to install the Java Development kit and is used offline on a users device whereas the Twitter API is a web based JSON API where commands must be sent 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.
An abstraction makes a complex task very simple for the end user. For example when I subscribe to someone on Youtube, I am automatically notified when they post a new video. In the background, youtube has to constantly check to see if anyone I subscribe to has posted any new videos and generate an email to me showing me what the new video is, who posted it and what time they posted it.

1 Like

1) What is an API?
An Application Programming Interface defines a set of possible interactions that allow programs to 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 API is a web-based JSON API that allows applications to send HTTP requests.
The Java API is a library of software components available to anyone who has installed 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.
When eating at a restaurant the waiter is an API, that gets your order from the menu to the kitchen.

1 Like
  1. Application programming interface: the way programs can interact with each other
  2. java is a library, Twitter API is web based to interact with twitter data. the return types are different
  3. abstraction: riding a city bike or a mountainbike
1 Like

1) What is an API?
An Application Programming Interface. It is a specification of possible interactions with a software component. It includes “what” it can do with information along with “how” you can make it do things.

2) In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?
Twitter is a web based API and can only be used with services hosted by Twitter. Java API can be used by anyone who has installed 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.
I think of ordering a pizza. If i’m hungry i could go through the process of going to the store, buying ingredients, unloading groceries, preheating the oven, rolling out the dough, adding ingredients, cook it in the oven, and eventually eat the pizza. Or, I could order a pizza and have it delivered within 30 minutes.

1 Like

1) What is an API?
An Application Programming Interface (API) is a useful tool that makes complex processes between two set of codes simple. In some cases, they help us communicate with a server we might need.

2) In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?
Java API helps with the Java program environment, and has a set of rules you can use in it; meanwhile, the Twitter API is used to communicate and interact with the social media server.

3) The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
Deadlift setup: When I’m about to lift some weight of the ground my whole body automatically gets into position tightening all my muscles and bracing into my stomach. This is a process my body does automatically after years of training and doing it . Now every time I have to lift something off the ground my body gets into position without even knowing thus protecting my back from injuries. Cheers!

1 Like
  1. What is an API?

Application Programming Interface is a specification of possible interactions with a software component, it is a set of rules that organizes the codes and link communication between backend and frontend or link communications between two applications.

  1. 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 Twitter API is web based, it can only make requests over the Internet to services that Twitter hosts. But Java API is included in the Java Development Kit that anyone can install and access.

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

In the country where I work, I am obliged to renew my residency every year, however instead of filling the application and submitting the documents and address to receive the new one, my company created a simple button to click on when I login to the company website and government relation team will take care of everything.

1 Like
  1. Application programming interface.
  2. Java API is included in the Java Development Kit, but the Twitter API is Web-based, accessed by making requests over the Internet to Twitter-hosted services.
  3. My house front door bell.
1 Like
  1. Application Interface Program. The interface provides a set of tools wich with you van create a set of commands (compiled command set)
  2. Java API is the local (client side) tool to create command-sets
    The Twitter API is the server side version that needs an internet connection. It works through HTML
  3. Netflix example. When switching on a Smart TV it loads the last view that was displayed. Simultaneously, likewise series movies and documentaries (that might have the interest of the logged-in user) are proposed/ displayed by a (serverside) Netflix API. These proposals are derived (abstracted) from the users past interests
1 Like

1) What is an API? Application programming interfaces is a way to programmatically interact with a separate software component or resource. Even if you do write something entirely from scratch, a well-designed software application will have internal APIs to help organize code and make components more reusable.

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 and The 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. When I go choose a color to paint my room, I choose a color by a color code and I give this information Code to the mixer machine that will calculate all the different % of color that he will need to create this exact same color that I asking for :wink: ABSTRACTION : )

2 Likes
  1. Application programming interface is a set of rule which programmatically interact with a separate software component or resource.
  2. Java API is include in the Java Development Kit, it implements common tasks such as List sorting. Twitter API is web based API which allows developers to programmatically interact with Twitter data such as do anything about tweets.
  3. Using the bread making machine, I just press select what kind of bread I like and press start botton.
2 Likes

What is an API?
An API is application programming interface. Used as interface between client and server Application.
2) In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?
Twitter is a specific API that can only be used by twitter. Java API is a common API that is included in the java development kid and can be used by anyone.
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 logon in The amazon APP the articles and stock positions are abstracted from the server.

1 Like
  1. An API is a set of rules that allows one set of code to interact with another set of code. It is a bridge between two applications. API’s will take overwhelming amount of complexity and define a relatively simple set of interactions that you can utilize instead of doing it all yourself.

  2. Java API is a library of software components avaiable to who has installed the Java Development Kit. Twitter API is a web based JSON API that allows developers to programmatically interact with Twitter data, it must be accessed by making request over the internet to services that twitter hasts…

  3. The abstraction of how to create a dress, API will tell you how to take the measures, how to cut the material and how to sew it.

1 Like

API Reading Assignment

  1. What is an API?
    Application Programming Interface. It allows for interaction between separate software components programmatically and take away complexity.

  2. In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?
    Java API requires that you use the Java Development Kit while the Twitter API is web based and can be parsed using JSON.

  3. The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
    My bluetooth enabled weight scale. When stepping in the scale, all information about my weight, BMI, body fat, and so on is sent and recorded on my smartphone.

1 Like