Networks
Bases: TMDB
Networks functionality.
See: https://developers.themoviedb.org/3/networks
Source code in src/tmdb_client_py/tv.py
979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 | |
alternative_names(**kwargs)
Get the alternative names of a network.
Returns:
| Type | Description |
|---|---|
|
A dict representation of the JSON returned from the API. |
Source code in src/tmdb_client_py/tv.py
1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 | |
images(**kwargs)
Get a TV network logos by id.
There are two image formats that are supported for networks, PNG's and SVG's. You can see which type the original file is by looking at the file_type field. We prefer SVG's as they are resolution independent and as such, the width and height are only there to reflect the original asset that was uploaded. An SVG can be scaled properly beyond those dimensions if you call them as a PNG.
For more information about how SVG's and PNG's can be used, take a read through https://developers.themoviedb.org/3/getting-started/images.
Returns:
| Type | Description |
|---|---|
|
A dict representation of the JSON returned from the API. |
Source code in src/tmdb_client_py/tv.py
1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 | |
info(**kwargs)
Get the details of a network.
Returns:
| Type | Description |
|---|---|
|
A dict representation of the JSON returned from the API. |
Source code in src/tmdb_client_py/tv.py
997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 | |