Cannot resolve YouTube class/symbol, YouTube Data API Java sample issue -


i'm trying execute search keyword sample code youtube data api java samples collection.

in order i:

  1. created new project in intellij idea.
  2. downloaded latest google-api-java-client-featured.zip.
  3. added libraries google-api-java-client-featured project via project structure → libraries → new project library.
  4. created class search.java , copy pasted sample.

idea can't resolve youtube class:

/**  * define global instance of youtube object, used  * make youtube data api requests.  */ private static youtube youtube; 

my question:
can find youtube class or have in order able execute official youtube data api java sample?

it appears there more download. got except actual youtube data api. of writing can found @ https://developers.google.com/api-client-library/java/apis/youtube/v3. @ site there option download .zip file, or obtain through maven or gradle.

i found searching (googling) class com.google.api.services.youtube.youtube, found listed import in sample linked above.


Comments

Popular posts from this blog

routing - AngularJS State management ->load multiple states in one page -

python - GRASS parser() error -

Swift game error message -