dgilland / omdb.py

Python wrapper around OMDb API (Open Movie Database): http://omdbapi.com
http://omdbpy.readthedocs.org
Other
98 stars 23 forks source link

API_KEY is not defined #16

Closed lijhong closed 7 years ago

lijhong commented 7 years ago

when I follow the demo to use omdbapi ,but I get a error like this:

In [17]: from omdb import Client ...: In [18]: client = Client(apikey=API_KEY)

NameError Traceback (most recent call last)

in () ----> 1 client = Client(apikey=API_KEY) NameError: name 'API_KEY' is not defined what should I do fix it? thanks a lot.
dgilland commented 7 years ago

You need to specify the value of API_KEY using your OMDb API Key.