It is necessary to work with youtube api, began to google and such a misunderstanding.

There are two manuals for working with youtube api from java - YouTube and YouTube → Data API

And different libraries are used everywhere, in the first example, com.google.gdata , in the second - com.google.api , I'm confused.

What is the manual to work so you do not suffer? By the way, for the second example there are also maven dependencies, for the first while I found only jar files in their git repository

    1 answer 1

    com.google.gdata (v2) - deprecated - https://developers.google.com/youtube/2.0/developers_guide_java

    Therefore, it is recommended to use com.google.api (v3) - https://developers.google.com/youtube/v3/code_samples/java