Skip to content
This repository was archived by the owner on Dec 24, 2020. It is now read-only.
This repository was archived by the owner on Dec 24, 2020. It is now read-only.

Not retrieving information #6

Description

@tobymanders

Can't get package to work in Python 3.7.2. Immediately after installing with PIP, I execute:

>>> from overwatch import Overwatch
>>> overwatch = Overwatch(battletag="Okush#11324")
>>> print(overwatch.playtime)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\Toby-PC\Anaconda3\lib\site-packages\overwatch\__init__.py", line 80, in playtime
    return self._generate_comparisons(compare['playtime'])
  File "C:\Users\Toby-PC\Anaconda3\lib\site-packages\overwatch\__init__.py", line 75, in _generate_comparisons
    comparison = data[self.mode]
IndexError: list index out of range

None of the methods of the overwatch object seems to work. I've also tried this with multiple different battletags.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions