What is an API? Reading Assignment

1) What is an API?
API is the acronym for Application Programming Interface. APIs communicate front-end and back-end code.

2) In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?
The main differences amongst Java API and Twitter API include: Java APIs can be back-ends serving several front-end APIs and vice versa. Whereas, Twitter API inquiries serve across front-ends as a back-end platform.

3) The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
Virtual assistants, such as; Cortana and Alexa function as daily abstractions. A task is a series of events. Virtual assistants are understood and recognized as important abstractors.

Best Regards,

References
Freeman, J., (2019) What Is An API?, InfoWorld, Retrieved From: https://www.infoworld.com/article/3269878/what-is-an-api-application-programming-interfaces-explained.html

1 Like
  1. What is an API?

Application Programming Interface. A specification of possible interactions with a software component.

  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 used on a local machine by a developer who has installed the Java Development Kit. The Twitter API is a Web-based API that sends requests via http to query 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.

Talking to Siri is an abstraction. I just say something to her and she does all kinds of complicated stuff on the backend to produce a result for me.

1 Like
  • What is an API?

An API is a set of definitions and protocols for building and integrating application software. API stands for application programming interface. APIs let your product or service communicate with other products and services without having to know how they’re implemented.

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

Java API has predetermined code included in the Java development kit, you dont need internet. Twitter API is web based so requests has to be made over the internet.

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

So I like to think of it as making complicated backend things look easy on the frontend.
Like if I open foodora, choose my resturant, pick my meal and pay. 30 minutes later its at my door.

1 Like

1) What is an API?
An API, Application Programming Interface, is a set of rules that interacts with another set of code or application. This omits complexity for developers and allows for smoother interaction between front end clients and back end servers.
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 an array of components that provide a more simplified way of programming regular tasks. They can be installed with the Java Development Kit. On the other end, Twitter APIs is a web-based interaction that only allow developers to interact with Twitter’s database and servers.
3) The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
A daily life abstraction is the simplification of bill paying. We now have auto bill pay that simplifies the process and makes one not to have to constantly check their mail and mail payments to the proper companies.

What is an API?
Pre loaded code and instructions” that helps programmers to construct a software and the client to communicate with the server.
2) In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?

  1. Java API is “generic/common” while Twitter API is “specific” (interact only with Twitter). Twitter is web based and is written a REST API
    3) The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
    Drinking multivitamins is is a form of abstraction as it enables me to avoid buying all the separate ingredients, thereby simplifying the process.**
1 Like

1) What is an API?

It is something that specifies how to interact 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?

One is contained in the Java Development Kit and it’s only available to people that have downloaded the kit, whereas the Twitter API is a web-based API and is accessed 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.

When I order a book online. It feels like not doing much at my end, but behind my purchase there are a whole bunch of different businesses and computer systems that are activated in order to deliver the book to my address.

1 Like
  1. Application Programming Interface which allows computers or softwares to interact. The rules of this interaction are well defined.
  2. The Java API is a library of software components available to anyone who has installed the Java Development Kit. The Twitter API is a web based JSON API accessible only when you are online.
  3. Order food from a delivery service app for instance. You select the restaurant and your dish and just click and pay. All the complexity behind the scene is none of your bussiness.
1 Like

1 - API is software that allows two applications to talk to each other
2 - The Java API is a library of software components available “out of the box”, designed to make programmers’ life easier, while the Twitter API allows developers to interact with Twitter data
3 - Tap payments with credit cards

1 Like
  1. What is an API?

API’s are tools that are in a developers toolbox to code more efficiently without having to code everything from scratch.

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

Jave API are in the development tools and Twitter API’s are accessible though the internet.

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

An abstraction from my daily life would be ordering a coffee from a vending machine. Just press one button and coffee is made. I don’t have to worry about the process of how its made.

1 Like

update to Q1…API’s are also the way the frontend and backend of a program communicate with each other.

1 Like

Also through other programs :), API is like the native language between different programs, like us right now, using english to communicate between us.

API stands for Application Programming Interface.

https://en.wikipedia.org/wiki/Api

Carlos Z

Thanks for the correction mate

1 Like
  1. An API is a way to communicate or inteteract programmatically between software component and database centre.

2)The JAVA API is a collection of software a programmer can use to interact within a JAVA enviroment.
The Twitter API is a JSON that allows a programme to interact with the Twitter over the internet.

  1. We use the ATM to make transactions, what goes on behind is an API we do not need to understand.
1 Like
  1. From the article:

An API is defined as a specification of possible interactions with a software component.

Elaborating:
An API specifies not only the possible software to software interactions with an application and how to engage them, but also the user interactions both input and output.

  1. The Twitter API is a public REST API that uses the JSON format while the Java API is an abstraction layer for the Java platform that makes it easier to code common tasks.

  2. A light switch (or any power switch).

Electrical energy line: copper cables connecting light to switch to distribution board to substation/s to generator.

Light: Incandescant, Fluorescent or LED?
Incandescant: The energised line provides energy to heat a filament until it’s glowing hot.
Fluorescent:

  1. When you turn the light on, electrical current flows through the electrodes
  2. The voltage causes electrons to move through the argon gas to the other side of the tube
  3. The energy from this transition causes mercury to turn from a liquid into a gas
  4. Electrons and charged atoms collide with the gaseous mercury atoms
  5. The collisions increase the electrons’ energy levels
  6. As electrons return to their normal energy level, energy is released as photons, creating invisible-spectrum light that the human eye can’t see
  7. The phosphor powder in the glass tube interacts with the invisible-spectrum light, producing white light that the human eye can see

LED: AC power is passed through a birdge rectifier coverting it to DC power and provided to a light-emitting diode composed of an N-type semiconductor and a P-type semiconductor. By connecting the two semiconductors and supplying a forward voltage, the electrons recombine at the P-N junction, creating electromagnetic energy that’s emitted as light.

Distribution board: Provides electrical connection to external substation mediated by safety enhancing automatic circuit breakers.

Substation: Regulates power available to the end user

Generator: Burns the coal that heats the water that turns the turbine generating the electricity

Dump truck: Delivers the coal to burn.

Excavator: Mines the coal to burn.

All is reduced to an API requiring only a 1 or 0 (ON or OFF) to engage/interact with the system.
Of course you could break it down to being an API sitting on top of other API layers (or in between depending on how the circuit is connected…)

1 Like
  1. What is an API?
    An 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 included in the Java Development Kit (local), 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.
    Automatic utility bills payments from my bank account – set once and forget.

1 Like

1)An API is defined as a specification of possible interactions with a software component.

  1. The Twitter API allows developers to programmitcally communicate with Twitter data whereas the Java API is a librairy of software actions or components.

  2. An example of an abstraction could be a grocery store. When we go to the shops we buy multiple different items that have all sorts of different origin, growing or processing methods before it gets to you the consumer. Without the shop the process would be completely unfeasible to procure all those items.

1 Like
  1. Application Programming Interface provides specific possible interactions with a software componetend.
  2. Twitter API is only for directly interacting with Twitter whereas Java is open to use for development on any site.
  3. A traffic light at an intersection, especially in a large city. I don’t need to worry about what cars go where and when to avoid a wreck, I just need to stop on red and go on green.
1 Like

1) What is an API?

Application programming interface. It is basically the Messenger that takes the request for data to another program, service or service and sends the result back to you or the program that requests it. Much like a travel website interacts with an airline’s website to get data relating to flights. It is the interface with which different systems and programs can speak with each other and share data.

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 part of JDP which is hosted on the same system. THe Tiwtter API is a web based API and all data must be requested over the internet to get those result, whereas the Java API has all the results built in and acts as little machines able to perform different tasks that you do not have to code.

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

The Netflix button on my TV remote. It automatically starts the Netflix application without me needing to go through multiple steps, logging and start the application

1 Like
  1. API stands for Application Programming Interface. An API is a way to programmatically interact with a separate software component or resource. An example is a Client(browser) like google search communicating to the Server(google) for information. API use command line tools and software Javascript(JSON), JAVA, and Ruby on rails.
  2. Java API are codes withing the JAVA programming environment. Twitter API is client to server interaction over the web environment.
  3. I usually have coffee in the morning it’s a bummer if it runs out and I forgot to buy it. With an API AI, it can measure what’s left and order another batch for the week online.
1 Like
  1. What is an API?
    Application programming interface is 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?
    Unlike Java API, 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.

Checking out at the grocery store.

1 Like