What is an API? Reading Assignment

  1. API is a set of code allowing direct communication and interacting between data sets, applications and devices.

2.Java API: Is a library of software components enabling simplified programming tasks with Java.
Twitter API: Allows users to interact directly with the Twitter database to access requested information.

  1. Pre-made food. Each layer which goes into that process makes it easy for us to buy the final product.
1 Like

1) What is an API?
its the engine that makes complex task possible. API sends the message requested to the system what to do.
2) In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?
Java Is available to anyone who has installed the java development kit. Twitter on the other hand is web based and can only be used over the internet by making requests to the services from Twitter.
3) The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
The alarm on my phone

1 Like

1) What is an API? An API is the definition of how to interact with a block of code, and a description of what that code does. It specifies required and optional inputs (and their precise data types and sizes) and outputs. These are typically in the form of function of procedure call descriptions.

2) In the article the author compares Java API to Twitter API. What is the main difference between these two APIs? The Java API utilizes machine based code (within the Java Developers Kit), whereas the Twitter API invokes code on a Twitter server via the internet. Twitter API results are sent back to the client in the form of JSON files.

3) The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life. A good abstraction example is using my Smart TV. I have no idea how the innards work – e.g. the electrical pieces, obtaining the signal from the internet, the protocols used by the remote in conjunction with the TV, etc.

1 Like
  1. a specification of possible interactions with a software component
  2. Java API is included in the Java Development Kit, the Twitter API is a web-based API
    3, Making dinner
1 Like

1) What is an API?
An API is a method for two pieces of software to communicate.
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, while the Twitter API is a web-based API and 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.
One example of abstraction in my daily life is when I use ApplePay at a store or restaurant when I need to pay.

1 Like
  1. What is an API?
    An API is a set of rules between systems and is used to communicate cross-functionally.
  2. In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?
    Java is a library that provides codes within its own development kit upon download. Twitter is a website that functions and communicates via the server when an end-user request information via search query.
  3. The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
    An abstract is using an app such as seamless or opentable to order food or make a reservation.
1 Like
  1. What is an API?
    An API is a package of pre-coded data and instructions programmers can use to reduce build time, organise code and allow interaction.

  2. In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?
    Java API is code accessible only via the Java program environment and uses predefined commands. Twitterr API are accessible via the web and allows specific interaction around social media linked to twitter.

  3. The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
    Purchasing groceries. I order what I need online and it gets delivered a few hours late. As apposed to going to catch the chicken, picking the veggies and milking the cow to get what I want.

1 Like
  1. API = Application Programming Interface it is a set of rules how the backend code can cooparate with front end client. So what happens and how it happens in certain actions from the client. It makes live easier for developers as they don’t have to write all the rules from scratch every time.

  2. Java API
    a. Is “generic/ common” set of rules Available for Java Development Kit users
    b. It is a long list of all classes, functionalities and all that developer can use in his use case

Twitter API
a. is a specific for Twitter only, web based API, for internal use of Twitter users
b. goes in 2 types only: REST API (allows developer to access core Twitter data) and Search API (thet provides methods for developers to interact with Twitter search database and trends in data).

  1. Abstraction is a way of organising the complexity of the system so it works in easy and friendly way.
    Ex.: Wine Tourism excursion package reservation:
    User picks a package (transport, hotel, vinyard to visit) than abstarction process connects all the dots:
    a. selects a start place of a user,
    b. orders transport type from users place to hotel,
    c. book vinyard visit,
    d. orders 2nd transport there,
    e. puts it in specific dates,
    f. organises backway home in the same way

Client doesn’t have to check all possibiliets for these services. He pays and gets a result (WineTour Package)

1 Like
  1. Application programming interface, an app that interacts with different softwares to make it easier to manage the tasks.

  2. JAVA API, uses libraries or predefined lists and Twitter API uses JSON web based to precess data.

  3. I would like an API that searches through Google all I want without going through all the websites till I get what I want. Anyways, an abstraction I might be my coffee machine, I just pour water and ground coffe, the just push the button and get the drink.

1 Like
  1. Deffined specification of possible interactions with a software. It explains the “how” and “what” you can perform in a non-complex way.

  2. To access the Java API you need to get de Java Development Kit using predefined commands. Whereas to access the Twitter API you need to make a request over the internet to any service that twitter host.

  3. An abstraction of my daily life: food delivery. Instead of going out, buying vegetables and chicken, come back home, chop everything, pre-heat the oven, cook the vegetables and the chicken breasts… blablabla, I open my phone lying on my couch, open the delivery app, order it and wait until my vegetables+chicken arrives.

1 Like
  1. Deffined specification of possible interactions with a software. It explains the “how” and “what” you can perform in a non-complex way.

  2. To access the Java API you need to get de Java Development Kit using predefined commands. Whereas to access the Twitter API you need to make a request over the internet to any service that twitter host.

  3. An abstraction of my daily life: food delivery. Instead of going out, buying vegetables and chicken, come back home, chop everything, pre-heat the oven, cook the vegetables and the chicken breasts… blablabla, I open my phone lying on my couch, open the delivery app, order it and wait until my vegetables+chicken arrives.

1 Like

1) What is an API?

An Application Programming Interface, that defines the protocol, or the “what and how” of communication between clients and servers.

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

Java API is download to the client as part of the JDK (developer kit), whereas the Twitter API is web-based, on server side.

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

“Do your laundry” is an act that requires us to put clothes in the washer, add soap, and push a button (maybe change settings) - the abstraction.

We don’t need to understand the plumbing system that draws the water into home and then the machine, the mechanism that brings hot or cold water depending on the setting selected, the various cycles the machine runs through to soak, soap, rinse, drain and spin the clothes to a semi-dry state.

1 Like

1) What is an API?

An Application Programming Interface, that allows two applications to talk to 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 located on the client side, whereas the Twitter API is web-based, on server side.

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

Typing on the keyboard and clicking the mouse.

1 Like
  1. An API is possible interactions with a software component.
  2. Anyone who has installed Java development kit has access to a library of software components. Twitter API is a web based API and only accessed by making request over the internet to the server hosted by Twitter.
  3. I’m a Barber at the moment, an abstraction in my daily life would be my clippers. I just worry about turning on the clippers and adjusting lever to cut at desired length. The complexity of the machinery is abstracted away with a switch.
1 Like

1) What is an API?
An application Programming Interface is a method of abstraction or a way of organizing the complexity of a system so that complicated actions can be handled in a simple way.

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. Twitter API is a web based service that requires the user to request the code from a web based service 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

Purchasing something with a credit card is an everyday abstraction: When you run the card the back end identifies you, checks that you have a sufficient balance to purchase the item in question, records the purchase and vendor and adjusts your available balance.

1 Like

1.) API stands for Application Programming Interface. APIs allow outside developers to programmatically interact with a software product or service.

2.) The Java API is a library of modular, pre-built software components that developers can use in application development if they have the Java Development Kit installed. This allows them to use/reuse components that they would otherwise have to build from scratch. In that sense, it is analogous to Bootstrap for front-end web developers.
Contrarily, the Twitter API is web-based. Applications must make HTTP requests over the internet to the Twitter service, which will return the requested data in JSON format if the data exists and the application requesting it has permission to access it.

3.) I’m currently a student pilot; piloting an airplane is an abstraction of a very complex network of components that all have to work together to make the airplane fly and perform in the desired way. While this may be a bit of a bad example, (we do have to learn about every one of those systems and understand how they interact with each other), the complexity is abstracted away on most flights (when everything works the way it should).

1 Like
  1. An API is a third-party piece of code that helps you in your program.

Hi Everyone, submitting some homework here :smiley:

1) What is an API?
An API is an Application Programming Interface.
It’s a set of information about what how you can interact with the software, and what these interactions are.

2) In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?
The components of the Java API are part of the Javas Development Kit, whereas the Twitter API is web-baed and requires requests to be made 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.

Would connecting my computer to a screen via a HDMI cable be considered an abstraction?

1 Like

1) What is an API?
It is a way to programmatically interact with a separate component or resource.

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 available “out of the box”, while the Twitter API is a web-based JSON API that allows developers to programmatically interact with Twitter data. The main difference is that 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.
Using the tv remote.

1 Like

An API serves as a data transmitter between two different pieces of software.

You can think of APIs as a contract. This contract determines how users can connect to the software and includes the following:

  • Type of operations users can perform
  • Type of input data
  • Type of output data

In details about what it is and its use cases, you can read here - https://www.cleveroad.com/blog/what-is-an-api

1 Like