What is an API? Reading Assignment

  1. What is an API?

(an API is a interface/conection link betwin difrent servers.)

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

(Twitter API is a web-based API It must be accessed by making requests over the Internet.)

(Java API defines what you can do with a List: add items, sort the list, determine if an item is in the list)

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

I’m sitting in a restaurant and I’m gonna make a order. I tell the waiter what I want and the waiter goes to the kitchen and comes back with what I had ordered from the meny.

1) What is an API?
-an interface/code that allows applications to communicate/exchange data (in format of JSON or XLM). API is not a database or a server- it is THE CODE THAT GOVERNS THE ACCESS POINTS FOR SERVER.

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 just a library (of software components) that we can use just like any other library. Let’s take jQuery that we are all more familiar with than with Java- at least I am :wink: So when I use getElementById() - I do not have to know how it was imlpemented by programmers and what is really does behind the sceens- all I want is to get access to the chosen element of my html file.
The Twitter API on the other hand is a web-based REST API and 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.
When I switch on any button on any object in my appartement.

1) What is an API? Application programming interfaces hide complexity from developers, extend systems to partners, organize code, and make components reusable

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

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

Java API - A library of software components available “out of the box” to anyone who has installed the Java Development Kit. These components implement common tasks and generally increase productivity because programmers don’t have to start from scratch every time.

Twitter API - 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. 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.

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 just a way of organizing the complexity of a system so that complicated actions can be handled in a simple way.

I monitor network devices, systems and various components, for a service provider in both internet data and tele-communications. There are thousands of combined computer network devices, systems and components, whereby at any given time of day, an event and/or incident may occur, causing impaired, partially down to fully-down network, for various devices, systems or components.

I am responsible for checking on each and every network devices’ health and operational state, and proactively supporting the companies private network.

Example:

Servers [CPU, Memory, Hard Drive, Power Supply]

Network Devices Router / Switch (I /O interfaces, CPU, Memory, Power Supply).

Imagine, having thousands on devices, systems and components to be responsible for and having to generate a report, by the second, minute, hour, daily, monthly, quarterly and yearly? This would take 24/7 hours to manually accomplish, and still, I may not be able to perform all of my responsibilities, with efficiency and as per my job requirement.

Implementing API as abstraction layer:

I can install network monitoring software with integrated APIs to perform details for end-to-end monitoring, reporting and automatically generate alert notifications by email or text; whenever an event / or incident may occur.

Example: Critical device, system or component becomes impaired. These can then be categorize by low, medium, high incident level, for escalations purposes (Break /Fix).

Low - errors detected by system at the component level & still operations

Medium - partially impacted one or more critical component, such as a redundant power supply ( 1 of 2 failed) system partially operational as long

High - Critical Failure where the device, system, component failed

With API Abstraction - Network monitoring tools help take away the mundane, and complexity, for manually monitoring and reporting on thousands of network devices, systems their components; abstract away complicity and instead handled by API abstraction layer.

1) What is an API?

A pre-defined mean (methods) for communicating with a component

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-only API that only interacts with the Twitter back-end while the Java API is a generic framework that can interact both with internal systems and across the web.

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

Security badge at work that grants me access to the building and automatically calls an elevator to take me to my floor

1 Like

1) What is an API? API is an acronym that stands for application programming interface commonly used to help organize code and to make it more reusable

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 of software components available to anyone who has installed the Java Development Kit, whereas 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. Abstraction is similar to writing a prescription, on the surface seems such a simple task but the level of education required, the knowledge of drug to drug interaction, knowledge of allergies and patient history, the licensing and credentialing numbers that must be maintained regularly and ability to write a prescription in readable form for the pharmacist to comprehend. The simple seconds to write a prescription are in no way indicative of the thousands of hours of work required to write a prescription.

1) What is an API?
Application Program Interface, which make it easy for outsiders to develop applications with data out of a backend database.

2) In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?
Java API is for making programming API’s easy
Twitter API is a ready to use API.

3) The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
Using my calculator without having to program the calculator first.

1) What is an API? An interface that enables the backed to connect to external software components.

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 web-based, whereas the Java API comes with the Java Development Kit. The twitter API send s requests via HTTP using the 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. API abstraction removes a lot of the complexity for the end user by linking a set of functions together. If you want to book a flight through Expedia they must have links to many airlines and travel agents in order to access their flight prices. This will be coordinated through APIs so that we just type in where we want to fly and when and the one interface expedia will find results from all over the world, making it easy for us.

) What is an API? An Application Program Interface or API is tech talk for how the user or client interfaces with the software on the backend of a program/app

2) In the article the author compares Java API to Twitter API. What is the main difference between these two APIs? Java API doesn’t need to be connected to the internet while the Twitter API is what is called a REST application and must be connected to the web to function.

3) The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life. The example used of quick order buttons on amazon that take a very complex task such as placing an order for detergent and links complex tasks behind the scenes is a great example. Behind the scenes, inventory and sku’s are checked, pricing, payment and delivery address are setup as well as a series of emails and tracking confirmations with just the click of 1 button.

  1. What is an API?
    API enables the access of data from a server or client to work with another component.

  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 large public library of pre-defined code for easy use by developers. The Twitter API is proprietary and it utilises http requests returning the results in JSON format for easy use by the client.

  3. The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
    Making order for coffee using ,a coffee vending machine. With the press of a button on the panel of ones choice, it will make a good drink without the need to mix the coffee powder and other ingredients.

  1. What is an API?
    API stands for application programming interface. An API is a way to programmatically interact with a separate software component or resource.

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

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

1) What is an API?
An API is a premade set of rules that takes away the complexity of having to manage and undertake each task manually.

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

Java API uses out predefined commands that a user can select, whereas Twitter is Web based using JSON, an issuing http command that brings back results as script (… I think)

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

I wake up in the morning. Within 5 minutes a cup of tea arrives next to my bed. Just the act of opening my eyes has triggered my girlfriend to make me a cup of tea. I am then ready for my day ahead. That’s abstraction

  1. API (Aplication Program Interface) is a program that performs a specific task, that can be queried by Frontend programs along with multiple API’s to perform a complex set of tasks
  2. Java API is included in the Java Development Kit that is a default set of codes that can be utilized to work together locally to perform a task, the Twitter API is a web-based API that can query Twitter servers over the internet to perform a task.
    3.We all use sanitary system everyday where water is our API, basins, taps and toilets are our different/interchangeable frontends of the systems, A web based API would be our connection with a municipal bulk water system that supplies the water to your sanitary system similar to the Twitter API, where a off-grid (Rain water Harvesting system) can be considered the Java API, that is locally implemented.

1) What is an API?
A premade set of rules or specifications that hides complexity from developers. It’s like a blackbox where you put an input and it gives you an expected output without showing you how the output was generated. It’s a way for systems 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?
Java API is included in the Java Development Kit and defines what you can do with a List.
Twitter API is a web-based JSON API that is accessed through requests over the internet to work with tweets.

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

1) What is an API?
An API is is the abbreviation for ‘Application Programming Interface’APIs are how programs and services interact with each other. . An API is a way for different programs and servvices to interact with separate software components and or resources. An API tells one what can do with the software components and how it can be done.

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

The main difference between the twitter API and Java API is the Twitter 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

I am a fitness trainer, imagine that a local gym has a nutrition software component. Its API would include information about what A the gym could do for you—Help you Gain muscle mass, Loose bodyfat, recover faster, increase endurance, etc.

It would also include information about how you could do those things.

Also because the gym software would already know all your key metrics (height, weight, bmi, bodyfat %, dietary restrictions, ect). the API would simplify things by counting calories, nutrient levels and then selecting an appropriate meal plan complete with ingredients and amount of calories per serving. (it just queries the data base of certified dietitian designed recipes.) saves the trainer ALOT of time and offers more vale with less effort to our customers

1) What is an API?

Acronym for Application Programming Interface. It takes care of the ‘what’ and ‘how’.

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 development kit used to make it easier for developers to program by including common tasks. It tells you what you can do, such as making a list, and then how to make a specific list. Twitter API is a web-based API that retrieves information from the internet and tells you what you can do with tweets and how you do each action.

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 making complex things more simple. An abstraction in my life is instead of choosing what to learn in blockchain and how I can learn each topic, I can take this course where it directs me to what I need to learn in sequence without any other thoughts or energy outside of concentrating on the current topic, taking notes, and learning.

1 API = application programming interface
They take an overwhelming amount of complexity and define a relatively simple set of interactions that you can utilize instead of doing it all yourself. They provide a way to define and manage abstractions by telling us what we can do with software components and how we can do it.

2
Java API is a library of software that is available to somebody who has installed the software.

Twitter API requests information via web. (web-based and acts like a browser in that case)

3

adhering to commonly accepted best practices and taking inspiration from other APIs that your users will likely be familiar with:

Although I drink my water from wine glass, I am using a normal water glass for my guests as that is the glass they will most likely be familiar with.

1 Like
  1. What is an API?
    It is a “mini program” that contains code to connect to a specific server or to execute an action. This allows the programmer not to create the code from scratch.

  2. In the article, the author compares the Java API with the Twitter API. What is the main difference between these two APIs?
    The Java API comes with the development kit and allows you to do tasks in this building that help accelerate productivity. On the other hand, the Twitter API is web (JSON) and it needs an internet connection to interact with the server and be able to use the data it obtains through the API.

  3. The section in the article on abstraction is important, try to understand it and write an abstraction of your daily life.
    Being able to buy vegetables through Amazon as I generate the order, payment is made and it arrives at the door of the house. This prevents me from going to the supermarket, walking to the aisle, selecting the vegetable (which is healthy) to pay, taking the bags to the car or by public transport to the house.

1) What is an API?
An API or API’s is a very important software element that enables computer/software components and programs to communicate with each other in an abstract (simple) way that developers do not have to worry about.

2) In the article the author compares Java API to Twitter API. What is the main difference
The difference between these two can almost be termed Public and Inhouse API’s. Java API(inhouse) is used by developers in the java SDK library for communicating what and how they wish to use components from the library into their programs.
The twitter API (public) would be used by anyone interacting on the twitter social media platform. This would include search hash tags retrieving search results, friend request buttons etc.

3) The section in the article about abstraction is important, try to understand it and write down
One very intriguing abstraction example that we all use in every day life at least in the western sphere is Electricity. We plug on and switch on and off without even thinking how it all works.

  1. API stands for Application Programming Interface and is a way for programs to communicate e.g between client and server or even how it communicates between different parts of the program, without the need to re-rewriting a complicated logic or code that already exists.
    API’s basically compile complicated logic into an easy to access and use form.
  2. The Java API is a way of using Java functions and commands without re-writing the code behind every function, while the Twitter API is a public web based API that allows you to interact with Twitters server and perform actions on.
  3. An API is an abstraction, which means taking complicated logic and transforming it into a simple and easy to use form without the need to know how it works in the background.
  1. An API is an application programming interface. It allows programmers to leverage existing functionality by accessing and using previously written code. This API functionality can exist internally in the company’s program or externally in other companys’ programs.
  2. The Java API is part of the Java Development Environment that is accessible when installed on a developer computer. The Twitter API is a web-based API that needs to be accessed over the Internet.
  3. Any objects that hide internal details provide abstractions, like my vacuum cleaner, refrigerator, and washing machine. I don’t need to know how they work, just how to turn them on.