Skip to content

TitleCombined class

duck7000 edited this page Nov 12, 2024 · 2 revisions

This describes the working of TitleCombined class with description of the used method main() and what data it returns

TitleCombined class is intended to combine different data types into one method call. It groups together relevant info that belongs to a certain type of information like seen on IMDb pages. It returns an array of different data types.

main()

  • This method combines all main data found inside the black top part of a imdb title page.

Return array contains this fields:

  • title (string)
  • originalTitle (string)
  • imdbid (string)
  • reDirectId (string)
  • movieType (string)
  • year (int)
  • endYear (int)
  • imgThumb (string) 140x207
  • imgFull (string)
  • runtime (int)
  • rating (float)
  • genre (array)
    mainGenre (string)
    subGenre (array)
  • plotoutline (string)
  • credits (array)
    director (array)
    creator (array) (TV series only
    writer (array)
    star (array)

Clone this wiki locally