RxTube
RxTube copied to clipboard
not Getting the Data |
i am not getting the data [here is my code what i doing wrong , QureySize Log not call even YouTube youTube = initYouTube(); RxTube rxTube = new RxTube(youTube, YOUTUBE_API_KEY); final String videoId = "iX-QaNzd-0Y"; rxTube.create(new RxTube.Query<YouTube.Videos.List>() { @Override public YouTube.Videos.List create(YouTube youTube) throws Exception { final YouTube.Videos.List query = youTube.videos().list("snippet"); query.setId(videoId); Log.d("QuerySize","n"+query.size()); return query; } });
private YouTube initYouTube() {
return new YouTube.Builder(new NetHttpTransport(), new JacksonFactory(), new HttpRequestInitializer() {
public void initialize(HttpRequest request) throws IOException {
}
}).setApplicationName("youtbedataapitest").build();
}](url)
Did you setup the keys correctly?