Quantcast
Channel: Active questions tagged youtube-api - Stack Overflow
Viewing all articles
Browse latest Browse all 3831

import com.google.api.services.samples.youtube.cmdline.Auth;

$
0
0

I am trying to do the youtube example here about how to download captions using JAVA. I was able to import all the libraries that they used except one, com.google.api.services.samples.youtube.cmdline.Auth. I don't konw where to find this libary to import. This is similar to this question but im not sure how the given answer helps.

the two lines that need this import are

 Credential credential = Auth.authorize(scopes, "captions");youtube = new YouTube.Builder(Auth.HTTP_TRANSPORT, Auth.JSON_FACTORY, credential)                .setApplicationName("youtube-cmdline-captions-sample").build();

Viewing all articles
Browse latest Browse all 3831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>