0

Is there a list of keywords that can be used?

I.e.: in the examples in the docs, it has print item['long imdb canonical title'], item.movieID

Where is a list of the keywords for indexes in the data (like "['long imdb canonical title']") and a list of attributes (like ".movieID")?

ZuluDeltaNiner
  • 725
  • 2
  • 11
  • 27

1 Answers1

1

The IMDbPY objects emulate the behavior of dictionaries, so you can get the list of its keys with: item.keys() and introspect it to get its attributes: dir(item)

Davide Alberani
  • 1,061
  • 1
  • 18
  • 28