apiverve_filmography 1.2.7
apiverve_filmography: ^1.2.7 copied to clipboard
Filmography returns the films a person worked on, newest first, from their name or Wikidata id: each film's title, year and the person's roles in it, such as director and writer. Filter by role to get [...]
Filmography API - Dart/Flutter Client #
Filmography returns the films a person worked on, newest first, from their name or Wikidata id: each film's title, year and the person's roles in it, such as director and writer. Filter by role to get only the films someone directed or acted in. When several people share a name, the best-known comes first and the others are listed with a film they are known for. Covers the cast and crew of about 450,000 films.
This is the Dart/Flutter client for the Filmography API.
Installation #
Add this to your pubspec.yaml:
dependencies:
apiverve_filmography: ^1.2.7
Then run:
dart pub get
# or for Flutter
flutter pub get
Usage #
import 'package:apiverve_filmography/apiverve_filmography.dart';
void main() async {
final client = FilmographyClient('YOUR_API_KEY');
try {
final response = await client.execute({
'name': 'Christopher Nolan',
'id': 'Q25191',
'role': 'any',
'limit': 10
});
print('Status: ${response.status}');
print('Data: ${response.data}');
} catch (e) {
print('Error: $e');
}
}
Response #
{
"status": "ok",
"error": null,
"data": {
"name": "Christopher Nolan",
"id": "Q25191",
"role": "any",
"count": 10,
"filmsTotal": 21,
"roles": {
"director": 17,
"writer": 15,
"producer": 13,
"actor": 3,
"cinematographer": 3,
"editor": 1
},
"films": [
{
"title": "The Odyssey",
"year": 2026,
"roles": [
"director",
"writer",
"producer"
],
"id": "Q131547207"
},
{
"title": "Oppenheimer",
"year": 2023,
"roles": [
"director",
"writer",
"producer"
],
"id": "Q108839994"
},
{
"title": "Tenet",
"year": 2020,
"roles": [
"director",
"writer",
"producer"
],
"id": "Q63985561"
},
{
"title": "Dunkirk",
"year": 2017,
"roles": [
"director",
"writer",
"producer"
],
"id": "Q21935651"
},
{
"title": "Behind the Scenes",
"year": 2017,
"roles": [
"actor"
],
"id": "Q108257926"
},
{
"title": "Quay",
"year": 2015,
"roles": [
"director"
],
"id": "Q21869743"
},
{
"title": "Interstellar",
"year": 2014,
"roles": [
"director",
"writer",
"producer"
],
"id": "Q13417189"
},
{
"title": "Transcendence",
"year": 2014,
"roles": [
"producer"
],
"id": "Q10384115"
},
{
"title": "Man of Steel",
"year": 2013,
"roles": [
"writer",
"producer"
],
"id": "Q622769"
},
{
"title": "The Dark Knight Rises",
"year": 2012,
"roles": [
"director",
"writer",
"producer"
],
"id": "Q189330"
}
],
"otherMatches": [],
"dataAsOf": "2026-11-22"
}
}
API Reference #
- API Home: Filmography API
- Documentation: docs.apiverve.com/ref/filmography
Authentication #
All requests require an API key. Get yours at apiverve.com.
License #
MIT License - see LICENSE for details.
Built with Dart for APIVerve