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

Is this broken? #6

Open
leeclemmer opened this issue Dec 16, 2014 · 4 comments
Open

Is this broken? #6

leeclemmer opened this issue Dec 16, 2014 · 4 comments

Comments

@leeclemmer
Copy link

Hi there, I've installed and am trying to use pycomicvine, but it seems completely broken.

>>> import pycomicvine
>>> pycomicvine.api_key = "[my api key]"
>>> pycomicvine.Volume.search("The Walking Dead")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: type object 'Volume' has no attribute 'search'
>>> pycomicvine.Search("Avengers", field_list=['name','id'])
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "pycomicvine/__init__.py", line 451, in __repr__
    for element in self:
  File "pycomicvine/__init__.py", line 433, in __iter__
    yield self[index]
  File "pycomicvine/__init__.py", line 417, in __getitem__
    if isinstance(self._results[index], list):
IndexError: list index out of range

Any idea what's going on?

@miri64
Copy link
Owner

miri64 commented Dec 16, 2014

Yes, the API seems to be changing a lot. I do not however currently have any time to work on this. Will look into it, when I have.

@miri64
Copy link
Owner

miri64 commented Dec 16, 2014

Alternatively, you're welcome to open a PR to fix that. I'll find some time to review that :-)

@leeclemmer
Copy link
Author

Ok, thanks Martine I'll see if I can find some time myself to look at it :)

@PaolaSocorro
Copy link

No one has a fix for this yet? I wanted to use for my project :/

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

3 participants