- a specification of possible interactions with a software component
- java api is predefined commands users select, twitter uses json to show script.
- when i send someone bitcoin from my wallet it is an abstraction, i do not need to know about digitally signing with my private key or ading my transaction to the mempool or how the miners will confirm it by hashing it into a block.
-
API, Application Programming Interface, is a specification of possible interactions with a software component. API includes information about what the software can do and how it can do it.
-
Unlike Java API, which is included in the Java Development Kit, the Twitter API is web-based API that is accessed by making requests over the internet.
-
An example of an abstraction could be for example a password manager tool that saves your web login information so you donât have to type it every time you login to websites and accounts, or the possibility to save this login information to your browser.
Another example of abstraction could be receiving your bills straight to your mobile bank instead of paying bills by filling the payment information manually for each bill.
1. What is an API?
Application Programming Interface, is an abstraction layer program that allows a developer access to underlying structures of data unseen by a user.
2) In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?
Java API is an offline programming toolkit while the Twitter API is a web-based online tool.
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 a daily-life abstraction is money. The entire workings of the monetary system to most, are a complete mystery, however, one is able to take some cash and obtain what one needs in life. The concept of money is a complete abstraction from the real-life exchange of value on a daily basis.
-
what is an API ? application program interface, this is the program that will be an
in between program that other programs will use to interact with eachother. -
the JAVA api is a group of JSON files that anyone can use to interface their application with another application from anyone who also use JSON or JAVA apiâs. The Twitter API is specific to Twitter and you will need to use it over Twitter service then.
3.so some Abstraction in my Daily life is my Compost Bin, I throw in coffee grounds and some carrot peels and I have worms that live in there. Then when I need some potting Soil I just go to my Compost Bin and dig up some nice Soil for my Pots. The composting Bin is like and Abstraction Device, it takes what I cant really use in that form, changes it a bit, makes my life easier, and saves me money on potting Soil for my tomatoes and Lettuce on the Balcony, and saves me time and produces something I can really use
1) What is an API?
An Application Programming Interface, is a set of code allowing communication and interacting between server and clients.
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. Unlike the Java API, which is included in the Java Development Kit, the Twitter API is a web-based API and must be accessed 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.
When I send a selfie to my wife with whatsapp, Iâm not aware how my device sends the image file through a set of routers which communicate with my and my wifeâs device.
1- An API is an application with rules that allow the access of data from a server or clients to interactions with a software component.
2- A Java API is a software components available to anyone who has installed the Java development kit. Twitter API is a wed-based JSON application and can online be accessed over the internet.
3- Using my applepay or cash app to send a friend money without going to the bank and taking the money out of my bank account.
-
An API is an interface. It gives you the possibility to fetch complex information through a rather simple command. It is a tool that allows you to use parts of a program without understanding the actual code behind it.
The Twitter API letâs you pull information from Twitter. To me the Java API more sounds like an online manual for JAVA.
I want to text my wife. I just write the text on my cell phone, specify the receiver an press send. I donât have to think about how the text goes from my cell phone to herâs, which cell phone towers have to be used. I donât even have to remember her number.
- It is a certain ways of interacting with given application.
- Java API defines what programmer can do in Java language, Twitter API is based on internet protocol and defines what request can Twitter app recieve and process.
- An example would be Gearbox - itâs very complicated mechanism, yet its interface and API is very easy and understandable.
1
Itâs a reusable piece of code that developers can use to let their programs perform specific functions.
2
Apis can be stored locally in the development-kits ready to be implemented (Java), or accessible via requests over network (Twitter).
3
Another example of abstraction is the hotel room booking system. The hotelâs pms fills the room slot because it gets the reservation details via an API in the xml interface with the booking sites.
1 - application programming interface, allows various software programs to âtalkâ with each other on various levels
2 - the twitter API is a web based (JSON) fomat, whereas the JAVA api is a library of code
3 - an abstraction such as honking the horn in my car only requires that i know what area of the steering wheel to push to make a soundâŚi do not need to know that an electrical contact is made and a signal is sent to a sound device which converts the signal to a vibration or release of compressed air
Application programming interface, just as the words mean, âthe wayâ server and clients communicate with each other.
The Java API is a library of software components available to anyone who has installed the Java Development Kit. Programmers donât have to start from scratch every time.
The Twitter API is a web-based JSON API that allows developers to programmatically interact with Twitter data. The Twitter API is a web-based API.
Using home delivery from restaurant for example, Uber Eats, Deliveroo etc. I just order from a button and get to food delivered to my door without being engaged about all the communication and work that has to be done between the guy delivering the food, the restaurant and the Uber Eats app.
- An API makes it easier to develop new programs because it already has certain informations and functions which developers can use to write programs.
- Twitter API needs an internet connection since it is a web based API. The Java API does not need that because with the installation comes all the functionality automatically.
- Pancakes: The API contents the ingredients and tools and the functionality for example how and how long you have to stir the dough, the right amount of ingredients for the perfect dough and when to turn the dough in the pan etcâŚ
1) What is an API?
An API is an Application Programming Interface. It defines the protociol for interaction with an application using a standard set of requests.
2) In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?
The difference between the Java and Twitter APIs is that the Java API is integrated into the software so it can be used offline, whereas the Twitter API is web based and located on the Twitter server so can only be interacted with while online.
3) The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
Walking, breathing, eating etc. Many human actions are done on autopilot, where we only think of the obastract action (if even) and then we do it, we do not think about each of the complex muscle movements and correography that goes into performing elaborate human motion.
- Application Programming Interface. A published standard way to interact with a software component
- The java API is a programming language based API, allowing programmers to develop programs in a consistent way. The twitter API is a web based API allowing allowing users to access twitter data (which itself would have been built using programming APIs)
- Accelerator/Brake pedals in a car offer a consistent interface when driving, abstracting the complex details of different engines and brake types under the hood
- API stands for an application programming interface. An API is a way to interact with a separate software component or resource programmatically.
- The Java API is used to interact with Java developers on the Java platform, and the Twitter API is a public API that is used to interact with the social networking service.
- An example of API as an abstraction layer in daily life is the use of a fully automatic washing machine. One has to set the mode and press start. The washing machine does the rest of the work.
Reading assignment:
1) What is an API?
- Stands for Application Programming Interface. This is a way into the backend or to a third-party apps where you can fetch information to your own system or app.
2) In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?
- To my understanding the difference is that Java API is a language that gives you the possibility to fetch data from many different APIs. You can use and sort from the Java API list on how to use the it. The Twitter API is limited to the functionality that this API provides. For example, that you can get the username, and a certain range of tweets between two dates /or that includes any string of text.
And, the Twitter API is sending information through JSON format that allows devs to fetch data / text from Twitter using easy HTML requests.
With the Java API you can make our own requests and therefore calculate / ask for even more if the connected part is open for Java API.
Please correct me if Iâm wrong
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 just a way of organizing the complexity of a system so that complicated actions can be handled in a simple way.â
Examples from our everyday life:
- Checking the weather forecast on my smartphone.
- Getting a push message of a news article that is in my interest-list.
- Pressing one time at my smartwatch to get the BTC price
- An API is an interface to interact with a separate software component or resource. It is a specification detailing possible interactions with the underlying code.
- 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 offers.
- I love astronomy and want to share the example of calendars. We all use calendars daily to quickly understand what day, week, year etc. it is. It only takes one quick look or click. However, timekeeping is based on many complex astronomical observations. The results of these observations get condensed and put in the format of calendars, which is the abstraction layer on top of the actual observations.
- An application programming interface is a computing interface which defines interactions between multiple software intermediaries.
- The âwhatâ and âhowâ information come together in the Java API and the Twitter API also contains the âwe are doingâ.
- When ordering food, I don´t have to go through all of the steps of making and delivering that food to my door. It has been taken care of and that abstraction is not being done by me but instead of a service.
- An API or Application Programming Interface is a set of rules that allows one set of code or an application to interact with another set of code or application. It is a bridge between two applications. For example, it could be the send and request code that requests weather data from a server and delivers it to an application like a Safari browser.
- 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.
- a music playlist abstracts the decisions and routine involved in picking a new track everytime the last one ends.
- an interface to interact with software. it abstracts the logic to make it easier to understand and use without the need to look under the hood
- The Java API comes with the java development kit whereas the twitter api is a web based api
- Gas pedal inside a vehicle allows me to accelerate without the need to understand how the engine works under the hood.