Last updated:
0 purchases
imdb
imdb #
Simple api to connect with tmdb services and get most popular movies and series, also search specifically for some title.
Features:
get the top 10 most popular Movies and Series.
Search for Movies and Series.
Getting Started #
Instructions #
IN PROGRESS
Go to [TMBD]https://developers.themoviedb.org/3 to create account and get Key to use service.
Open a command line and cd to your projects root folder
In your pubspec, add an entry for dart-imdb to your dependencies (example below)
pub install
Pubspec #
To install the package inside the pub file add dependencie.
dependencies:
imdb: 0.0.1
copied to clipboard
Example #
import 'package:imdb/imdb.dart';
var imdb = IMDB("your key");
FutureBuilder<List<Serie>>(
future: imdb.getTop10Series(),
builder: (context, snapshot) {
return snapshot.hasData
? ListView.builder(
scrollDirection: Axis.horizontal,
padding: const EdgeInsets.all(6.0),
itemCount: snapshot.data.length,
itemBuilder: (_, int position) {
final serie = snapshot.data[position];
return Text(series.originalName)
);
})
: Center(
child: CircularProgressIndicator(),
);
},
);
)
copied to clipboard
Release notes #
See CHANGELOG
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.