What is an API? Reading Assignment

1 An api or application programming interface, is a way for different softwares or applications to programmatically share data and interact with each other.
2 The java api is a toolkit for developers that makes some components out the box for developers to easily program with. The twitter api are data sets that can be utilized over the web for developers to analyze that data to better understand tweets and trends and things like that.
3 Seeing the fridge empty is an abstraction of needing to go to the store buy food prepare meals or else I will be too hungry to study blockchain with ivan on tech. :wink:

1 Like

1) What is an API?

  • _application programming interface
  • “API” is defined as a specification of possible interactions with a software component
  • Seems like a means n guide to help someone use a programming language more efficiently
  • Basically they are libraries programmers use, so they don’t have to start from scratch everytime

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

  • Java API
    “outta the box” library humans can read
  • doesn’t require internet connection
  • Twitter API
  • web-based API: Only accesible thru services hosted online by twitter
  • replies to requests are sent in non-human readable formats

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 like file compression for tasks.
  • Steppin onna brake pedal issa abstraction for the complex mechanics required to stop a car
  • Dialing a phone number issa abstraction for the complex actions required to have a long distance conversation
1 Like

1 API stands for Application Programming Interface. It allows for separate software or resource systems to communicate with each other to avoid code being recreated for every interaction. A good example of this might be directions contained within a website that interacts with google maps database.
2. Java API is an application programming interface that is preinstalled with the Java Development kit and allows developers a simplified structure to program tasks. The Twitter API is internet based which allows interaction between users and Twitters data on servers that it hosts.
3. Icons on a desktop make it easier and faster to access programs with ease rather than searching manually for where an execution file is stored within your pc’s hard drive to then open the application.

1 Like

1) What is an API?
Application programming interface, 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?
The Java API is a library of software components available “out of the box” to anyone who has installed the Java Development Kit.
The Twitter API is a web-based JSON API that allows developers to programmatically interact with Twitter data. 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.
I think a good abstraction in daily life could be making dinner for my family. You have to set the table, search for a nice recipe, prepare all the ingredients that you need, then start cooking and when everything is ready you can call your family and have dinner. It could be a lot of work and a lot of things are happening behind the stage but they only would see the dinner.

1 Like
  1. A specification of how to interact with different software components that tells you what you can di and how to do it without the need of knowing how the other software component works.

  2. Java API contains a set of tools that allows you to develop software faster by abstracting different objects and methods. Think of it as a swiss knife, which contains predefined objects and methods commonly used for different programming purposes that otherwise you would have to develop. The twitter api is a web based api that allows you to interact with different twitter components such as tweets and users in order to mine data.

  3. An abstraction is performed by all apps in an smartphone. You can message your friends with whatsapp, see cryptomarket pricess with blockfolio as well as news feeds, without the need to understand how is done. The apps provide the what (the purpose of the app) and the how (the UI of the app).

1 Like

1) What is an API?
API stands for application programming interface

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” to anyone who has installed the Java Development Kit.
The Twitter API is a web-based JSON API that allows developers to programmatically interact with Twitter data.

3) The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
My example of an abstraction is, my morning routine every morning.

1 Like
  1. API is Application Programming Interface. It is a tool that connects complex systems (as source of data and functionality) with applications (outcome for user) and for user it brings an interface which is very simple to use. It serves like a middleman which brings us simple solution (with a complex process underneath).

  2. Java API works with Java Development kit (no internet needed) and gives simple explanations and instructions how to use something.
    Twitter API works with web (therefore internet is needed). It sends requests in HTTP but does not receive outcome in form of webpage, but in form of JSON with which can API work with.

  3. Examples of abstraction:
    Calculator
    Siri (a bit simplified - you don’t have to type or click on anything, you just talk and get an answer)
    Starting the car with key or button

1 Like

1) What is an API?
An Application programming interface (API) is an interface that defines how to interact with a piece of software. method calls, method objects and conventions are all specified by the interface and accompanying documentation

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 set of components for building software solutions whereas the Twitter API is a software solution entry point.

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 important because it simplifies complex solutions making it easier for the user to build a mental model of how the system works. Abstraction in API’s normally follows the Business Model so that the words and ideas used in the API are shared by the business as a whole in what’s sometimes called a Lexicon or “Shared language”

A good example of this from yesterdays lecture is the Account and Wallet models of the crypto wallet @filip talked about, Account is actually a complex model as we know from earlier discussions on ethereum and bitcoin but the term Account is easily understood by most users as ‘bank account’, that’s the “mental model” or how you think it works as opposed to how it actually works.

“Every month I get money to pay my bills” is a simple abstraction where “get money” is actually a complex process.

1 Like
  1. An API is an application programming interface. It allows software to be accessed in a standardized way. Complex functionality already developed can be used by interfacing it through the definition. This way existing applications and code can be easily (re)used.
  2. The JAVA api is distributed in the SDK and can live on the client. The Twitter API is accessed online via calls to the code over internet.
  3. I liked the example of the car, but almost any device or machine that you use can be a good example. Even your cell phone. When we went from landlines to cell phones there was still a keypad on the cell phones then later with smart phones the keypad was on a touch screen. I’m old enough to remember using dials instead of push buttons on phones that was an older interface.
    In regards to information hiding using a phone hides the complexity of creating a connection to another person and reduces it to punching in some numbers and then being able to speak with someone even on the other side of the world. This without having to know the technology behind it.
1 Like
  1. An Application Programming Interface is a set of rules allowing the interaction between the codes of two applications
  2. Java API is a set of rules that allows the code of two applications to interact within the JAVA environment whereas Twitter API allows for the developers to interact with the Twitter data provided over the internet.
  3. It could be any step by step instructions given in a detailed recipe to bake a cake from scratch for instance
1 Like
  1. An API is an application program interface that allows code on different computer to interact with one another.

  2. The Java api is an api packaged with the java development toolkit. The twitter api is an api that is accessed over the internet.

  3. Abstraction is a concept in programming that involves taking a myriad of complicated functions and simplifying them. An example I use daily is my smartphone. My smartphone takes many different and complicated applications and organizes them for me to be able to quickly and easily perform various tasks I need to perform each day such as checking my stocks, weather, texting, emailing, calling, listening to music, watching videos, etc.

1 Like
  1. API’s are a set of rules/instructions that allows programs to speak with eachother to save developers time.
  2. Twitter API is web bases and specifically for Twitter, Java API is a list of features that makes programming easier.
  3. My microwave oven. A couple buttons pushed and it cooks my food without hassle.
1 Like

1) What is an API? Application Programming Interface - used to exchange data between applications

2) In the article the author compares Java API to Twitter API. What is the main difference between these two APIs? Java works with the Java Developer Kit and Twitter API works 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. Abstraction is to make something complex process easier for instance starting my scooter here on the island with a simple turn of the key and to push a button.

1 Like
  1. What is an API (application programming interface)?
    Its a computing interface that defines interactions between multiple software intermediaries. Or in other words, its a specification which defines the way how the server and an client can or will 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?
    *The Java API is a library of software components with common task to increase productivity. The Java API defines what and how to perform with the list provided by the development kit.
    *The Twitter API is a web based API to interact with the social networking service. The Twitter API tells you what you can do, perform, search, create or favorite with a tweet.

  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 withdraw money from the ATM. With pressing the OK button to get money out of the machine, there are several action proceeded in the background like selecting the correct nodes, print out the receipt, deduct the amount from my account by sending this information to the database of the bank etc.

1 Like

1.- Tool that allows the user to make actions without having to go through its complexity, an almost automatic process.
2.- Twitter uses a web-based API, unlike Java.
3.- When I join a zoom meeting at school I just click buttons, I do not immerse myself into a more complex way of joining a meeting.

1) What is an API?
appliation programming interface - an application of “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?
Java API are rules for code interaction within the Java program environment. Twitter API are rules for code interaction which are sent over the WEB between a client and a server.

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 go to the supermarket and buy a ready made meal. This is a form of abstraction as it enables me to avoid buying all the separate ingredients, measuring and cooking those same ingredients. Thereby simplifying the process.
[/quote]

1 Like

1/ API = application programming interface = a way to programmatically interact with a separate software component or resources
2/ generic vs. specific
3/ Read a book from shelf: 1) choos title 2) select title from shelf 3) look up pagemarker 4) open book on pagemarker 5) read 6) leave pagemarker 7)put book back on shelf …(something like that)?

1 Like
  1. API stands for application programming interface. API is a way to programmatically interact with a separate software component or resource.
  2. Java API is a list of code that programmers use a shortcuts to make their work more efficient in the Java software. Where Twitter API is used to interact with Twitters database over the internet.
  3. 3D Modeling Software: Allows for plotting of points, creating objects, modifying points, edges, corners etc. Vs writing code to create the same tasks.
2 Likes
  1. An API is an application programming interface

  2. In the article the author compares Java API is a library of software components developers use, interacting with Java platform, to increase their productivity while Twitter API rules the possible interactions of our social networking there.

  3. An abstraction from daily life: the water boiling button, because once pressed for coffee, a few minutes later, lights start the day in my mind and stretch my smile muscles.

1 Like
  1. What is an API?
    It’s the way applications can 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 allows for communication between applications in same machine, while Twitter API is web-based and is accessed through 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’m hungry I can call a pizza shop to order food. All of the processes of cooking and delivering the food to me are abstracted.

1 Like