What is an API? Reading assignment
1) What is an API?
An API is an Application Programming Interface. It is an interface that defines interaction between different applications or programs. For example, an API will specify the kinds of requests that can be made and how they can be made, the data format required, conventions to be followed, etc.**
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 suite of pre-built software components that implement common tasks and can be used as pre-existing building blocks by programmers. For example, it defines what you can do with a list, and how each action can be done.**
The Twitter API is a web-based API, which means that developers or users need to make requests over the internet (for example, to interact with Twitter data), versus the Java API which allows developers to install and use the suite of components on their own device**
3) The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
In this case, abstraction is where the complex details and mechanisms of an activity or event are dealt with / simplified s so that the person engaging in the event or activity can focus on the output of that experience. For example, plug-and-play devices or accessories for the computer, where you can plug them into the appropriate port (USB or other), and the system will automatically search the internet for the correct drivers, make sure the components talk to each other, test the connectivity, and enable it to operate effectively with minimal interaction from the user