Freebase - get Movies AND TV Shows by Artist -
Freebase - get Movies AND TV Shows by Artist -
i doing this:
var que = '[{\ "id": "' + id.id + '",\ "name": null,\ "/film/actor/film": [{\ "film": null,\ "id": null,\ "character": null,\ }]\ }]'; var json = json.stringify(eval("(" + que + ")")); var films = new array(); var url2 = 'https://www.googleapis.com/freebase/v1/mqlread?query=' + json; $.getjson(url2,function(data){ films = data.result[0]["/film/actor/film"]; (x=0; x<films.length;x++){ var title = films[x].film; var id = films[x].id; $("#movies").text($("#movies").text() + title + ","); } })
and works fine far, when check result, includes movies actor or actress performed in, how can include or request tv shows well?
include necessary types , properties tv shows , tv actors, in add-on cinema actor properties have included now.
freebase
Comments
Post a Comment