Skip to content

Instantly share code, notes, and snippets.

@prolongservices
Created May 30, 2020 19:37
Show Gist options
  • Select an option

  • Save prolongservices/a47b78be066d96dcf0b9267f5aceef80 to your computer and use it in GitHub Desktop.

Select an option

Save prolongservices/a47b78be066d96dcf0b9267f5aceef80 to your computer and use it in GitHub Desktop.
package com.edablogs.tubelite.api;
import com.edablogs.tubelite.model.update.UpdateModel;
import com.edablogs.tubelite.model.youtube.ChannelModel;
import com.edablogs.tubelite.model.youtube.LatestModel;
import com.edablogs.tubelite.model.youtube.YoutubeResponse;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;
/**
* Created by pawneshwer on 11/11/16.
*/
public interface YoutubeApi {
@GET("search")
Call<LatestModel> getRecentVideos(@Query("type") String type,
@Query("order") String order,
@Query("key") String key,
@Query("part") String part,
@Query("maxResults") String maxResults,
@Query("pageToken") String lastToken);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment