Skip to content

Commit 265f7ea

Browse files
committed
remove v2 references - discontinued Feb. 14, 2017
1 parent dcfd921 commit 265f7ea

2 files changed

Lines changed: 0 additions & 8 deletions

File tree

resources/lib/twitch/api/v2/__init__.py

Lines changed: 0 additions & 2 deletions
This file was deleted.

resources/lib/twitch/queries.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
_hidden_baseurl = 'https://api.twitch.tv/api/'
1212
_usher_baseurl = 'https://usher.ttvnw.net/'
1313

14-
_v2_headers = {'ACCEPT': 'application/vnd.twitchtv.v2+json'}
1514
_v3_headers = {'ACCEPT': 'application/vnd.twitchtv.v3+json'}
1615
_v5_headers = {'ACCEPT': 'application/vnd.twitchtv.v5+json'}
1716

@@ -132,11 +131,6 @@ def __init__(self, path, method='GET'):
132131
super(V3Query, self).__init__(path, _v3_headers, method=method)
133132

134133

135-
class V2Query(ApiQuery):
136-
def __init__(self, path, method='GET'):
137-
super(V2Query, self).__init__(path, _v2_headers, method=method)
138-
139-
140134
def assert_new(d, k):
141135
if k in d:
142136
v = d.get(k)

0 commit comments

Comments
 (0)