Quantcast
Channel: 質問!ITmedia 新着質問(Java/253)
Viewing all articles
Browse latest Browse all 2439

javaのYoutubeApiを使用した動画検索

$
0
0
質問させて頂きます。 javaのYoutubeApiを使用して、動画検索をしようと思っています。 下記のサンプルを使用して、動作確認は出来ました。 https://developers.google.com/youtube/v3/code_samples/java#search_by_keyword  一応、検索が成功すれば下記のレスポンスが返ってきて、nextPageToken等を使用すれば、次々の検索結果が取得できるようなのですが、kind~pageInfoまでのitemsより上の値は全て返ってきません。itemsのみのデータが返ってきます。なので、結局1ページ分のデータしか取得できません。何かやり方がおかしいのでしょうか? { "kind": "youtube#searchListResponse", "etag": etag, "nextPageToken": string, "prevPageToken": string, "pageInfo": { "totalResults": integer, "resultsPerPage": integer }, "items": [ 検索リソース ] } 参照:https://developers.google.com/youtube/v3/docs/search/list

Viewing all articles
Browse latest Browse all 2439

Trending Articles



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