What is an API? Reading Assignment

  1. API is a sort of user’s manual as well as an interface to use while accessing to a program’s backend code. It’s an interface for programmers to utilize the features and functions coded in the backend.

  2. Java API is a library of software components provided with Java Development Kit which helps it’s users by displaying components that can be used in programming. Twitter API is accessed over the internet and allows users to interact with Twitter data.

  3. An abstraction: a simple action that is taken in the frontend, leads to some complicated functions happening in the background (or backend). For example, turning on a TV is abstracted to user interacting with one button on a remote controller, even though the connections and logic behind getting the moving picture on screen in one’s bedroom TV is probably a pretty complicated chain of events.

1 Like
  1. An API is a way to programmatically interact with a separate software component or resource.
  2. Java API is in the development kit and the Twitter APi is a web based API.
  3. abstract -> drink water when thirsty. What really happens is that your body needs water to make your organs work propperly blablabla.
1 Like

1) What is an API? Application programming interfaces is a way of interacting with seperate softwares, with different softwares interacting with each other: passing information between different systems.

2) In the article the author compares Java API to Twitter API. What is the main difference between these two APIs? Twitters API is web based, wile Java’s API is available by downloading the 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. Abstraction is kinda like automating a process so the user doesnt have to actively engage in each sub activity, essentially engaging with activity A to produce result Z with B-Y being completed for you. An everyday example would be setting your thermostat to a new temperature, you push one button to set the temperature where you want it so you dont have to turn your AC or furnace on or off constantly.

2 Likes
  1. An Api is a premade set up of rules that makes programming easier.

  2. On Java you can choose Apis from Commands that are predefined. The Twitter Api is Web based and not Java but Json.

  3. Using my Metamask wallet to connect with pages takes away the registration processes every time i want to interact with a page.

1 Like
  1. An API is a specification of possible interactions with a software component
  2. The Java API is a library of software components already included in the Java Development Kit to increase productivity. The Twitter API is a web-based JSON API that allows developers to programmatically interact with Twitter data.
  3. The switch of my water boiler abstracts how to boil water
2 Likes
  1. API stands for application programming interface and it can be used to link data from multiple software clients, platforms or databases into one working interface for ease of access to the user.
  2. The main difference between the twitter API and the Java API is that twitter is web-based and all requests are processed through twitters servers but Java API comes with the java dev kit and must be purchased to use for development of API.
  3. A common example of abstraction in my life is how I was able to set up a recurring buy on Coinbase for myself to purchase $25 each of BTC, BCH, ETH, and LTC on the 1st and 15th of every month. Normally this would be a lot but within 5 mins it was set up and I no longer had to do it manually.
1 Like

1) What is an API?

Application Programming Interface that establishes how the interactions between applications/software has to happen. What are the possible actions to interact and how to do it.

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 set predefined actions that are available out of the box to anyone that has the JDK installed and how to do them and the Twitter API is a web based API that works by sending HTTP request to the servers where the services are hosted and are available from.

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

If we go to a take away to buy some food, we buy the food and eat; the process of making the food is transparent for us.

1 Like

1) What is an API?
Application Programming Interface, they take an overwhelming amount of complexity and define a simple set of interactions that you can utilise.

**2) In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?
Java API is offline and Twitter API is online
3) The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
My abstraction from my daily life is Paypal. Every time I make a purchase online, if there is a PayPal option the item is paid instantly through PayPal with one password or a finger recognition. Not needing to verify your full information every time.

  1. An API, aka Application Programing Interface, is a specification of possible interactions with a software component.
  2. The Java API is a library of software components available “out of the box” to anyone who has installed the Java Development Kit. One of the basic components used in software is something called a List, which, as you might expect, keeps track of a list of items. The Java API defines what you can do with a List: add items, sort the list, determine if an item is in the list, etc.
    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. It must be accessed by making requests over the Internet to services that Twitter hosts.
  3. An abstraction is taking a complex process and breaking down into a simple action. Like the example of pressing the gas pedal of a car to go faster. You don’t think or realize all the stuff that goes into making it happen, the car just goes faster.
1 Like

1) What is an API?
An API specifies a set of features that a component made available to be invoked by external applications. It defines what each feature do, which will be the result, and what do you need to pass as parameters in order to do so. However, it does not state, in any way, how the component will do it. This is pretty important, because you can modify the APIs code, improving performance or fixing bugs, without further modifications from any of your users.
2) In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?
Java API is run locally (you have to install the JDK in your computer in order to use it, or any application that uses it). On the other side, Twitter API runs into the Internet, so it is accessible to any user that connects to it through the web, without installing additional applications in your computer.
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 teaching my daughter to throw me a ball. When I tell her to do so, she knows that I want her to grab a ball, and send it to me over the air. However, depending on the ball’s size, shape, density and weight, the way she does it will be pretty different.

1 Like

1) What is an API?

  • Application programming interface. It defines how applications 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?
  • To interact with Java API, you install the Java Development kit and gain access to a library of components. These components then can be plugged in an application instead of being created from scratch.
  • Twitter API is web based. It is accessed by sending requests over the internet and the application gets a response in JSON format.
    3) The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
  • My house is heated by a wood burning stove. Instead of storing a big lump of wood and cutting off the needed amount every day, I spend few days a year cutting, splitting and stacking the wood. Then, every day I just take what I need. Saves time, effort and electricity.
1 Like
  1. An API is a collection :basket: of protocols :scroll: , standards :nut_and_bolt: and tools :hammer_and_wrench: in the form of a code :currency_exchange:. Thanks to this code :sweat_smile:, an API provides access :door: to an app or other system :house: linking different software programs and databases. With this code :currency_exchange: different systems can communicate :speaking_head: with each other and :left_right_arrow: exchange data :woman_juggling: :man_juggling:.

(A simple explanation for an API is to compare it with a plug :electric_plug:. You can see a power strip as the system :1234: or the software. If the plug fits :ok_hand: into the power strip, they can communicate :left_right_arrow: with each other. However, there are different types of power strips worldwide (:a: :b: :cl:) , so that they do not always fit together. The documentation :ledger: of the API :electric_plug:tells which power strips :capital_abcd: / :abc: the plug :a: / :b: actually fits.)

  1. A Java API is created from a selection :basket: of generically standardized :nut_and_bolt: available components from the Java Development Kit :shopping_cart: to support communication between applications.
    Twitter API is a specific :bird: :left_right_arrow: API between the Twitter :bird: :file_cabinet: server and Twitter frontend :bird::iphone: app.
    ( A Twitter :bird: API can also be used to communicate from :bird: server to another server, when the :bird: :file_cabinet: server acts :face_with_hand_over_mouth: as a :iphone: client for the other server.)

  2. A switch :radio_button: to turn on the light :couch_and_lamp: in my house

1 Like

1.) API in long form an application programming interface is a kind of specification of how clients and servers could easily communicate with each other. The client asks the server for some information according to the API and the server respond through the API. The API itself gives all specifications of possible interactions with the recipient.

2.) The Java API gives access to a library of many software components that allows the developer increase productivity. The Twitter API is a web based API which only gives reply with internet connection.

3.) There are a lot of abstractions happen through our daily life, so when the door bell is ringing the whole situation in the room may change because the tone will cause a certain reaction of all those who are present there. At least one will finally leave the conversation to let the guest in. So a request of admission was made and caused an affirmation respond.

1 Like
  1. An API(application programming interfaces) is a specification of possible interactions with a software component.
  2. The Twitter API is a web-based API where as the Java API is included with the Java Development Kit which does not require the internet.
  3. Asking my Alexa Echo to play me a song from Spotify. It recognizes what I ask for then makes a call through my amazon account to my liked spotify account, to find what I asked for. Then plays the song through the linked apps.
1 Like

API’s

What is an API?

- “An API is a way to programmatically interact with a separate software component or resource” Like a waiter at a restaurant is ‘programmed’ to interact between you and the kitchen.

You likely have no desire to comprehend every detail about what is required to operate a kitchen behind the scene but you can ‘order’ what you need/like and receive it in an efficient manner.

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

    • Java API comes with a Java Dev Kit that allows users to directly interact with the Java software. It is a tool box of components that make utilizing the software simpler and thus dev’s can be more productive.
    • Twitter API is a web based API that allows users to interact with Twitter’s hosted and available data via requests over the internet.
  2. An abstraction from my daily life:

The first level of abstraction that we encounter in computers is the concept of “1’s & 0’s”. In reality there are no such “things” as “1’s & 0’s”. All that the system “understands” are the individual electronic impulses of on and off. Technically, everything in quotes in this paragraph are abstractions. (hahaha, well, so are all the words everywhere…anyway)

So similar to the Amazon buttons mentioned in the article, your cell phone is a massive set of abstractions away from the actual complexity. Think about it. With a few simple strokes of your finger you can choose to access an entire library in either audio or video format. Or connect in a “call” to someone far away from your location. The complexity of bringing this to your ears and eyes is overwhelming. But all you do is tap a few keys.

1 Like
  1. Application programming interfaces.
  2. Java api’s are how functions are connected with each other, twitter api’s are how you can interact with the twitter plateforme.
  3. I use my Bank phone app to pay for my bills, don’t have to physically travel to an agency and make a payment, Api’s handle TXs from my bank to my service providers.
1 Like

*1) What is an API?
-> A technical interface between a FrontEnd and a BackEnd to provide more flexibility in the development.

*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 list of predefined classes to code quicker
-> Twitter API are ‘piece of code’ to interact with Twitter and, for example, get messages.

*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 use my computer. Many things happen between the keyboard and the screen when I type but all I see is ‘I type it is displayed’. Same thing with an API, I use and API to get information, I get the information, how it works ‘behind the API is not important’.

1 Like
  1. An API is a bridge between software components. It specifies how they will interact together and output the interaction will produce

  2. The Java API is a library of software components while the Twitter API is a web-based API. While the Java API can be accessed locally on a users machine (provided they install the Java Development Kit) the Twitter API can only be accessed over the internet.

  3. The light switch in my house (normally) works as an API between myself and the power company. When I flip the switch the current passes from the mains into the lightbulb and illuminates the room. I can call up this electricy without concerning myself with how the energy is produced or ensuring that the voltage is correct.

1 Like
  1. API (Application programming interface) hides complexity from developers, extend systems to partners, they organize code and make components reusable. An API is a bridge between two applications. API is a set of rules that allows one set of code or an application to interact with another set of code or application
  2. JAVA API- Java developers use JAVA API to interact with the JAVA platform (Java development kit). JAVA API are rules for code interaction within the JAVA program environment.
    Whereas, Twitter API, is a public, web based JSON API that you would use to interact with the social networking service. Twitter API’s are rules for code interaction which are sent over the web between a client and server
  3. Wake up in the morning. Have breakfast. Relax for 20 minutes and get to work after.
    Tracing of items would be another example of abstraction.
2 Likes
  1. An API is an application programming meant to give access to other software components.
  2. Java API has a development kit where you don’t have to start from scratch. Twitter API is a web based API that must accessed by making requests over the internet hosted by Twitter.
  3. My Ledger Nano X is an abstraction when I connect it to the app on my phone and laptop using it to take my crypto offline into the cold wallet.
1 Like