diff options
| author | Pinapelz <donaldshan1@outlook.com> | 2023-04-07 00:04:37 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-07 00:04:37 -0700 |
| commit | 9d60247c626b00da27478cb9d687eae142762a8c (patch) | |
| tree | 96bea086e45004f1ad2082b39f1cc4bee5022954 /src/main/java/com/pina/HolodexService.java | |
| parent | 2c7e0a70fd8a569c0dac9a000f09cce255281be1 (diff) | |
Delete src/main/java directory
Diffstat (limited to 'src/main/java/com/pina/HolodexService.java')
| -rw-r--r-- | src/main/java/com/pina/HolodexService.java | 92 |
1 files changed, 0 insertions, 92 deletions
diff --git a/src/main/java/com/pina/HolodexService.java b/src/main/java/com/pina/HolodexService.java deleted file mode 100644 index fa2af85..0000000 --- a/src/main/java/com/pina/HolodexService.java +++ /dev/null @@ -1,92 +0,0 @@ -package com.pina; - -import com.pina.datatypes.Channel; -import com.pina.datatypes.SimpleVideo; -import com.pina.datatypes.Video; -import retrofit2.Call; -import retrofit2.http.GET; -import retrofit2.http.Path; -import retrofit2.http.Query; - -import java.util.List; - -public interface HolodexService { - @GET("/api/v2/live") - Call<List<SimpleVideo>> getLiveVideos( - @Query("channel_id") String channel_id, - @Query("id") String id, - @Query("include") String include, - @Query("lang") String lang, - @Query("limit") Integer limit, - @Query("maxUpcomingHours") Integer maxUpcomingHours, - @Query("mentioned_channel_id") String mentioned_channel_id, - @Query("offset") Integer offset, - @Query("order") String order, - @Query("org") String org, - @Query("paginated") String paginated, - @Query("sort") String sort, - @Query("status") String status, - @Query("topic") String topic, - @Query("type") String type - ); - - @GET("/api/v2/videos") - Call<List<Video>> getVideos( - @Query("channel_id") String channel_id, - @Query("id") String id, - @Query("include") String include, - @Query("lang") String lang, - @Query("limit") Integer limit, - @Query("max_upcoming_hours") Integer max_upcoming_hours, - @Query("mentioned_channel_id") String mentioned_channel_id, - @Query("offset") Integer offset, - @Query("order") String order, - @Query("org") String org, - @Query("paginated") String paginated, - @Query("sort") String sort, - @Query("status") String status, - @Query("topic") String topic, - @Query("type") String type - ); - - @GET("/api/v2/channels/{channelID}") - Call<Channel> getChannel( - @Path("channelID") String channelID - ); - - @GET("/api/v2/channels/{channelID}/{type}") - Call<List<Video>> getVideosByChannelId( - @Path("channelID") String channelID, - @Path("type") String type, - @Query("include") String include, - @Query("lang") String lang, - @Query("limit") Integer limit, - @Query("offset") Integer offset, - @Query("paginated") String paginated - ); - - @GET("/api/v2/users/live") - Call<List<Video>> getVideosFromChannels( - @Query("channels") String channels - ); - - @GET("/api/v2/videos/{videoID}") - Call<Video> getVideo( - @Path("videoID") String videoID, - @Query("lang") String lang, - @Query("c") String c - ); - - @GET("/api/v2/channels") - Call<List<Channel>> getChannels( - @Query("limit") Integer limit, - @Query("offset") Integer offset, - @Query("type") String type, - @Query("lang") String lang, - @Query("order") String order, - @Query("org") String org, - @Query("sort") String sort - ); - -} - |
