tmdb_api 0.3.1-alpha copy "tmdb_api: ^0.3.1-alpha" to clipboard
tmdb_api: ^0.3.1-alpha 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 #

  • Movies
  • Tv shows
  • Tv Seasons
  • Tv Episodes
  • People
  • Credits
  • Certification
  • Changes
  • Collections
  • Find
  • Genres
  • Keywords
  • Companies
  • Trending
  • Search
  • Discover
  • Networks
  • Reviews
  • Versions

v4 #

More will be added soon


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

48
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

flutter, http

More

Packages that depend on tmdb_api