# Path: steamapi/steamapikey.py

# 
# Path: reddit/botinfo.py



import requests, time
from steamapi.steamapikey import SteamAPIKey
from reddit.botinfo import message
#message = True

def requestGetMatchHistory(playerID, amount=100, heroID=None, gameModeID=None, tournamentGamesOnly=False):
    if message: print('[getmatchhistory] Getting matchhistory of player id: %s' %playerID)

    start_at_match_id = 0
    results_remaining = True
    matches = []

    while(results_remaining and amount-len(matches) > 0):



        response = {}
        attempt = 0

        while response == {}:


# Path: steamapi/steamapikey.py

# 
# Path: reddit/botinfo.py



# Path: steamapi/getmatchhistory.py
import requests, time
from steamapi.steamapikey import SteamAPIKey
from reddit.botinfo import message

#message = True

def requestGetMatchHistory(playerID, amount=100, heroID=None, gameModeID=None, tournamentGamesOnly=False):
    if message: print('[getmatchhistory] Getting matchhistory of player id: %s' %playerID)

    start_at_match_id = 0
    results_remaining = True
    matches = []

    while(results_remaining and amount-len(matches) > 0):



        response = {}
        attempt = 0

        while response == {}:


            url = "https://api.steampowered.com/idota2match_570/getmatchhistory/v001/?key=" + SteamAPIKey + "&account_id=" \