File size: 2,874 Bytes
95f4e64
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
import * as YTS from './types/types';
/**
 * TODO: Implement proxy?
 */
export declare const config: YTS.ConfigType;
/**
 * Used to list and search through out all the available movies. Can sort, filter, search and order the results
 *
 * @param params
 * @param format
 * @returns
 */
export declare function search(params?: YTS.ListMoviesParams, format?: YTS.ConfigType['format']): Promise<YTS.SearchResponse>;
/**
 * Returns the information about a specific movie
 *
 * @param params
 * @param format
 * @returns
 */
export declare function details(params: YTS.MovieDetailsParams, format?: YTS.ConfigType['format']): Promise<YTS.DetailsResponse>;
/**
 * Returns 4 related movies as suggestions for the user
 *
 * @param params
 * @param format
 * @returns
 */
export declare function suggestions(params: YTS.MovieSuggestions, format?: YTS.ConfigType['format']): Promise<YTS.SuggestionsResponse>;
/**
 * Returns all the comments for the specified movie
 *
 * ! NOTE: The API route is broken, this function is non functional for the time being
 * ! Mabye in the future this will be working again. This is a YTS problem and not a package problem
 * ! As soon as these routings are working as intended I will remove the @deprecated marker

 * @deprecated This method is not working, API route is not working on YTS side
 * @param params
 * @param format
 */
export declare function comments(params: YTS.MovieComments, format?: YTS.ConfigType['format']): Promise<any>;
/**
 * Returns all the IMDb movie reviews for the specified movie
 *
 * ! NOTE: The API route is broken, this function is non functional for the time being
 * ! Mabye in the future this will be working again. This is a YTS problem and not a package problem
 * ! As soon as these routings are working as intended I will remove the @deprecated marker

 * @deprecated This method is not working, API route is not working on YTS side
 * @param params
 * @param format
 */
export declare function reviews(params: YTS.MovieReviews, format?: YTS.ConfigType['format']): Promise<any>;
/**
 * Returns all the parental guide ratings for the specified movie
 *
 * ! Apparently this is not yet implemented inside the YTS API
 *
 * @param params
 * @param format
 * @returns
 */
export declare function parentals(params: YTS.MovieParentalGuides, format?: YTS.ConfigType['format']): Promise<any>;
/**
 * Returns the 4 latest upcoming movies
 *
 * ! NOTE: The API route is broken, this function is non functional for the time being
 * ! Mabye in the future this will be working again. This is a YTS problem and not a package problem
 * ! As soon as these routings are working as intended I will remove the @deprecated marker

 * @deprecated This method is not working, API route is not working on YTS side
 * @param format
 * @returns
 */
export declare function upcomming(format?: YTS.ConfigType['format']): Promise<any>;