- What is an API?
An API is a way to programmatically interact with a separate software component or resource. Simply put, an API is a term used to describe the way programs can interact with each other. - In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?
Java API can function without the internet, while Twitter API only functions with internet connection; because Java API is always available to anyone who has installed the Java Development Kit, while Twitter API must be accessed by making requests over the Internet to services that Twitter hosts. - The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
Before I start driving a vehicle, I ensure I will be comfortable while driving. I adjust the driverās seat, side mirrors and rear-view mirror to positions that I feel enable me steer the wheel comfortably, and have a good view span of the car surroundings. My vehicle, as well other vehicles, have automations that store this furniture positions and mirror positions. Which can be re-applied, by turning on the ignition or by pushing a button, if there were any changes made to the positions of furniture or car mirrors.
1) What is an API?
Application Programming Interface. APIās are used to connect backend servers (Application) to retrieve information
2) In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?
JAVA API is the list of components available out of the box. These APIās are used by programmers to increase the productivity.
TWITTER API is a web based API. the request are sent just like http url and the response is received in a format that is readable by the application e.g. JASOn format
3) The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
Abstraction in computer science is simplifying things. For e.g. Customer ordering food via doordash application.
Behind the scene -
- Doordash places the food order request to the restaurant (via API call)
- Connects to the google map and sends a request to the driver to pick up the food (API call)
- Processes the payment by connecting to customerās bank (API call)
- Routs the payment of the food to the restaurant owner (API call)
- Routs the tip to the Driver (API call)
- collects the commission in the form of fee (API call)
1.An API is a premade set of rules that takes away the complexity of having to manage and undertake each task manually.
2. Twitter uses a web based API, Java is a common API.
3. Putting gas on my car.
1)What is an API?
It is a set of programmatically set of code or rules between different software components.
-
In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?
Java uses predetermined commands whereas Twitter uses code interaction between client and server. -
The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
In my Amazon Shopping app, I select what I what or need and pay using my account details. within days I receive the goods. No need to know the name of the person delivering just as long as I receive the goods using the Application interface I trust that I will receive the goods.
1) What is an API?
An API is an interface that allows other programmes to connect to an existing software or hardware system to exchange data. APIs allow data to be easily exchanged and processed between programmes or parts of programmes.
An API enables third-party developers to gain access to certain features of a software.
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 that are available to anyone who has installed the Java Development Kit. These components are used to implement common tasks and increase productivity because developers do not have to start from scratch every time.
The Twitter API is a web-based REST API that allows me to read and write Twitter data over HTTP. The replies from the Twitter REST API are in JSON format. This allows me to analyse and process tweets, profiles, and other data from Twitter. For instance, I can use the Twitter API to query how many times Donald Trump tweeted āChinaā.
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 something in a restaurant (FRONTEND) from a waiter (API), the waiter passes my order to the kitchen (BACKEND).
If I order Menu 42 - the API sends Menu 42 to the (BACKEND), so the cook knows exactly what he has to cook and how. (Does that make sense?)
1) What is an API?
API stands for Application Programming interfaces and is used to make interactions with a software component. It can be used in tour front-end or backend application.
It hides complexity from the developer, makes components reusable, and extends systems to partners.
2) In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?
The difference is that Twitter API is a web-based IT. It must be accessed by making requests over the internet to services that twitter hosts. Java API is a part of the Java development Kit and does not.
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 a way of organizing the complexity of a system so that complicated actions can be handled in a simple way. When I re-order snus, I just log in to snusbolaget.se and click on āre-orderā, Then I have snus delivered to my doorstep the next day. Itās a simple interface that hides all the complexity behind my order.
Questions:
-
What is an API?
An API allows different programs to communicate with each other by providing abstracted information about the workings of complex programs -
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 API that allows for the interaction with twitter data. The Java API consists of common, local, predefined software components that can aid programmers boost their productivity. -
The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
Scanning and printing documents. The underlying technical processes are complex, but are handled with the clicks of a few buttons by the user.
) What is an API?
A way to interact ( programmatically) with a separate SW component or resource
2) 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, 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.
Abstraction from daily life: Making an online payment
- A specification of possible interactions with a software component.
- The Java API is installed on the someone computer that bought the java development kit. Where as the twitter API has to be interacted through the web.
- getting a uber to go from a to b
An API is a standard interface into a program/product. It provides an abstraction layer of communicating with the application in a simple manner, without worrying about how it is programmed internally.
Java is a programming language used to build apps, so the APIās are more related to technical details, versus Twitter, which is a higher level API to communicate and code for Twitter
A printer uses a print driver, which abstracts the workings of a printer. All I need to know is how to call it using the instructions for that interface
-
Application Programming Interface is a software intermediary that allows two applications to talk to each other. APIās allows data to be exchanged and processed between programs.
-
Javaās API can function offline and is a programming language based API allowing Java developers interact on the Java Platform. Where as Twitterās API is public and is used to interact with a social networking service allowing users to interact with the data.
-
Using a calendar or time line, even just writing down what I do everyday, and try to find where I can save a little bit of time everyday and spend it trying to educate myself and better my life or become more healthy.
-
An API is a application programming interfaces that abstract a lot of operations dome in The badkhand of simple DUMB client interfaces
-
Java API is a library of āready to useā api for software that runs in every app almost in The same way
TWITTER API are instead web based api that runs followimg different complicate ed protocols like JONS that request operation thrught the web with but instead of opening a page it gives as result something that the app can understand -
Abstraction of API is everything that is behind a simple operation done by clicking a button . For example could be great if with one button could possibly clean my room but this is not possible
-
Application programming interface is used as an interface between frontend services and backend services. It allows users to call for the services and to post some data from the userās side to the server side.
-
Java APIs are programming constructs that is packaged with JDK allowing Java developers to use certain abstract level programming services. On the other hand, Twitter API is a web based ReSTful services hosted in some server allowing developers to interact with twitter services.
-
I commute with a car. I donāt know the complex working of a car, the abstraction of car is simple, it helps me go from one to place to another. In a car APIs can be accelarator, brake, clutch and gear; to keep it simple.
-
Application Programming Interface, it is an abstraction the allows complex actions to be preformed with simple user facing instructions.
-
Java API can be used in the construction of many user facing instructions in various settings. Twitter API is specifically for functions on the Twitter application.
-
At the click of button I am able to instruct my computer to purchase BTC and deposit it into my account.
- An API (or Application Programming Interface) is a specification of possible interactions with a software component.
- Java API is available to every java developer through the JDK, however for the Twitter API, requests have to go through the internet (web based).
- Sending rent at the end of the month by clicking a button on my bankās app.
-
An API is an āApplication programming interfaceā that bridges some content from a web site to another.
-
Twitter API is a web-based API when Java API is part of the Java SDK.
3.This is an abstraction of my daily life I wake up in the morning then usually sleep at night. Between those two events, day is the time I think Iām taking leading decision for my life but reality tends to prove that best decisions are taken while asleep
.
thank you.
- application programing interfaces . this connects the program languages of the frontend and backend and also makes it easier to code because it acts like a foundation of code on which you can build on not having to start from scratch
- the difference is the different types of answers they give back to the user:Java API has a list with comands and TwiteraAPI has a search API for tweets and trends andREST API for core data also the source is different : Java API is on Java server and Twitter API is web based
- exchange crypto from my phone
-
API is a defined interface for software components to communicate with each other.
-
JAVA API defines functions developer uses within the java environment. Twitter API are web based API that is access over the web via JSON
-
abstraction hides the complexity from the user of a particular task. For example, when driving a car, users only need to know to press the accelerator pedal to speed up the car, it doesnāt need to know the inner working of car engine, and how the engine speed is controlled.
- An API is a system used to help connect or interact between one application and another. It
sends request to the other application or server, asking for data, then itās delivered to the application. - Java API is mainly used for programmers, and people interested in doing more of the coding etc, but donāt have to start with code from scratch, because the API does that āheavy liftingā. Twitter API is more for the front end users, and is, like I explained above, something that can make requests and the front end user gets the data they wanted.
- In my daily life, I plan out my day and leave enough time in between jobs to eat, rest, and do any other extra tasks. I do this instead of rushing to get everything done in one day, I plan it out to make it simple.
1.- An API is an āApplication Programmable Interfaceā, and is basically the way to programs communicate; typically over the internet.
2.- The Java API is a library of software components to be used as ābuilding blocksā for other code, while the Twitter API provides ways to interact with the Twitter application.
3.- Abstraction is taking complex tasks and breaking them into simple ones. An example of daily life extraction is āGetting ready to workā. The task involves simpler tasks like, āTake showerā, āEat breakfastā, āDress upā. All those tasks can be abstracted and could be separate independent ācodeā.