TMDB class
TMDB.org API
Usage
Core instance to make API calls
To register for an API key, visitπ
Parameters
-
apiKeys
(Positioned:1) : this must not be nullApiKeys
-
logConfig
(optional) : want some console logs from tmdb_api than provide aConfigLogger
.default:false
Example
TMDB tmdb = TMDB(
ApiKeys('Your v3 API KEY', 'Your v4 API ReadAccessToken'),//pass your api keys
logConfig: ConfigLogger.showAll(),//configure your console logs settings
);
For issues,feature request create a issue in Git repoπ
Constructors
- TMDB.new(ApiKeys apiKeys, {ConfigLogger logConfig = const ConfigLogger.showNone(), Dio? dio, Interceptors? interceptors, String defaultLanguage = 'en-US'})
- Creates a instance of TMDB client.
Properties
- defaultLanguage β String
-
final
- hashCode β int
-
The hash code for this object.
no setterinherited
- images β Images
-
no setter
- runtimeType β Type
-
A representation of the runtime type of the object.
no setterinherited
- v3 β V3
-
Version v3 of tmdb api
no setter
- v4 β V4
-
Version v4 of tmdb api
no setter
Methods
-
close(
{bool force = false}) β void - Closes dio client
-
noSuchMethod(
Invocation invocation) β dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) β String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) β bool -
The equality operator.
inherited