I would like to use the themoviedb API with typeahead (BootStrap framework), but i was blocked for using the API...
I have this code :
http://jsfiddle.net/koff75/uAXtd/
It will return in my console the JSON format, but i don't understand the typeahead integration... But, I follow this examples http://twitter.github.io/typeahead.js/examples/ whithout idea
It seems to be like this ?
$('.example-films .typeahead').typeahead([
{
name: 'best-picture-winners',
remote: '../data/films/queries/%QUERY.json',
prefetch: '../data/films/post_1960.json',
template: '<p><strong>{{value}}</strong> – {{year}}</p>',
engine: Hogan
}
]);
Thanks for your help... :)