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