@crysoline/lib 0.1.6 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (131) hide show
  1. package/dist/core/anime/123anime/index.d.ts +27 -0
  2. package/dist/core/anime/123anime/index.js +18 -0
  3. package/dist/core/anime/anicore/index.d.ts +27 -0
  4. package/dist/core/anime/anicore/index.js +18 -0
  5. package/dist/core/anime/anicore/types.d.ts +16 -0
  6. package/dist/core/anime/anicore/types.js +1 -0
  7. package/dist/core/anime/anidap/index.d.ts +27 -0
  8. package/dist/core/anime/anidap/index.js +18 -0
  9. package/dist/core/anime/aniliberty/index.d.ts +27 -0
  10. package/dist/core/anime/aniliberty/index.js +18 -0
  11. package/dist/core/anime/aniliberty/types.d.ts +3 -3
  12. package/dist/core/anime/anime3rb/index.d.ts +27 -0
  13. package/dist/core/anime/anime3rb/index.js +18 -0
  14. package/dist/core/anime/anime3rb/types.d.ts +2 -2
  15. package/dist/core/anime/animeav1/index.d.ts +27 -0
  16. package/dist/core/anime/animeav1/index.js +18 -0
  17. package/dist/core/anime/animeav1/types.d.ts +4 -4
  18. package/dist/core/anime/animegg/index.d.ts +27 -0
  19. package/dist/core/anime/animegg/index.js +18 -0
  20. package/dist/core/anime/animegg/types.d.ts +3 -3
  21. package/dist/core/anime/animeheaven/index.d.ts +27 -0
  22. package/dist/core/anime/animeheaven/index.js +18 -0
  23. package/dist/core/anime/animeheaven/types.d.ts +1 -1
  24. package/dist/core/anime/animekai/index.d.ts +27 -0
  25. package/dist/core/anime/animekai/index.js +18 -0
  26. package/dist/core/anime/animekai/types.d.ts +5 -5
  27. package/dist/core/anime/animelib/index.d.ts +31 -0
  28. package/dist/core/anime/animelib/index.js +18 -0
  29. package/dist/core/anime/animelib/types.d.ts +2 -2
  30. package/dist/core/anime/animemeow/index.d.ts +27 -0
  31. package/dist/core/anime/animemeow/index.js +18 -0
  32. package/dist/core/anime/animenexus/index.d.ts +27 -0
  33. package/dist/core/anime/animenexus/index.js +18 -0
  34. package/dist/core/anime/animenexus/types.d.ts +16 -16
  35. package/dist/core/anime/animenix/index.d.ts +27 -0
  36. package/dist/core/anime/animenix/index.js +18 -0
  37. package/dist/core/anime/animeonsen/index.d.ts +27 -0
  38. package/dist/core/anime/animeonsen/index.js +18 -0
  39. package/dist/core/anime/animeonsen/types.d.ts +8 -8
  40. package/dist/core/anime/animepahe/index.d.ts +27 -0
  41. package/dist/core/anime/animepahe/index.js +18 -0
  42. package/dist/core/anime/animeparadise/index.d.ts +26 -0
  43. package/dist/core/anime/animeparadise/index.js +18 -0
  44. package/dist/core/anime/anizone/index.d.ts +27 -0
  45. package/dist/core/anime/anizone/index.js +18 -0
  46. package/dist/core/anime/anizone/types.d.ts +5 -5
  47. package/dist/core/anime/hianime/index.d.ts +31 -0
  48. package/dist/core/anime/hianime/index.js +18 -0
  49. package/dist/core/anime/hianime/types.d.ts +8 -8
  50. package/dist/core/anime/index.d.ts +80 -69
  51. package/dist/core/anime/index.js +27 -261
  52. package/dist/core/anime/kickassanime/index.d.ts +27 -0
  53. package/dist/core/anime/kickassanime/index.js +18 -0
  54. package/dist/core/anime/kickassanime/types.d.ts +8 -8
  55. package/dist/core/anime/lunar/index.d.ts +28 -0
  56. package/dist/core/anime/lunar/index.js +19 -0
  57. package/dist/core/anime/lunar/types.d.ts +8 -8
  58. package/dist/core/anime/uniquestream/index.d.ts +27 -0
  59. package/dist/core/anime/uniquestream/index.js +18 -0
  60. package/dist/core/anime/uniquestream/types.d.ts +3 -3
  61. package/dist/core/hentai/hanime/index.d.ts +28 -0
  62. package/dist/core/hentai/hanime/index.js +19 -0
  63. package/dist/core/hentai/hentaigasm/index.d.ts +14 -0
  64. package/dist/core/hentai/hentaigasm/index.js +5 -0
  65. package/dist/core/hentai/hentaigasm/types.d.ts +15 -0
  66. package/dist/core/hentai/hentaigasm/types.js +1 -0
  67. package/dist/core/hentai/hentaihaven/index.d.ts +30 -0
  68. package/dist/core/hentai/hentaihaven/index.js +21 -0
  69. package/dist/core/hentai/hstream/index.d.ts +27 -0
  70. package/dist/core/hentai/hstream/index.js +18 -0
  71. package/dist/core/hentai/index.d.ts +25 -17
  72. package/dist/core/hentai/index.js +8 -62
  73. package/dist/core/hentai/watchhentai/index.d.ts +27 -0
  74. package/dist/core/hentai/watchhentai/index.js +18 -0
  75. package/dist/core/hentai/watchhentai/types.d.ts +3 -3
  76. package/dist/core/index.d.ts +1 -0
  77. package/dist/core/index.js +1 -0
  78. package/dist/core/manga/1manga/index.d.ts +27 -0
  79. package/dist/core/manga/1manga/index.js +20 -0
  80. package/dist/core/manga/1manga/types.d.ts +17 -0
  81. package/dist/core/manga/1manga/types.js +1 -0
  82. package/dist/core/manga/comix/index.d.ts +27 -0
  83. package/dist/core/manga/comix/index.js +19 -0
  84. package/dist/core/manga/comix/types.d.ts +3 -3
  85. package/dist/core/manga/index.d.ts +219 -18
  86. package/dist/core/manga/index.js +29 -75
  87. package/dist/core/manga/lunar/index.d.ts +27 -0
  88. package/dist/core/manga/lunar/index.js +19 -0
  89. package/dist/core/manga/lunar/types.d.ts +2 -2
  90. package/dist/core/manga/mangadex/index.d.ts +28 -0
  91. package/dist/core/manga/mangadex/index.js +20 -0
  92. package/dist/core/manga/mangadex/types.d.ts +2 -2
  93. package/dist/core/manga/mangafire/index.d.ts +27 -0
  94. package/dist/core/manga/mangafire/index.js +19 -0
  95. package/dist/core/manga/mangafire/types.d.ts +4 -4
  96. package/dist/core/manga/mbbcdn/index.d.ts +288 -0
  97. package/dist/core/manga/mbbcdn/index.js +200 -0
  98. package/dist/core/manga/mbbcdn/types.d.ts +14 -0
  99. package/dist/core/manga/mbbcdn/types.js +1 -0
  100. package/dist/core/manga/toonilycdn/index.d.ts +131 -0
  101. package/dist/core/manga/toonilycdn/index.js +91 -0
  102. package/dist/core/manga/toonilycdn/types.d.ts +14 -0
  103. package/dist/core/manga/toonilycdn/types.js +1 -0
  104. package/dist/core/manga/weebcentral/index.d.ts +27 -0
  105. package/dist/core/manga/weebcentral/index.js +19 -0
  106. package/dist/core/manga/weebcentral/types.d.ts +4 -4
  107. package/dist/core/meta/anilist/index.d.ts +20 -0
  108. package/dist/core/meta/anilist/index.js +18 -0
  109. package/dist/core/meta/index.d.ts +7 -11
  110. package/dist/core/meta/index.js +4 -55
  111. package/dist/core/meta/myanimelist/index.d.ts +20 -0
  112. package/dist/core/meta/myanimelist/index.js +18 -0
  113. package/dist/core/meta/myanimelist/types.d.ts +15 -15
  114. package/dist/core/meta/mymangalist/index.d.ts +7 -0
  115. package/dist/core/meta/mymangalist/index.js +5 -0
  116. package/dist/core/meta/mymangalist/types.d.ts +9 -9
  117. package/dist/core/novels/index.d.ts +41 -0
  118. package/dist/core/novels/index.js +11 -0
  119. package/dist/core/novels/jnovels/index.d.ts +26 -0
  120. package/dist/core/novels/jnovels/index.js +19 -0
  121. package/dist/core/novels/novelfire/index.d.ts +28 -0
  122. package/dist/core/novels/novelfire/index.js +20 -0
  123. package/dist/core/novels/novelfire/types.d.ts +4 -0
  124. package/dist/core/novels/novelfire/types.js +1 -0
  125. package/dist/core/novels/novelhall/index.d.ts +26 -0
  126. package/dist/core/novels/novelhall/index.js +19 -0
  127. package/dist/helpers/fetch.d.ts +6 -0
  128. package/dist/helpers/fetch.js +16 -0
  129. package/dist/helpers/index.d.ts +1 -0
  130. package/dist/helpers/index.js +1 -0
  131. package/package.json +2 -2
@@ -1 +1,28 @@
1
+ import type { OneTwoThreeAnimeInfoMeta, OneTwoThreeAnimeSearchMeta } from './types';
2
+ /**
3
+ * Creates a 123Anime API client.
4
+ *
5
+ * @param apiKey - Your API key for authentication
6
+ * @returns API client with methods: search, info, episodes, sources
7
+ *
8
+ * @example
9
+ * ```ts
10
+ * const client = OneTwoThreeAnime(process.env.API_KEY);
11
+ * const results = await client.search("naruto");
12
+ * const info = await client.info(results[0].id);
13
+ * ```
14
+ */
15
+ export declare const OneTwoThreeAnime: (apiKey: string) => {
16
+ name: string;
17
+ } & {
18
+ search: (q: string) => Promise<import("../../types").Search<OneTwoThreeAnimeSearchMeta>[]>;
19
+ info: (id: string | number) => Promise<import("../../types").Info<OneTwoThreeAnimeInfoMeta, import("../../types").Episode<unknown>>>;
20
+ episodes: (id: string | number) => Promise<import("../../types").Episode<unknown>[]>;
21
+ sources: (params: {
22
+ id: string | number;
23
+ episodeId: string | number;
24
+ subType?: string;
25
+ server?: string;
26
+ }) => Promise<import("../../types").Source<unknown>>;
27
+ };
1
28
  export * from './types';
@@ -1 +1,19 @@
1
+ import { AnimeFetch } from '../../../helpers';
2
+ /**
3
+ * Creates a 123Anime API client.
4
+ *
5
+ * @param apiKey - Your API key for authentication
6
+ * @returns API client with methods: search, info, episodes, sources
7
+ *
8
+ * @example
9
+ * ```ts
10
+ * const client = OneTwoThreeAnime(process.env.API_KEY);
11
+ * const results = await client.search("naruto");
12
+ * const info = await client.info(results[0].id);
13
+ * ```
14
+ */
15
+ export const OneTwoThreeAnime = (apiKey) => AnimeFetch({
16
+ provider: 'onetwothreeanime',
17
+ apiKey,
18
+ });
1
19
  export * from './types';
@@ -0,0 +1,27 @@
1
+ import type { AnicoreInfoMeta } from './types';
2
+ /**
3
+ * Creates a Anicore API client.
4
+ *
5
+ * @param apiKey - Your API key for authentication
6
+ * @returns API client with methods: search, info, episodes, sources
7
+ *
8
+ * @example
9
+ * ```ts
10
+ * const client = Anicore(process.env.API_KEY);
11
+ * const results = await client.search("naruto");
12
+ * const info = await client.info(results[0].id);
13
+ * ```
14
+ */
15
+ export declare const Anicore: (apiKey: string) => {
16
+ name: string;
17
+ } & {
18
+ search: (q: string) => Promise<import("../../types").Search<unknown>[]>;
19
+ info: (id: string | number) => Promise<import("../../types").Info<AnicoreInfoMeta, import("../../types").Episode<unknown>>>;
20
+ episodes: (id: string | number) => Promise<import("../../types").Episode<unknown>[]>;
21
+ sources: (params: {
22
+ id: string | number;
23
+ episodeId: string | number;
24
+ subType?: string;
25
+ server?: string;
26
+ }) => Promise<import("../../types").Source<unknown>>;
27
+ };
@@ -0,0 +1,18 @@
1
+ import { AnimeFetch } from '../../../helpers';
2
+ /**
3
+ * Creates a Anicore API client.
4
+ *
5
+ * @param apiKey - Your API key for authentication
6
+ * @returns API client with methods: search, info, episodes, sources
7
+ *
8
+ * @example
9
+ * ```ts
10
+ * const client = Anicore(process.env.API_KEY);
11
+ * const results = await client.search("naruto");
12
+ * const info = await client.info(results[0].id);
13
+ * ```
14
+ */
15
+ export const Anicore = (apiKey) => AnimeFetch({
16
+ provider: 'anicore',
17
+ apiKey,
18
+ });
@@ -0,0 +1,16 @@
1
+ import type { AnilistDate, AnilistTrailerInfo } from '../../meta';
2
+ export interface AnicoreInfoMeta {
3
+ format: string;
4
+ status: string;
5
+ startDate: AnilistDate;
6
+ endDate: AnilistDate;
7
+ season: string | null;
8
+ seasonYear: number | null;
9
+ duration: number | null;
10
+ source: string | null;
11
+ averageScore: number | null;
12
+ popularity: number;
13
+ studios: string[];
14
+ genres: string[];
15
+ trailer: AnilistTrailerInfo | null;
16
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,27 @@
1
+ import type { AnilistInfoMeta, AnilistSearchMeta } from '../../meta';
2
+ /**
3
+ * Creates a Anidap API client.
4
+ *
5
+ * @param apiKey - Your API key for authentication
6
+ * @returns API client with methods: search, info, episodes, sources
7
+ *
8
+ * @example
9
+ * ```ts
10
+ * const client = Anidap(process.env.API_KEY);
11
+ * const results = await client.search("naruto");
12
+ * const info = await client.info(results[0].id);
13
+ * ```
14
+ */
15
+ export declare const Anidap: (apiKey: string) => {
16
+ name: string;
17
+ } & {
18
+ search: (q: string) => Promise<import("../../types").Search<AnilistSearchMeta>[]>;
19
+ info: (id: string | number) => Promise<import("../../types").Info<AnilistInfoMeta, import("../../types").Episode<unknown>>>;
20
+ episodes: (id: string | number) => Promise<import("../../types").Episode<unknown>[]>;
21
+ sources: (params: {
22
+ id: string | number;
23
+ episodeId: string | number;
24
+ subType?: string;
25
+ server?: string;
26
+ }) => Promise<import("../../types").Source<unknown>>;
27
+ };
@@ -0,0 +1,18 @@
1
+ import { AnimeFetch } from '../../../helpers';
2
+ /**
3
+ * Creates a Anidap API client.
4
+ *
5
+ * @param apiKey - Your API key for authentication
6
+ * @returns API client with methods: search, info, episodes, sources
7
+ *
8
+ * @example
9
+ * ```ts
10
+ * const client = Anidap(process.env.API_KEY);
11
+ * const results = await client.search("naruto");
12
+ * const info = await client.info(results[0].id);
13
+ * ```
14
+ */
15
+ export const Anidap = (apiKey) => AnimeFetch({
16
+ provider: 'anidap',
17
+ apiKey,
18
+ });
@@ -1 +1,28 @@
1
+ import type { AnilibertyEpisodeMeta, AnilibertyInfoMeta, AnilibertySearchMeta } from './types';
2
+ /**
3
+ * Creates a Aniliberty API client.
4
+ *
5
+ * @param apiKey - Your API key for authentication
6
+ * @returns API client with methods: search, info, episodes, sources
7
+ *
8
+ * @example
9
+ * ```ts
10
+ * const client = Aniliberty(process.env.API_KEY);
11
+ * const results = await client.search("naruto");
12
+ * const info = await client.info(results[0].id);
13
+ * ```
14
+ */
15
+ export declare const Aniliberty: (apiKey: string) => {
16
+ name: string;
17
+ } & {
18
+ search: (q: string) => Promise<import("../../types").Search<AnilibertySearchMeta>[]>;
19
+ info: (id: string | number) => Promise<import("../../types").Info<AnilibertyInfoMeta, import("../../types").Episode<AnilibertyEpisodeMeta>>>;
20
+ episodes: (id: string | number) => Promise<import("../../types").Episode<AnilibertyEpisodeMeta>[]>;
21
+ sources: (params: {
22
+ id: string | number;
23
+ episodeId: string | number;
24
+ subType?: string;
25
+ server?: string;
26
+ }) => Promise<import("../../types").Source<unknown>>;
27
+ };
1
28
  export * from './types';
@@ -1 +1,19 @@
1
+ import { AnimeFetch } from '../../../helpers';
2
+ /**
3
+ * Creates a Aniliberty API client.
4
+ *
5
+ * @param apiKey - Your API key for authentication
6
+ * @returns API client with methods: search, info, episodes, sources
7
+ *
8
+ * @example
9
+ * ```ts
10
+ * const client = Aniliberty(process.env.API_KEY);
11
+ * const results = await client.search("naruto");
12
+ * const info = await client.info(results[0].id);
13
+ * ```
14
+ */
15
+ export const Aniliberty = (apiKey) => AnimeFetch({
16
+ provider: 'aniliberty',
17
+ apiKey,
18
+ });
1
19
  export * from './types';
@@ -1,4 +1,4 @@
1
- export interface ALSearchMeta {
1
+ export interface AnilibertySearchMeta {
2
2
  type: string | null;
3
3
  season: string | null;
4
4
  alias: string | null;
@@ -6,7 +6,7 @@ export interface ALSearchMeta {
6
6
  ageRating: string | null;
7
7
  genres: string[] | null;
8
8
  }
9
- export interface ALInfoMeta {
9
+ export interface AnilibertyInfoMeta {
10
10
  type: string | null;
11
11
  season: string | null;
12
12
  year: number | null;
@@ -15,7 +15,7 @@ export interface ALInfoMeta {
15
15
  ageRating: string | null;
16
16
  genres: string[] | null;
17
17
  }
18
- export interface ALEpisodeMeta {
18
+ export interface AnilibertyEpisodeMeta {
19
19
  hls_480: string | null;
20
20
  hls_720: string | null;
21
21
  hls_1080: string | null;
@@ -1 +1,28 @@
1
+ import type { Anime3RBInfoMeta, Anime3RBSourceMeta } from './types';
2
+ /**
3
+ * Creates a Anime3rb API client.
4
+ *
5
+ * @param apiKey - Your API key for authentication
6
+ * @returns API client with methods: search, info, episodes, sources
7
+ *
8
+ * @example
9
+ * ```ts
10
+ * const client = Anime3rb(process.env.API_KEY);
11
+ * const results = await client.search("naruto");
12
+ * const info = await client.info(results[0].id);
13
+ * ```
14
+ */
15
+ export declare const Anime3rb: (apiKey: string) => {
16
+ name: string;
17
+ } & {
18
+ search: (q: string) => Promise<import("../../types").Search<unknown>[]>;
19
+ info: (id: string | number) => Promise<import("../../types").Info<Anime3RBInfoMeta, import("../../types").Episode<unknown>>>;
20
+ episodes: (id: string | number) => Promise<import("../../types").Episode<unknown>[]>;
21
+ sources: (params: {
22
+ id: string | number;
23
+ episodeId: string | number;
24
+ subType?: string;
25
+ server?: string;
26
+ }) => Promise<import("../../types").Source<Anime3RBSourceMeta>>;
27
+ };
1
28
  export * from './types';
@@ -1 +1,19 @@
1
+ import { AnimeFetch } from '../../../helpers';
2
+ /**
3
+ * Creates a Anime3rb API client.
4
+ *
5
+ * @param apiKey - Your API key for authentication
6
+ * @returns API client with methods: search, info, episodes, sources
7
+ *
8
+ * @example
9
+ * ```ts
10
+ * const client = Anime3rb(process.env.API_KEY);
11
+ * const results = await client.search("naruto");
12
+ * const info = await client.info(results[0].id);
13
+ * ```
14
+ */
15
+ export const Anime3rb = (apiKey) => AnimeFetch({
16
+ provider: 'anime3rb',
17
+ apiKey,
18
+ });
1
19
  export * from './types';
@@ -1,7 +1,7 @@
1
- export interface A3RBInfoMeta {
1
+ export interface Anime3RBInfoMeta {
2
2
  airdate: string | null;
3
3
  genres: string[];
4
4
  }
5
- export interface AnimeRBSrcMeta {
5
+ export interface Anime3RBSourceMeta {
6
6
  posters: string[];
7
7
  }
@@ -1 +1,28 @@
1
+ import type { AnimeAV1EpisodeMeta, AnimeAV1InfoMeta, AnimeAV1SearchMeta, AnimeAV1SourceMeta } from './types';
2
+ /**
3
+ * Creates a AnimeAV1 API client.
4
+ *
5
+ * @param apiKey - Your API key for authentication
6
+ * @returns API client with methods: search, info, episodes, sources
7
+ *
8
+ * @example
9
+ * ```ts
10
+ * const client = AnimeAV1(process.env.API_KEY);
11
+ * const results = await client.search("naruto");
12
+ * const info = await client.info(results[0].id);
13
+ * ```
14
+ */
15
+ export declare const AnimeAV1: (apiKey: string) => {
16
+ name: string;
17
+ } & {
18
+ search: (q: string) => Promise<import("../../types").Search<AnimeAV1SearchMeta>[]>;
19
+ info: (id: string | number) => Promise<import("../../types").Info<AnimeAV1InfoMeta, import("../../types").Episode<AnimeAV1EpisodeMeta>>>;
20
+ episodes: (id: string | number) => Promise<import("../../types").Episode<AnimeAV1EpisodeMeta>[]>;
21
+ sources: (params: {
22
+ id: string | number;
23
+ episodeId: string | number;
24
+ subType?: string;
25
+ server?: string;
26
+ }) => Promise<import("../../types").Source<AnimeAV1SourceMeta>>;
27
+ };
1
28
  export * from './types';
@@ -1 +1,19 @@
1
+ import { AnimeFetch } from '../../../helpers';
2
+ /**
3
+ * Creates a AnimeAV1 API client.
4
+ *
5
+ * @param apiKey - Your API key for authentication
6
+ * @returns API client with methods: search, info, episodes, sources
7
+ *
8
+ * @example
9
+ * ```ts
10
+ * const client = AnimeAV1(process.env.API_KEY);
11
+ * const results = await client.search("naruto");
12
+ * const info = await client.info(results[0].id);
13
+ * ```
14
+ */
15
+ export const AnimeAV1 = (apiKey) => AnimeFetch({
16
+ provider: 'animeav1',
17
+ apiKey,
18
+ });
1
19
  export * from './types';
@@ -1,7 +1,7 @@
1
- export interface AVSearchMeta {
1
+ export interface AnimeAV1SearchMeta {
2
2
  slug: string;
3
3
  }
4
- export interface AVInfoMeta {
4
+ export interface AnimeAV1InfoMeta {
5
5
  season: string;
6
6
  status: string;
7
7
  format: string;
@@ -9,9 +9,9 @@ export interface AVInfoMeta {
9
9
  startDate: string;
10
10
  endDate: string;
11
11
  }
12
- export interface AVEpisodeMeta {
12
+ export interface AnimeAV1EpisodeMeta {
13
13
  url: string;
14
14
  }
15
- export interface AVSourceMeta {
15
+ export interface AnimeAV1SourceMeta {
16
16
  poster?: string | null;
17
17
  }
@@ -1 +1,28 @@
1
+ import type { AnimeGGEpisodeMeta, AnimeGGInfoMeta, AnimeGGSearchMeta } from './types';
2
+ /**
3
+ * Creates a AnimeGG API client.
4
+ *
5
+ * @param apiKey - Your API key for authentication
6
+ * @returns API client with methods: search, info, episodes, sources
7
+ *
8
+ * @example
9
+ * ```ts
10
+ * const client = AnimeGG(process.env.API_KEY);
11
+ * const results = await client.search("naruto");
12
+ * const info = await client.info(results[0].id);
13
+ * ```
14
+ */
15
+ export declare const AnimeGG: (apiKey: string) => {
16
+ name: string;
17
+ } & {
18
+ search: (q: string) => Promise<import("../../types").Search<AnimeGGSearchMeta>[]>;
19
+ info: (id: string | number) => Promise<import("../../types").Info<AnimeGGInfoMeta, import("../../types").Episode<AnimeGGEpisodeMeta>>>;
20
+ episodes: (id: string | number) => Promise<import("../../types").Episode<AnimeGGEpisodeMeta>[]>;
21
+ sources: (params: {
22
+ id: string | number;
23
+ episodeId: string | number;
24
+ subType?: string;
25
+ server?: string;
26
+ }) => Promise<import("../../types").Source<unknown>>;
27
+ };
1
28
  export * from './types';
@@ -1 +1,19 @@
1
+ import { AnimeFetch } from '../../../helpers';
2
+ /**
3
+ * Creates a AnimeGG API client.
4
+ *
5
+ * @param apiKey - Your API key for authentication
6
+ * @returns API client with methods: search, info, episodes, sources
7
+ *
8
+ * @example
9
+ * ```ts
10
+ * const client = AnimeGG(process.env.API_KEY);
11
+ * const results = await client.search("naruto");
12
+ * const info = await client.info(results[0].id);
13
+ * ```
14
+ */
15
+ export const AnimeGG = (apiKey) => AnimeFetch({
16
+ provider: 'animegg',
17
+ apiKey,
18
+ });
1
19
  export * from './types';
@@ -1,12 +1,12 @@
1
- export interface AGGSearchMeta {
1
+ export interface AnimeGGSearchMeta {
2
2
  status: string | null;
3
3
  altTitles: string[] | null;
4
4
  }
5
- export interface AGGInfoMeta {
5
+ export interface AnimeGGInfoMeta {
6
6
  status: string | null;
7
7
  genres: string[] | null;
8
8
  }
9
- export interface AGGEpisodeMeta {
9
+ export interface AnimeGGEpisodeMeta {
10
10
  sub: boolean | false;
11
11
  dub: boolean | false;
12
12
  hd: boolean | false;
@@ -1 +1,28 @@
1
+ import type { AnimeHeavenInfoMeta } from './types';
2
+ /**
3
+ * Creates an AnimeHeaven API client.
4
+ *
5
+ * @param apiKey - Your API key for authentication
6
+ * @returns API client with methods: search, info, episodes, sources
7
+ *
8
+ * @example
9
+ * ```ts
10
+ * const client = AnimeHeaven(process.env.API_KEY);
11
+ * const results = await client.search("demon slayer");
12
+ * const info = await client.info(results[0].id);
13
+ * ```
14
+ */
15
+ export declare const AnimeHeaven: (apiKey: string) => {
16
+ name: string;
17
+ } & {
18
+ search: (q: string) => Promise<import("../../types").Search<unknown>[]>;
19
+ info: (id: string | number) => Promise<import("../../types").Info<AnimeHeavenInfoMeta, import("../../types").Episode<unknown>>>;
20
+ episodes: (id: string | number) => Promise<import("../../types").Episode<unknown>[]>;
21
+ sources: (params: {
22
+ id: string | number;
23
+ episodeId: string | number;
24
+ subType?: string;
25
+ server?: string;
26
+ }) => Promise<import("../../types").Source<unknown>>;
27
+ };
1
28
  export * from './types';
@@ -1 +1,19 @@
1
+ import { AnimeFetch } from '../../../helpers';
2
+ /**
3
+ * Creates an AnimeHeaven API client.
4
+ *
5
+ * @param apiKey - Your API key for authentication
6
+ * @returns API client with methods: search, info, episodes, sources
7
+ *
8
+ * @example
9
+ * ```ts
10
+ * const client = AnimeHeaven(process.env.API_KEY);
11
+ * const results = await client.search("demon slayer");
12
+ * const info = await client.info(results[0].id);
13
+ * ```
14
+ */
15
+ export const AnimeHeaven = (apiKey) => AnimeFetch({
16
+ provider: 'animeheaven',
17
+ apiKey,
18
+ });
1
19
  export * from './types';
@@ -1,4 +1,4 @@
1
- export interface HInfoMeta {
1
+ export interface AnimeHeavenInfoMeta {
2
2
  japaneseTitle: string | null;
3
3
  year: string | null;
4
4
  score: string | null;
@@ -1 +1,28 @@
1
+ import type { AnimeKaiEpisodeMeta, AnimeKaiInfoMeta, AnimeKaiSearchMeta } from './types';
2
+ /**
3
+ * Creates an AnimeKai API client.
4
+ *
5
+ * @param apiKey - Your API key for authentication
6
+ * @returns API client with methods: search, info, episodes, sources
7
+ *
8
+ * @example
9
+ * ```ts
10
+ * const client = AnimeKai(process.env.API_KEY);
11
+ * const results = await client.search("attack on titan");
12
+ * const episodes = await client.episodes(results[0].id);
13
+ * ```
14
+ */
15
+ export declare const AnimeKai: (apiKey: string) => {
16
+ name: string;
17
+ } & {
18
+ search: (q: string) => Promise<import("../../types").Search<AnimeKaiSearchMeta>[]>;
19
+ info: (id: string | number) => Promise<import("../../types").Info<AnimeKaiInfoMeta, import("../../types").Episode<AnimeKaiEpisodeMeta>>>;
20
+ episodes: (id: string | number) => Promise<import("../../types").Episode<AnimeKaiEpisodeMeta>[]>;
21
+ sources: (params: {
22
+ id: string | number;
23
+ episodeId: string | number;
24
+ subType?: string;
25
+ server?: string;
26
+ }) => Promise<import("../../types").Source<unknown>>;
27
+ };
1
28
  export * from './types';
@@ -1 +1,19 @@
1
+ import { AnimeFetch } from '../../../helpers';
2
+ /**
3
+ * Creates an AnimeKai API client.
4
+ *
5
+ * @param apiKey - Your API key for authentication
6
+ * @returns API client with methods: search, info, episodes, sources
7
+ *
8
+ * @example
9
+ * ```ts
10
+ * const client = AnimeKai(process.env.API_KEY);
11
+ * const results = await client.search("attack on titan");
12
+ * const episodes = await client.episodes(results[0].id);
13
+ * ```
14
+ */
15
+ export const AnimeKai = (apiKey) => AnimeFetch({
16
+ provider: 'animekai',
17
+ apiKey,
18
+ });
1
19
  export * from './types';
@@ -1,4 +1,4 @@
1
- export interface KaiRelation {
1
+ export interface AnimeKaiRelation {
2
2
  id: string;
3
3
  title: string;
4
4
  url: string;
@@ -10,12 +10,12 @@ export interface KaiRelation {
10
10
  relationType?: string;
11
11
  episodes?: number;
12
12
  }
13
- export interface KaiEpisodeMeta {
13
+ export interface AnimeKaiEpisodeMeta {
14
14
  sub: boolean | false;
15
15
  dub: boolean | false;
16
16
  url: string | null;
17
17
  }
18
- export interface KaiInfoMeta {
18
+ export interface AnimeKaiInfoMeta {
19
19
  ani_id: string | null;
20
20
  type: string | null;
21
21
  url: string | null;
@@ -26,9 +26,9 @@ export interface KaiInfoMeta {
26
26
  status: string | null;
27
27
  season: string | null;
28
28
  genres: string[] | null;
29
- relations: KaiRelation[] | null;
29
+ relations: AnimeKaiRelation[] | null;
30
30
  }
31
- export interface KaiSearchMeta {
31
+ export interface AnimeKaiSearchMeta {
32
32
  sub: number | null;
33
33
  dub: number | null;
34
34
  type: string | null;
@@ -1 +1,32 @@
1
+ import type { AnimeLibInfoMeta, AnimeLibSearchMeta } from './types';
2
+ /**
3
+ * Creates a AnimeLib API client.
4
+ *
5
+ * @param apiKey - Your API key for authentication
6
+ * @returns API client with methods: search, info, episodes, sources, servers
7
+ *
8
+ * @example
9
+ * ```ts
10
+ * const client = AnimeLib(process.env.API_KEY);
11
+ * const results = await client.search("naruto");
12
+ * const info = await client.info(results[0].id);
13
+ * ```
14
+ */
15
+ export declare const AnimeLib: (apiKey: string) => {
16
+ name: string;
17
+ } & {
18
+ search: (q: string) => Promise<import("../../types").Search<AnimeLibSearchMeta>[]>;
19
+ info: (id: string | number) => Promise<import("../../types").Info<AnimeLibInfoMeta, import("../../types").Episode<unknown>>>;
20
+ episodes: (id: string | number) => Promise<import("../../types").Episode<unknown>[]>;
21
+ sources: (params: {
22
+ id: string | number;
23
+ episodeId: string | number;
24
+ subType?: string;
25
+ server?: string;
26
+ }) => Promise<import("../../types").Source<unknown>>;
27
+ servers: (params: {
28
+ id: string | number;
29
+ episodeId: string | number;
30
+ }) => Promise<import("../../types").Server<unknown>>;
31
+ };
1
32
  export * from './types';
@@ -1 +1,19 @@
1
+ import { AnimeFetch } from '../../../helpers';
2
+ /**
3
+ * Creates a AnimeLib API client.
4
+ *
5
+ * @param apiKey - Your API key for authentication
6
+ * @returns API client with methods: search, info, episodes, sources, servers
7
+ *
8
+ * @example
9
+ * ```ts
10
+ * const client = AnimeLib(process.env.API_KEY);
11
+ * const results = await client.search("naruto");
12
+ * const info = await client.info(results[0].id);
13
+ * ```
14
+ */
15
+ export const AnimeLib = (apiKey) => AnimeFetch({
16
+ provider: 'animelib',
17
+ apiKey,
18
+ });
1
19
  export * from './types';
@@ -1,9 +1,9 @@
1
- export interface ALIBSearchMeta {
1
+ export interface AnimeLibSearchMeta {
2
2
  type: string;
3
3
  status: string;
4
4
  ageRating: string;
5
5
  }
6
- export interface ALIBInfoMeta {
6
+ export interface AnimeLibInfoMeta {
7
7
  type: string;
8
8
  status: string;
9
9
  ageRating: string;