You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For a project of mine I need the genres and the IMDB ID associated with movies. The API returns both, but bf.movies.search_by_name("Hackers")[0].genres just returns nil and bf.movies.search_by_name("Hackers")[0].alternate_ids throws a NoMethodError.
The text was updated successfully, but these errors were encountered:
@RoyalTS try using the .info on the end, like this bf.movies.search_by_name("Hackers")[0].info , it should contain all of the info you need. The way their api is structured you get a limited set of info back for a search, then you have to make a detailed call for for more info. I'll checkout if there is a way to get ALL of the information by passing a flag or something.
Not a bad idea at all, I have to make some changes anyway (looks like there are more cool features of their API) as well as write REAL documentation :) So I'll see what I can do with the dynamic methods.
For a project of mine I need the genres and the IMDB ID associated with movies. The API returns both, but bf.movies.search_by_name("Hackers")[0].genres just returns nil and bf.movies.search_by_name("Hackers")[0].alternate_ids throws a NoMethodError.
The text was updated successfully, but these errors were encountered: