Skip to content

Commit

Permalink
Remove Match History API support
Browse files Browse the repository at this point in the history
  • Loading branch information
robrua committed Sep 22, 2015
1 parent 28b0520 commit a50a1c3
Show file tree
Hide file tree
Showing 11 changed files with 5 additions and 1,484 deletions.
1 change: 0 additions & 1 deletion cassiopeia/baseriotapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
from cassiopeia.dto.statusapi import *
from cassiopeia.dto.matchapi import *
from cassiopeia.dto.matchlistapi import *
from cassiopeia.dto.matchhistoryapi import *
from cassiopeia.dto.statsapi import *
from cassiopeia.dto.summonerapi import *
from cassiopeia.dto.teamapi import *
Expand Down
2 changes: 1 addition & 1 deletion cassiopeia/core/matchapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def get_matches(ids, include_timeline=True):
"""Gets a bunch of matches
ids list<int> | list<MatchReference> the IDs of or references to the matches to get
include_timeline bool whether to include timeline data in the returned match
include_timeline bool whether to include timeline data in the returned matches
return list<Match> the matches
"""
Expand Down
40 changes: 0 additions & 40 deletions cassiopeia/core/matchhistoryapi.py

This file was deleted.

25 changes: 0 additions & 25 deletions cassiopeia/dto/matchhistoryapi.py

This file was deleted.

1 change: 0 additions & 1 deletion cassiopeia/dto/requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"staticdata": "v1.2",
"status": "v1.0",
"match": "v2.2",
"matchhistory": "v2.2",
"matchlist": "v2.2",
"stats": "v1.3",
"summoner": "v1.4",
Expand Down
1 change: 0 additions & 1 deletion cassiopeia/riotapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
from cassiopeia.core.leagueapi import *
from cassiopeia.core.matchapi import *
from cassiopeia.core.matchlistapi import *
from cassiopeia.core.matchhistoryapi import *
from cassiopeia.core.staticdataapi import *
from cassiopeia.core.statusapi import *
from cassiopeia.core.statsapi import *
Expand Down
6 changes: 2 additions & 4 deletions cassiopeia/type/api/store.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,29 +256,27 @@ def _sa_bind_typesystem():
if(__sa_bound):
return

import cassiopeia.type.dto.champion, cassiopeia.type.dto.currentgame, cassiopeia.type.dto.featuredgames, cassiopeia.type.dto.game, cassiopeia.type.dto.league, cassiopeia.type.dto.match, cassiopeia.type.dto.matchhistory, cassiopeia.type.dto.matchlist, cassiopeia.type.dto.staticdata, cassiopeia.type.dto.stats, cassiopeia.type.dto.status, cassiopeia.type.dto.summoner, cassiopeia.type.dto.team
import cassiopeia.type.dto.champion, cassiopeia.type.dto.currentgame, cassiopeia.type.dto.featuredgames, cassiopeia.type.dto.game, cassiopeia.type.dto.league, cassiopeia.type.dto.match, cassiopeia.type.dto.matchlist, cassiopeia.type.dto.staticdata, cassiopeia.type.dto.stats, cassiopeia.type.dto.status, cassiopeia.type.dto.summoner, cassiopeia.type.dto.team
cassiopeia.type.dto.champion._sa_bind_all()
cassiopeia.type.dto.currentgame._sa_bind_all()
cassiopeia.type.dto.featuredgames._sa_bind_all()
cassiopeia.type.dto.game._sa_bind_all()
cassiopeia.type.dto.league._sa_bind_all()
cassiopeia.type.dto.match._sa_bind_all()
cassiopeia.type.dto.matchhistory._sa_bind_all()
cassiopeia.type.dto.matchlist._sa_bind_all()
cassiopeia.type.dto.staticdata._sa_bind_all()
cassiopeia.type.dto.stats._sa_bind_all()
cassiopeia.type.dto.status._sa_bind_all()
cassiopeia.type.dto.summoner._sa_bind_all()
cassiopeia.type.dto.team._sa_bind_all()

import cassiopeia.type.core.champion, cassiopeia.type.core.currentgame, cassiopeia.type.core.featuredgames, cassiopeia.type.core.game, cassiopeia.type.core.league, cassiopeia.type.core.match, cassiopeia.type.core.matchhistory, cassiopeia.type.core.matchlist, cassiopeia.type.core.staticdata, cassiopeia.type.core.stats, cassiopeia.type.core.status, cassiopeia.type.core.summoner, cassiopeia.type.core.team
import cassiopeia.type.core.champion, cassiopeia.type.core.currentgame, cassiopeia.type.core.featuredgames, cassiopeia.type.core.game, cassiopeia.type.core.league, cassiopeia.type.core.match, cassiopeia.type.core.matchlist, cassiopeia.type.core.staticdata, cassiopeia.type.core.stats, cassiopeia.type.core.status, cassiopeia.type.core.summoner, cassiopeia.type.core.team
cassiopeia.type.core.champion._sa_rebind_all()
cassiopeia.type.core.currentgame._sa_rebind_all()
cassiopeia.type.core.featuredgames._sa_rebind_all()
cassiopeia.type.core.game._sa_rebind_all()
cassiopeia.type.core.league._sa_rebind_all()
cassiopeia.type.core.match._sa_rebind_all()
cassiopeia.type.core.matchhistory._sa_rebind_all()
cassiopeia.type.core.matchlist._sa_rebind_all()
cassiopeia.type.core.staticdata._sa_rebind_all()
cassiopeia.type.core.stats._sa_rebind_all()
Expand Down
Loading

0 comments on commit a50a1c3

Please sign in to comment.