UNPKG

@lightweight-clients/jikan-api-lightweight-client

Version:

Lightweight Jikan API client. Exports only minimal Fetch call. Fully compatible with AWS LLRT.

407 lines (406 loc) 18.1 kB
/** * This file is auto-generated by the Jikan API generator. * Do not modify directly. * Configure the client via 'core.ts'. */ import type * as types from './types'; /** * Returns complete anime resource data */ export declare const getAnimeFullById: (id: number) => Promise<types.GetAnimeFullByIdOkResponse | types.GetAnimeFullByIdResponse>; /** * Returns anime resource */ export declare const getAnimeById: (id: number) => Promise<types.GetAnimeByIdOkResponse | types.GetAnimeByIdResponse>; /** * Returns anime characters resource */ export declare const getAnimeCharacters: (id: number) => Promise<types.GetAnimeCharactersOkResponse | types.GetAnimeCharactersResponse>; /** * Returns anime staff resource */ export declare const getAnimeStaff: (id: number) => Promise<types.GetAnimeStaffOkResponse | types.GetAnimeStaffResponse>; /** * Returns a list of anime episodes */ export declare const getAnimeEpisodes: (id: number) => Promise<types.GetAnimeEpisodesOkResponse | types.GetAnimeEpisodesResponse>; /** * Returns a single anime episode resource */ export declare const getAnimeEpisodeById: (id: number, episode: number) => Promise<types.GetAnimeEpisodeByIdOkResponse | types.GetAnimeEpisodeByIdResponse>; /** * Returns a list of news articles related to the entry */ export declare const getAnimeNews: (id: number) => Promise<types.GetAnimeNewsOkResponse | types.GetAnimeNewsResponse>; /** * Returns a list of forum topics related to the entry */ export declare const getAnimeForum: (id: number, args: types.GetAnimeForumData) => Promise<types.GetAnimeForumOkResponse | types.GetAnimeForumResponse>; /** * Returns videos related to the entry */ export declare const getAnimeVideos: (id: number) => Promise<types.GetAnimeVideosOkResponse | types.GetAnimeVideosResponse>; /** * Returns episode videos related to the entry */ export declare const getAnimeVideosEpisodes: (id: number) => Promise<types.GetAnimeVideosEpisodesOkResponse | types.GetAnimeVideosEpisodesResponse>; /** * Returns pictures related to the entry */ export declare const getAnimePictures: (id: number) => Promise<types.GetAnimePicturesOkResponse | types.GetAnimePicturesResponse>; /** * Returns anime statistics */ export declare const getAnimeStatistics: (id: number) => Promise<types.GetAnimeStatisticsOkResponse | types.GetAnimeStatisticsResponse>; /** * Returns anime statistics */ export declare const getAnimeMoreInfo: (id: number) => Promise<types.GetAnimeMoreInfoOkResponse | types.GetAnimeMoreInfoResponse>; /** * Returns anime recommendations */ export declare const getAnimeRecommendations: (id: number) => Promise<types.GetAnimeRecommendationsOkResponse | types.GetAnimeRecommendationsResponse>; /** * Returns a list of users who have added/updated/removed the entry on their list */ export declare const getAnimeUserUpdates: (id: number) => Promise<types.GetAnimeUserUpdatesOkResponse | types.GetAnimeUserUpdatesResponse>; /** * Returns anime reviews */ export declare const getAnimeReviews: (id: number) => Promise<types.GetAnimeReviewsOkResponse | types.GetAnimeReviewsResponse>; /** * Returns anime relations */ export declare const getAnimeRelations: (id: number) => Promise<types.GetAnimeRelationsOkResponse | types.GetAnimeRelationsResponse>; /** * Returns anime themes */ export declare const getAnimeThemes: (id: number) => Promise<types.GetAnimeThemesOkResponse | types.GetAnimeThemesResponse>; /** * Returns anime external links */ export declare const getAnimeExternal: (id: number) => Promise<types.GetAnimeExternalOkResponse | types.GetAnimeExternalResponse>; /** * Returns anime streaming links */ export declare const getAnimeStreaming: (id: number) => Promise<types.GetAnimeStreamingOkResponse | types.GetAnimeStreamingResponse>; /** * Returns complete character resource data */ export declare const getCharacterFullById: (id: number) => Promise<types.GetCharacterFullByIdOkResponse | types.GetCharacterFullByIdResponse>; /** * Returns character resource */ export declare const getCharacterById: (id: number) => Promise<types.GetCharacterByIdOkResponse | types.GetCharacterByIdResponse>; /** * Returns anime that character is in */ export declare const getCharacterAnime: (id: number) => Promise<types.GetCharacterAnimeOkResponse | types.GetCharacterAnimeResponse>; /** * Returns manga that character is in */ export declare const getCharacterManga: (id: number) => Promise<types.GetCharacterMangaOkResponse | types.GetCharacterMangaResponse>; /** * Returns the character&#39;s voice actors */ export declare const getCharacterVoiceActors: (id: number) => Promise<types.GetCharacterVoiceActorsOkResponse | types.GetCharacterVoiceActorsResponse>; /** * Returns pictures related to the entry */ export declare const getCharacterPictures: (id: number) => Promise<types.GetCharacterPicturesOkResponse | types.GetCharacterPicturesResponse>; /** * Returns Club Resource */ export declare const getClubsById: (id: number) => Promise<types.GetClubsByIdOkResponse | types.GetClubsByIdResponse>; /** * Returns Club Members Resource */ export declare const getClubMembers: (id: number) => Promise<types.GetClubMembersOkResponse | types.GetClubMembersResponse>; /** * Returns Club Staff */ export declare const getClubStaff: (id: number) => Promise<types.GetClubStaffOkResponse | types.GetClubStaffResponse>; /** * Returns Club Relations */ export declare const getClubRelations: (id: number) => Promise<types.GetClubRelationsOkResponse | types.GetClubRelationsResponse>; /** * Returns entry genres, explicit_genres, themes and demographics */ export declare const getAnimeGenres: (args: types.GetAnimeGenresData) => Promise<types.GetAnimeGenresOkResponse | types.GetAnimeGenresResponse>; /** * Returns entry genres, explicit_genres, themes and demographics */ export declare const getMangaGenres: (args: types.GetMangaGenresData) => Promise<types.GetMangaGenresOkResponse | types.GetMangaGenresResponse>; /** * Returns magazines collection */ export declare const getMagazines: (args: types.GetMagazinesData) => Promise<types.GetMagazinesOkResponse | types.GetMagazinesResponse>; /** * Returns complete manga resource data */ export declare const getMangaFullById: (id: number) => Promise<types.GetMangaFullByIdOkResponse | types.GetMangaFullByIdResponse>; /** * Returns pictures related to the entry */ export declare const getMangaById: (id: number) => Promise<types.GetMangaByIdOkResponse | types.GetMangaByIdResponse>; /** * Returns manga characters resource */ export declare const getMangaCharacters: (id: number) => Promise<types.GetMangaCharactersOkResponse | types.GetMangaCharactersResponse>; /** * Returns a list of manga news topics */ export declare const getMangaNews: (id: number) => Promise<types.GetMangaNewsOkResponse | types.GetMangaNewsResponse>; /** * Returns a list of manga forum topics */ export declare const getMangaTopics: (id: number, args: types.GetMangaTopicsData) => Promise<types.GetMangaTopicsOkResponse | types.GetMangaTopicsResponse>; /** * Returns a list of manga pictures */ export declare const getMangaPictures: (id: number) => Promise<types.GetMangaPicturesOkResponse | types.GetMangaPicturesResponse>; /** * Returns anime statistics */ export declare const getMangaStatistics: (id: number) => Promise<types.GetMangaStatisticsOkResponse | types.GetMangaStatisticsResponse>; /** * Returns manga moreinfo */ export declare const getMangaMoreInfo: (id: number) => Promise<types.GetMangaMoreInfoOkResponse | types.GetMangaMoreInfoResponse>; /** * Returns manga recommendations */ export declare const getMangaRecommendations: (id: number) => Promise<types.GetMangaRecommendationsOkResponse | types.GetMangaRecommendationsResponse>; /** * Returns manga user updates */ export declare const getMangaUserUpdates: (id: number) => Promise<types.GetMangaUserUpdatesOkResponse | types.GetMangaUserUpdatesResponse>; /** * Returns manga reviews */ export declare const getMangaReviews: (id: number) => Promise<types.GetMangaReviewsOkResponse | types.GetMangaReviewsResponse>; /** * Returns manga relations */ export declare const getMangaRelations: (id: number) => Promise<types.GetMangaRelationsOkResponse | types.GetMangaRelationsResponse>; /** * Returns manga external links */ export declare const getMangaExternal: (id: number) => Promise<types.GetMangaExternalOkResponse | types.GetMangaExternalResponse>; /** * Returns complete character resource data */ export declare const getPersonFullById: (id: number) => Promise<types.GetPersonFullByIdOkResponse | types.GetPersonFullByIdResponse>; /** * Returns pictures related to the entry */ export declare const getPersonById: (id: number) => Promise<types.GetPersonByIdOkResponse | types.GetPersonByIdResponse>; /** * Returns person&#39;s anime staff positions */ export declare const getPersonAnime: (id: number) => Promise<types.GetPersonAnimeOkResponse | types.GetPersonAnimeResponse>; /** * Returns person&#39;s voice acting roles */ export declare const getPersonVoices: (id: number) => Promise<types.GetPersonVoicesOkResponse | types.GetPersonVoicesResponse>; /** * Returns person&#39;s published manga works */ export declare const getPersonManga: (id: number) => Promise<types.GetPersonMangaOkResponse | types.GetPersonMangaResponse>; /** * Returns a list of pictures of the person */ export declare const getPersonPictures: (id: number) => Promise<types.GetPersonPicturesOkResponse | types.GetPersonPicturesResponse>; /** * Returns producer resource */ export declare const getProducerById: (id: number) => Promise<types.GetProducerByIdOkResponse | types.GetProducerByIdResponse>; /** * Returns producer resource */ export declare const getProducerFullById: (id: number) => Promise<types.GetProducerFullByIdOkResponse | types.GetProducerFullByIdResponse>; /** * Returns producer&#39;s external links */ export declare const getProducerExternal: (id: number) => Promise<types.GetProducerExternalOkResponse | types.GetProducerExternalResponse>; /** * Returns a random anime resource */ export declare const getRandomAnime: () => Promise<types.GetRandomAnimeOkResponse | types.GetRandomAnimeResponse>; /** * Returns a random manga resource */ export declare const getRandomManga: () => Promise<types.GetRandomMangaOkResponse | types.GetRandomMangaResponse>; /** * Returns a random character resource */ export declare const getRandomCharacters: () => Promise<types.GetRandomCharactersOkResponse | types.GetRandomCharactersResponse>; /** * Returns a random person resource */ export declare const getRandomPeople: () => Promise<types.GetRandomPeopleOkResponse | types.GetRandomPeopleResponse>; /** * Returns a random user profile resource */ export declare const getRandomUsers: () => Promise<types.GetRandomUsersOkResponse | types.GetRandomUsersResponse>; /** * Returns recent anime recommendations */ export declare const getRecentAnimeRecommendations: () => Promise<types.GetRecentAnimeRecommendationsOkResponse | types.GetRecentAnimeRecommendationsResponse>; /** * Returns recent manga recommendations */ export declare const getRecentMangaRecommendations: () => Promise<types.GetRecentMangaRecommendationsOkResponse | types.GetRecentMangaRecommendationsResponse>; /** * Returns recent anime reviews */ export declare const getRecentAnimeReviews: () => Promise<types.GetRecentAnimeReviewsOkResponse | types.GetRecentAnimeReviewsResponse>; /** * Returns recent manga reviews */ export declare const getRecentMangaReviews: () => Promise<types.GetRecentMangaReviewsOkResponse | types.GetRecentMangaReviewsResponse>; /** * Returns weekly schedule */ export declare const getSchedules: (args: types.GetSchedulesData) => Promise<types.GetSchedulesOkResponse | types.GetSchedulesResponse>; /** * Returns search results for anime */ export declare const getAnimeSearch: (args: types.GetAnimeSearchData) => Promise<types.GetAnimeSearchOkResponse | types.GetAnimeSearchResponse>; /** * Returns search results for manga */ export declare const getMangaSearch: (args: types.GetMangaSearchData) => Promise<types.GetMangaSearchOkResponse | types.GetMangaSearchResponse>; /** * Returns search results for people */ export declare const getPeopleSearch: (args: types.GetPeopleSearchData) => Promise<types.GetPeopleSearchOkResponse | types.GetPeopleSearchResponse>; /** * Returns search results for characters */ export declare const getCharactersSearch: (args: types.GetCharactersSearchData) => Promise<types.GetCharactersSearchOkResponse | types.GetCharactersSearchResponse>; /** * Returns search results for users */ export declare const getUsersSearch: (args: types.GetUsersSearchData) => Promise<types.GetUsersSearchOkResponse | types.GetUsersSearchResponse>; /** * Returns username by ID search */ export declare const getUserById: (id: number) => Promise<types.GetUserByIdOkResponse | types.GetUserByIdResponse>; /** * Returns search results for clubs */ export declare const getClubsSearch: (args: types.GetClubsSearchData) => Promise<types.GetClubsSearchOkResponse | types.GetClubsSearchResponse>; /** * Returns producers collection */ export declare const getProducers: (args: types.GetProducersData) => Promise<types.GetProducersOkResponse | types.GetProducersResponse>; /** * Returns current seasonal anime */ export declare const getSeasonNow: (args: types.GetSeasonNowData) => Promise<types.GetSeasonNowOkResponse | types.GetSeasonNowResponse>; /** * Returns seasonal anime */ export declare const getSeason: (year: number, season: string, args: types.GetSeasonData) => Promise<types.GetSeasonOkResponse | types.GetSeasonResponse>; /** * Returns available list of seasons */ export declare const getSeasonsList: () => Promise<types.GetSeasonsListOkResponse | types.GetSeasonsListResponse>; /** * Returns upcoming season&#39;s anime */ export declare const getSeasonUpcoming: (args: types.GetSeasonUpcomingData) => Promise<types.GetSeasonUpcomingOkResponse | types.GetSeasonUpcomingResponse>; /** * Returns top anime */ export declare const getTopAnime: (args: types.GetTopAnimeData) => Promise<types.GetTopAnimeOkResponse | types.GetTopAnimeResponse>; /** * Returns top manga */ export declare const getTopManga: (args: types.GetTopMangaData) => Promise<types.GetTopMangaOkResponse | types.GetTopMangaResponse>; /** * Returns top people */ export declare const getTopPeople: () => Promise<types.GetTopPeopleOkResponse | types.GetTopPeopleResponse>; /** * Returns top characters */ export declare const getTopCharacters: () => Promise<types.GetTopCharactersOkResponse | types.GetTopCharactersResponse>; /** * Returns top reviews */ export declare const getTopReviews: (args: types.GetTopReviewsData) => Promise<types.GetTopReviewsOkResponse | types.GetTopReviewsResponse>; /** * Returns complete user resource data */ export declare const getUserFullProfile: (username: string) => Promise<types.GetUserFullProfileOkResponse | types.GetUserFullProfileResponse>; /** * Returns user profile */ export declare const getUserProfile: (username: string) => Promise<types.GetUserProfileOkResponse | types.GetUserProfileResponse>; /** * Returns user statistics */ export declare const getUserStatistics: (username: string) => Promise<types.GetUserStatisticsOkResponse | types.GetUserStatisticsResponse>; /** * Returns user favorites */ export declare const getUserFavorites: (username: string) => Promise<types.GetUserFavoritesOkResponse | types.GetUserFavoritesResponse>; /** * Returns user updates */ export declare const getUserUpdates: (username: string) => Promise<types.GetUserUpdatesOkResponse | types.GetUserUpdatesResponse>; /** * Returns user about in raw HTML */ export declare const getUserAbout: (username: string) => Promise<types.GetUserAboutOkResponse | types.GetUserAboutResponse>; /** * Returns user history (past 30 days) */ export declare const getUserHistory: (username: string, args: types.GetUserHistoryData) => Promise<types.GetUserHistoryOkResponse | types.GetUserHistoryResponse>; /** * Returns user friends */ export declare const getUserFriends: (username: string) => Promise<types.GetUserFriendsOkResponse | types.GetUserFriendsResponse>; /** * Returns user anime list */ export declare const getUserAnimelist: (username: string, args: types.GetUserAnimelistData) => Promise<types.GetUserAnimelistOkResponse | types.GetUserAnimelistResponse>; /** * Returns user manga list */ export declare const getUserMangaList: (username: string, args: types.GetUserMangaListData) => Promise<types.GetUserMangaListOkResponse | types.GetUserMangaListResponse>; /** * Returns user reviews */ export declare const getUserReviews: (username: string) => Promise<types.GetUserReviewsOkResponse | types.GetUserReviewsResponse>; /** * Returns Recent Anime Recommendations */ export declare const getUserRecommendations: (username: string) => Promise<types.GetUserRecommendationsOkResponse | types.GetUserRecommendationsResponse>; /** * Returns user clubs */ export declare const getUserClubs: (username: string) => Promise<types.GetUserClubsOkResponse | types.GetUserClubsResponse>; /** * Returns user&#39;s external links */ export declare const getUserExternal: (username: string) => Promise<types.GetUserExternalOkResponse | types.GetUserExternalResponse>; /** * Returns Recently Added Episodes */ export declare const getWatchRecentEpisodes: () => Promise<types.GetWatchRecentEpisodesOkResponse | types.GetWatchRecentEpisodesResponse>; /** * Returns Popular Episodes */ export declare const getWatchPopularEpisodes: () => Promise<types.GetWatchPopularEpisodesOkResponse | types.GetWatchPopularEpisodesResponse>; /** * Returns Recently Added Promotional Videos */ export declare const getWatchRecentPromos: () => Promise<types.GetWatchRecentPromosOkResponse | types.GetWatchRecentPromosResponse>; /** * Returns Popular Promotional Videos */ export declare const getWatchPopularPromos: () => Promise<types.GetWatchPopularPromosOkResponse | types.GetWatchPopularPromosResponse>;