Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Using Exampe Procided: No JSON object could be decoded #4

Open
DrIanGregory opened this issue May 31, 2015 · 0 comments
Open

Comments

@DrIanGregory
Copy link

Hello,
Windows 7, Python 2.7.10.
I executed provided example (below).
Error response:
"No JSON object could be decoded".

Full message:

Traceback (most recent call last):
File "", line 1, in
File "C:\Python27\lib\site-packages\fanart\core.py", line 44, in response
raise ResponseFanartError(str(e))
ResponseFanartError: No JSON object could be decoded

regards,
Ian.

from fanart.core import Request
import fanart
request = Request(
    apikey='I PUT A KEY IN HERE',
    id='24e1b53c-3085-4581-8472-0b0088d2508c',
    ws=fanart.WS.MUSIC,
    type=fanart.TYPE.ALL,
    sort=fanart.SORT.POPULAR,
    limit=fanart.LIMIT.ALL,
)
print request.response()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant