What is an API? Reading Assignment

  1. API stands for Application Programming Interface
    what this does is make complex systems easy for developers to use instead of writing the code from scratch
  2. the difference between JAVA API and Twitter API is JAVA API is predefined library of software components. and Twitter API web based and can bring back specific results.
  3. An example of abstraction is say i want to make a meal, and have to arrange specific ingredients in a certain way, at different weights and timings. alternatively i could buy a ready meal and press a couple of buttons and its done. Or get a takeaway, dial a phone number or input my order online and it turns up at my door, removing any complexity.
1 Like

1 - An API is an application programming interface, this specifies all the possible interactions with a software component.

2 - The Java API is build into the java developers toolkit software where as the Twitter API is a web based API that you can only interact with over the internet.

3 - Ordering takeaway food with stored payment information and repeat of previous order is a way in which I use an abstraction layer, even more so during Covid Lockdown!

1 Like
  1. An API is a application programming interface. The Api helps organize code and make components more reusable.
  2. Twitter API is set of rules for programmatically interacting with Twitter. But generally understood a thing you interact with. Java API its a library of list of components right out of the box, it tells you how to use the list and what you can do with list of components. Twitter API is a web bases JSON API program that developers can interact with Twitter data.
  3. Abstraction is like ordering from a restuarant online and looking at the list of items and pressing the order number so the webserver intakes information and shoots back the amount to be paid for the type of food your chose from the menu giving back a total sum with taxes detailing time of order drop off and gps located to track order eta.
1 Like
  1. An API is a application programming interface. A way for programs to interact with each other.

  2. Java API is a library of software components available from the Java Develepors Kit, which facilitates the life of a programmer. Instead of coding a list from scratch, he can use the Java library.
    The Twitter API is a web based API which allows programmers to interact with Twitter data.

  3. Abstraction is a way of simplifying a very complex system for the user. For ex., when I open the Kajabi app of the Iot Academy on my phone, I can click on “continue” and work on the exact lesson of the class I left off at. For me, it’s just one click, but the information which concern my profile, the class I am currently taking, which lesson I am at etc., has to be retrieved first.

1 Like
  1. It is an application programming interface; a concept that applies to everywhere. An API is a way to programmatically interact with a separate software components or resource.
  2. Java API mainly uses general commands that will have a selection of actions based upon its makeup, where the twitter API will have a script returned as the result of an action.
  3. Using my CLC card to magically have my reservation and details appear when I stay at hotels.
1 Like
  1. An application programming interface is a set of predetermined rules or regulations of grouped code / potential interactions with a software component.

  2. Twitter API is web based and only allows interaction with their software. It is also a REST API. Whereas Java API is part of a developer kit and can be used for any project within the Java environment.

  3. Abstraction in my life is when I eat a frozen meal. For me, I just put it into the microwave and heat it up and then eat it. I dont see the manufacturing process that went into creating the food and then the engineering that goes into the microwave to heat it up. That is abstraction.

1 Like
  1. It stands for Application Programming Interface, which is a specification of possible interactions with a software component.

  2. Java API is a tool available as part of the Java Development Kit installation; while Twitter API is a web-based API that must be accessed by sending requests over the internet to services that Twitter hosts.

  3. When I buy a vacation package from a travel agency, I just need to pick the package I like to join and the agency will make arrangements with the necessary parties for hotels, flights, and other itineraries. I just need to show up on the day of travel to enjoy the entire vacation.

1 Like
  1. API stand for application program interface, which is really just a command of interactions within a software component. It coordinates interactions as programmed to make complex interactions easier and faster.

  2. The main difference between JAVA API and Twitter API, is that the Twitter API is web based where the JAVA API is included in the Java development kit.

3.One abstraction from my daily life is my cell phone. It is packed full of APIs, practically everything you do on it has complicated process of commands behind it that you cannot see it’s mostly either an API itself or connected to one.

1 Like
  1. API - Application programming interface. A way to programmatically interact with a separate software component or resource
  2. Java API can be described as a library of software components that can do common tasks (included in the Java development kit). The Twitter API is web based and allows interaction with the Twitter content.
  3. Ordering an Uber in order to get from A to B is an abstraction, as I am neither involved in driving the car, owning a car nor in the underlying payment process.
1 Like
  1. What is an API? - Application User Interface. It’s a way for a program to interact with another program, software 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 that are part of the Java development kit and acts as a tool to make a programmers job more efficient by implementing common tasks. The Twitter API is web based, uses the JSON data interchange format and allows programmers to 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. - I grew up learning how to tell the time on a mechanical watch, that watch became a quartz watch, then a digital watch and back to a mechanical watch. The importance of its function was always obvious, to tell the time. The complexity of how they function along with added complications is hidden behind the hour and minute hands, the sweep of the second hand and the digital screen. Most people can tell the time on both without knowing how it is done.

1 Like

1) What is an API?
It is a software interface to interact with.

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 toolkit for developers included in the java development kit. The Twitter API is a Web-based API which has to be called from an implementation.

3) The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
An abstraction of my daily life would be functions like: get up, have breakfast, do exercises, go to work etc. Behind these functions there is some work to do which is not visible from the outside.

1 Like

1 - An API is a programmatic interface to data or functionality which abstracts the details of the underlying functionality from the user invoking the API
2 - Java APIs are part of the core language and can be used to perform common tasks. The Twitter API is a public API that provides access to Twitter platform and data
3 - An abstraction from daily life is using the computer keyboard - I could be typing local code or I could be surfing the web but I expect the same basic behavior in both circumstances.

2 Likes

[quote=“ivan, post:1, topic:6381”]

  1. What is an API?
    -Application programming interface

  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 while Java API is included in the Java development tool kit.
  1. The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
    -I watch a lot of YouTube over topics im interested in learning more about. I can interact with YouTube and videos by subscribing to channels I enjoy watching, liking the content by clicking a button, commenting on the video by clicking the comment button, as well as subscribing to the channel and turning on notifications to be sent a notification every time a new video is uploaded from the channel I am interested in. Youtube also allows me to watch videos later along with other video recommendations.
2 Likes
  1. What is an API?

    • Application programming interface. That is the way a piece of software allows other pieces of software to communicate with it
  2. In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?

    • Java API is usually a set of interfaces that are exposed from some Java library. Those interfaces can be used by another Java libraries. The important thing is that the client library and the used API actually reside within one and the same Java process.
    • The Twitter API is a REST api. It is used over HTTPs protocol and the calling software is usually running within another physical machine.
  3. The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.

    • Well I do drive a car although I am not an auto engineer. I know how to use the wheel, the gear stick and pedals.
2 Likes
  1. What is an API?
    An API allows to programmatically interact with other software programs.

  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 and Twitter API is a web-based JSON API.

  3. The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
    I use a smart band, which tracks how many steps I did, but I don’t know all the processes that are happening behind the scenes.

2 Likes

1) What is an API?

An API is an application programming interface. It allows communication between servers and clients by specifying the format of requests from clients and the format of replies from servers. It specifies how components should interact, by containing info about ‘what to do’ and ‘how to do it’.

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 a JSON that enables developers to get data from Twitter. It is accessed by making requests over the internet by sending an https request and then returns data in the JSON format, which is easy to parse by the client.

The Java API is a collection of software-components accessible with the Java DK. These components allow you to not have to re-invent the wheel for every task you want to program. The API will have certain components e.g. lists, and the API tells you what you can do with the component and it indicates show the actions are performed.Allows for interaction within JAVA environment.

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

An example of abstraction is the make coffee button on my nespresso machine. I do not have to boil the water and pour it over the coffee to make myself a cup nor understand the intricate mechanism underlying the process. Rather, pressing a button will suffice to make a nice espresso shot.

2 Likes

Continuing the discussion from What is an API? Reading Assignment:

  1. Application Programming Interface, tools to link different applications to work together.

  2. Main difference is the Java API is a library of software components available “out of the box” to anyone who has installed the Java Development kit.
    Twitter API is web based, request must be made over the internet for services twitter provide.

  3. Shopping online or bookings services online is an abstraction of daily life there are a lot of steps that are eliminated. You just choose, pay and get delivery.

2 Likes
  1. API Application Programming Interphase. An API is a way to programmatically interact with a separate software component or resource. A well-designed software application will have internal APIs to help organize code and make components more reusable. An API is defined as a specification of possible interactions with a software component.
    2, APIs is often used to refer to both the specification of the interactions and to the actual software component you interact with. “Twitter API,” refers to the program rules of twitter as well as the process of interacting with Twitter,
  2. APIs help in Abstraction-making complex things/experiences simple. For example internet banking through my mobile phone is seamless by use of API. Sign up email marketing on my website thrugh mailchimp software is another abstraction,
2 Likes
  1. An API is essentially like a front end system made to easily interact with other programs as opposed to people.

  2. The Twitter API is web-based so all of the requests must be sent and received over the internet.

  3. When I work out, I use an app that tells me what exercises to do, how many times to do them and what weight to use. This means that I don’t have to go through the trouble of regimenting an entire workout for myself, remembering which exercises I did in the days prior, how much weight I was able to lift last time, etc. I just open the app and do what it tells me.

2 Likes
  1. Programming that allows applications to interact with each other.
  2. Java API is a library of software and Twitter is web-based JSON API that allows developers to interact with Twitter data.
  3. Changed my Vespa for and electric scooter. Operation is the same with just a few minor details to keep in check.
2 Likes