What is an API? Reading Assignment

1- application programming interface. A specification of possible interactions with a software component
2- the java api is included in de java development kit and the twitter api is a web based api, that can only be used in twitter
3- DCABTC

1
Stands for Application Programming Interface and it is responsible to link the front end clients to the back end servers of a system, it is a pre-set of rules and standards for programming incorporating pre-coded libraries and functionalities, it does answer the “what” and the “How” to a server and to a client.
2
The Twitter API its web-based and uses an HTTP request for a question and a JSON to interact with the database or list for the search answer. The Java API is part of the Java Development Kit, as a Library and sits in the device where Java installed.
3
Question: what do I do more driving to work?
Count how many times I turn right, Left, step onto the break, or onto the accelerator, on my way to work.
Turn right = count 1 R
Turn Left = count 1 L
Break = count 1 B
Accelarate = count 1 A
Result/answer = highest #

1 Like
  1. A set of rules that let one set of code interact with another set of code

  2. Java- uses lib and lists to deliver info
    Twitter- web based, uses JSON

  3. A pree-made meal box

1 Like

1 An API is a way to programmatically interact with a separate software component or resource
2 The difference is that the twitter api is web based.
3 I prepare my lunch the day before by assembling the ingrediants, this way, the next day I can access and use my lunch immediatley.

1 Like

1) What is an API?
An Application Programming Interface, which is a set of routines and tools for building software applications.

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 is included in 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.
Using Google to search for information online. I type one question into a box and don’t see all the complexities of how the information is gathered and provided to me.

1 Like

like your daily life example… :+1: Good one

  1. API is App programming interface which makes the communication easy between different apps by defining set of actions and instructions for certain set of web environment.

  2. Java API is in the JDK while Twitter API is on twitter server

  3. Microwave with heating options by type of food

1 Like
  1. What is an API?
    API ( Application Programming Interface) is a way for programs 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 a set of rules that defines what you can do with a list
    -Twitter is a set of rules that has the search API, for interacting with search, trends, and REST API, for core data on the twitter platform
  1. The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
  • I shop for goods and services using my phone instead of physically going to the store front to acquire them. Which is convenient for me in that I don’t need to physically go
1 Like
  1. What is an API?
  • API stands for application programming interface, a concept that applies everywhere from command-line tools to enterprise Java code to Ruby on Rails web apps.
  • An API is defined as 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 phrase “Twitter API,” for example, not only refers to the set of rules for programmatically interacting with Twitter, but is generally understood to mean the thing you interact with.
  • Java API, which Java developers use to interact with the Java platform.
  • 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. Various formats exist for this purpose, and Twitter uses a popular and easy-to-use format called JSON.
  1. The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
  • Pushing button on the dishwasing machine to wash dishes.
1 Like

An application program interface (API) is a set of routines, protocols, and tools for building software applications and graphical user interface (GUI) components. A good API makes it easier to develop a program by providing all the building blocks.

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. It also specifies how to perform those actions.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.

Abstraction is the process of taking away or removing characteristics from something in order to reduce it to a set of essential characteristics. i.e. the light switch is an abstraction of a delivery system for lighting up a room.

1 Like

What is an API?
API stands for Application Programming Interface, and is a concept that applies everywhere from command-line tools to enterprise Java code. An API is a way to programmatically interact with a separate software component or resource.
In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?
Java API defines what you can do with a list. It also specifies how to perform those actions. The Java API is included in the Java Development Kit.
Twitter API is unlike the Java API a web-based API. It offers two APIs, the REST API allows developers to access core data. The Search API provides methods for developers to interact with Twitter search and trends data.
The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
By going to a restaurant and getting service. Instead of going to the supermarket and buying every ingredient and then cooking it, this is a form of abstraction.

1 Like
  1. For application programming interface, is a specification of possible interactions with a software component and helps to organize code.
  2. Java API is a library of software components on the other hand, Twitter API is a web-based JSON API.
  3. For example I have to turn the lights on/off wherever I am. I could have an API in my phone that does that when I smash a button, so that button is the abstraction of a switch and hides from me the whole communication process needed to turn the lights on/off remotely.
1 Like
  1. What is an API?
    Application Programming Interface is a set of specifications for how you may interact with a particular web software (program).

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

While Java APIs are sort of generic common task applications usually returning a result of a website, the Twitter API is specific the to the Twitter page. The results, intended to be usable by apps, are easily parsed by the software.

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

Abstraction in this context is the ability to organize a set of complex operations into an order that makes sense. It could be something like how you have a set of actions in your morning routine. the fact that things like your clothing is organized; the coffee is set up, and your personal bathroom routine are basiccally the same each day. Imagine if someone went and moved everything every night? It would cause your morning to crash.

1 Like
  1. simplified interface to abstracted complexity
  2. Java API is an SDK for development time, the Twitter API is web-based JSON formated data called in production.
  3. Eat Dinner (select food, buy food, cook food, clean dishes, …)
1 Like

1 Application Programming Interface.
A way to programmatically interact with separate software component or resourse.
2 The Java API is a library of software components available.
“Out of the box” when you have installed Java Development Kit.
Java API defines WHAT you can do with a list.

The Twitter API is web-based JSON API that allows developers to progammly interact with Twitter
data. It must be accessed by making a request over the internet to the servicees that Twitter hosts.

3 Going to McDonalds or any buissnes and getting a service.
I don’t need to know the complexibility behind it,. I just order, pay and get my burger.

1 Like
  1. What is an API?

APIs are widely used and developed by developers to simplify very complex functions defining a relatively simple set of interactions.

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

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

An abstraction from my daily life could be the fact that I don’t go to the supermarket anymore, I just open an app called Rappi and they do everything for me, for example I can order the same items that I ordered two weeks ago, just clicking in a specific option, so that, I don’t need to worry about the things that I usually need to buy. I do not spend any money going to the supermarket, 2 hours walking and searching for things, lining up to pay, etc…

1 Like

Cool, you pay extra to get things delivered? Is it the same price as if you went to the store?

Yeap, I just pay a monthly fee for this delivery service whenever I need it, the service includes Restaurants too for a ridiculous amount of 6 USD. The cost of the items is the same most of the time app vs. Supermarket.

nice. Thanks for the answer. :wink:

Maybe ill try out the services that are offered here. :thinking:

  1. What is an API?

The specification of how to communicate with a program.

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

Java API is access to the java platform localy, resource handling and data management in you application. Twitter API is service access across internet to twitters platform.

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

A card swipe is an abstraction of; go to the ATM, got to the store and pay with cash, keeping track of your expenditure vs swipe card and transaction happens and registers on your account.

1 Like