tmdb_api 1.0.1-stable copy "tmdb_api: ^1.0.1-stable" to clipboard
tmdb_api: ^1.0.1-stable copied to clipboard

outdated

Dart client-side API package for TMDB.org API (https://www.themoviedb.org/).

Dart pub analyser pub package

tmdb_api #

A Dart client-side API package for TMDB API. To know more visit TMDB

Avaliable features #

v3( 🎊✨ Completed 🎉🎉) #

Supports all the functions of version 3 of tmdb API
- [X] Auth
- [X] Account
- [X] Guest Sessions
- [x] Movies
- [x] Tv shows
- [x] Tv Seasons
- [x] Tv Episodes 
- [X] People
- [X] Credits
- [X] Certification
- [X] Changes
- [X] Collections
- [X] Find
- [X] Genres
- [X] Keywords
- [X] Companies
- [X] Trending
- [X] Search
- [X] Discover
- [X] Networks
- [X] Reviews
- [X] Versions
- [X] Lists

v4(🎊✨ Completed 🎉🎉) #

- [X] Image URL Constructor
- [X] auth
- [X] account
- [X] lists

v5(is currently in beta) #

More will be added soon


Version 1.0.1-stable #

Getting Started for ( package >= v1.0.0-beta.1 ) #

🎉Now This package supports both v3 and v4 of TMDB API

There were some changes to the internal code structure, this changes may break your app. This changes were made so that it will be easy to migrate to newer versions of TMDB API.


1) Import package #

//import package
import 'package:tmdb_api/tmdb_api.dart';

2) Create a instance of ApiKeys and TMDB class #

//create a instance of ApiKeys with V3 and V4 keys
ApiKeys keys = ApiKeys('Your API KEY V3', 'API READ ACCESS TOKEN V4');

//create a instance of TMDB with keys instance
TMDB tmdb = TMDB(keys);

You can get your API key from themoviedb.org API

3) Thats all it takes, now you can access all the features avaliable using tmdb instance. #

Example #

1.0.0 and after #

For getting Trending movies

Map result = await tmdb.v3.trending.getTrending(mediaType = MediaType.all,timeWindow = TimeWindow.day);


Version 0.3.1-alpha #

Getting Started for (package >= v0.3.1-alpha) #

There were some changes to the internal code structure, this changes may break your app. This changes were made so that it will be easy to migrate to newer versions of TMDB API.


1) Import package #

//import package
import 'package:tmdb_api/tmdb_api.dart';

2) Create a instance of TMDB class #

//create a instance of TMDB
TMDB tmdb =TMDB('YOUR API KEY HERE');

You can get your API key from themoviedb.org API

3) Thats all it takes now you can access all the features avaliable using tmdb instance. #

Example #

0.3.1 and after #

For getting Trending movies

Map result = await tmdb.v3.trending.getTrending(mediaType = MediaType.all,timeWindow = TimeWindow.day);

Change : ...tmdb.v3.get...

0.2.1 and before #

For getting Trending movies

//get results

Map result = await tmdb.trending.getTrending(mediaType = MediaType.all,timeWindow = TimeWindow.day);


Getting Started for (package <= v0.2.1-alpha) #

1) Import package #

//import package
import 'package:tmdb_api/tmdb_api.dart';

2) Create a instance of TMDB class #

//create a instance of TMDB
TMDB tmdb =TMDB('YOUR API KEY HERE');

You can get your API key from themoviedb.org API

3) Thats all it takes now you can access all the features avaliable using tmdb instance. #

Example #

For getting Trending movies

//get results
Map result = await tmdb.trending.getTrending(mediaType = MediaType.all,timeWindow = TimeWindow.day);

For more documentation #

visit TMDB

51
likes
0
pub points
88%
popularity

Publisher

verified publisherratakondalaarun.dev

Dart client-side API package for TMDB.org API (https://www.themoviedb.org/).

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

http

More

Packages that depend on tmdb_api