Closed 0x-cygnet closed 8 years ago
The specification of imdb_id
in the Search Item
and Get Item
sections is referring to the output data's field name. Whereas the input parameter to the API methods is imdbid
. Admittedly, this is not as clear as it could be in the docs.
Also it makes sense to have the input parameter match the output field if possible. So I could make the following changes:
imdbid
as imdb_id
Thoughts?
After looking over the repository docs a little more I think it just needs to be a little clearer. I was confused by the Get Item Fields section since I have been using the wrapper as such:
omdbSearch = omdb.get(imdb=ttId) ombdYear = omdb.Search.year etc
Per official documentation found: https://media.readthedocs.org/pdf/omdbpy/latest/omdbpy.pdf imdb_id field is incorrect in "Search Item" and "Get Item" documentation on GitHub. After some troubleshooting I found that omdb.get(imdbid='tt0043456') does work.