Skip to content

No longer functions #334

Description

@zeshinsei

I assume this is related to v3 being replaced. Will this be updated to support the current API?

>>> twitch.api.v3.streams.all(game='Final Fantasy XIV')
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/twitch/queries.py", line 64, in execute
    return f(self.url, self.params, self.headers)
  File "/usr/local/lib/python3.6/site-packages/twitch/scraper.py", line 26, in get_json
    jsonString = download(baseurl, parameters, headers)
  File "/usr/local/lib/python3.6/site-packages/twitch/scraper.py", line 59, in download
    raise
RuntimeError: No active exception to reraise

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.6/site-packages/twitch/queries.py", line 127, in wrapper
    return qry.execute()
  File "/usr/local/lib/python3.6/site-packages/twitch/queries.py", line 78, in execute
    return super(JsonQuery, self).execute(get_json)
  File "/usr/local/lib/python3.6/site-packages/twitch/queries.py", line 66, in execute
    raise ResourceUnavailableException(str(self))
twitch.exceptions.ResourceUnavailableException: Query to https://api.twitch.tv/kraken/streams, params {'game': 'Final Fantasy XIV'}, headers {'ACCEPT': 'application/vnd.twitchtv.v3+json', 'Client-Id': 'removed'}

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