[JAVA] Isn't Web API too convenient? ?? ??

What is Web API?

Hi, this is Pompoko.

What is an API roughly in the previous article? Did you get the image? This time, we hope that you will understand a little about "Web API" as well as API.

Isn't it easier to read if you point out or do this? We look forward to hearing from you! !!

Then to the main story.

What is Web API in the first place?

A mechanism for sharing software functions and things that can be shared by programs that specialize in one function It's called Web API.

Anyway, it's really convenient! !! !! So there are horrifying companies around the world using Web APIs.

As mentioned in the previous article Amazon, Facebook, Twitter, Google, Gurunavi, Rakuten, etc.

So why bother to use the Web API?

The answer is simple and clear.

--It is possible to link applications developed in different programming languages. --Because it is via the Web, you can get the latest information. --There is no need for operational costs such as bug fixes. --Many Web APIs are open to the public for free.

There are so many merits that I can't think of any demerits.

I actually investigated the disadvantages, but I can't find them at all. .. .. (Please let me know if anyone knows the disadvantages.)

It ’s just a merit! !! !! Can anyone who wants to use it?

In front of these benefits, it is inevitable.

There is something you absolutely need to use the Web API.

that is,,,

"API key" and "API secret key"! !! !!

This is issued when you register on the site that provides the API. You must use the Web API with this.

The API key is the ID of the app The API secret key is a password!

Why can't I do without the above two? ?? ?? I will be worried all night. .. ..

Finally, I would like to quote a very easy-to-understand figure. スクリーンショット 2019-08-27 4.55.55.png

Thank you for reading to the end! !!

next time!

Recommended Posts

Isn't Web API too convenient? ?? ??
Isn't Web API too convenient? ?? ??
I tried using Java REPL
Test Web API with junit