From 9d60247c626b00da27478cb9d687eae142762a8c Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Fri, 7 Apr 2023 00:04:37 -0700 Subject: Delete src/main/java directory --- src/main/java/com/pina/HolodexService.java | 92 ------------------------------ 1 file changed, 92 deletions(-) delete mode 100644 src/main/java/com/pina/HolodexService.java (limited to 'src/main/java/com/pina/HolodexService.java') 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> 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> 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 getChannel( - @Path("channelID") String channelID - ); - - @GET("/api/v2/channels/{channelID}/{type}") - Call> 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> getVideosFromChannels( - @Query("channels") String channels - ); - - @GET("/api/v2/videos/{videoID}") - Call