/
infos.php
30 lines (24 loc) · 1000 Bytes
/
infos.php
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
<?php
include("imdb_parser/lib/Parser.class.php");
$Parser = new Parser("Breaking bad");
$info = $Parser->get_info();
echo "Title : " .$info["title"]. "\n";
echo "Year : " .$info["year"]. "\n";
echo "Time : " .$info["time"]. "\n";
echo "Genre : " .$info["genre"]. "\n";
echo "Stars : " .$info["stars"]. "\n";
echo "Rating : " .$info["rating"]. "\n";
echo "Rating Count : " .$info["rating_count"]. "\n";
echo "Metascore : " .$info["metascore"]. "\n";
echo "Director : " .$info["director"]. "\n";
echo "Description : " .$info["description"]. "\n";
echo "Thumbnail : " .$info["thumbnail"]. "\n";
echo "Thumbnail (HQ) : " .$info["hq_thumbnail"]. "\n";
echo "Release date : " .$info["release_date"]. "\n";
echo "Type : " .$info["type"]. "\n";
echo "Trailer : " .$info["trailer"]. "\n";
echo "Status : " .$info["status"]. "\n";
echo "Seasons : " .$info["seasons"]. "\n";
echo "Imdb URL : " .$info["imdb_url"]. "\n";
echo "Imdb ID : " .$info["imdb_id"]. "\n";
?>