示例#1
0
def get_dva(battletag):
    """ Gather Dva Self-Destruct Stats"""

    dva = Overwatch(battletag=battletag, mode='quickplay', hero='dva',
                    filter='miscellaneous')
    results = dva.get_results()
    descr, stats = parse(results)

    for i in range(len(descr)):
        yield descr[i], stats[i]
示例#2
0
def get_hook(battletag):
    """ Gathers those mad hook stats"""

    roadhog = Overwatch(battletag=battletag, mode='quickplay', hero='roadhog',
                        filter='hero specific')
    results = roadhog.get_results()
    descr, stats = parse(results)

    for i in range(len(descr)):
        yield descr[i], stats[i]
示例#3
0
def most_played_comp(battletag):
    """ Gather the data for heroes most played in comp """

    play = Overwatch(battletag=battletag, mode='competitive', hero='all',
                     filter='played')
    results = play.get_results()
    descr, stats = parse(results)

    for i in range(len(descr)):
        yield descr[i], stats[i]
示例#4
0
def get_average_stats(battletag):
    """Gather average Overwatch Stats for Bastion Bot"""

    average = Overwatch(battletag=battletag, mode='quickplay',
                        filter='featured')
    results = average.get_results()
    descr, stats = parse(results)

    for i in range(len(descr)):
        yield descr[i], stats[i]
示例#5
0
def get_most_comp(battletag):
    """ Gather most in game/best competitive Overwatch stats """

    most = Overwatch(battletag=battletag, mode='competitive', hero='all',
                     filter='best')
    results = most.get_results()
    descr, stats = parse(results)

    for i in range(len(descr)):
        yield descr[i], stats[i]
示例#6
0
def get_average_comp(battletag):
    """ Gather average competitive Overwatch stats """

    average = Overwatch(battletag=battletag, mode='competitive',
                        filter='featured')
    results = average.get_results()
    descr, stats = parse(results)

    for i in range(len(descr)):
        yield descr[i], stats[i]
示例#7
0
def get_average_stats(battletag):
    """Gather average Overwatch Stats for Bastion Bot"""

    average = Overwatch(battletag=battletag,
                        mode='quickplay',
                        filter='featured')
    results = average.get_results()
    descr, stats = parse(results)

    for i in range(len(descr)):
        yield descr[i], stats[i]
示例#8
0
def get_average_comp(battletag):
    """ Gather average competitive Overwatch stats """

    average = Overwatch(battletag=battletag,
                        mode='competitive',
                        filter='featured')
    results = average.get_results()
    descr, stats = parse(results)

    for i in range(len(descr)):
        yield descr[i], stats[i]
示例#9
0
def get_hook(battletag):
    """ Gathers those mad hook stats"""

    roadhog = Overwatch(battletag=battletag,
                        mode='quickplay',
                        hero='roadhog',
                        filter='hero specific')
    results = roadhog.get_results()
    descr, stats = parse(results)

    for i in range(len(descr)):
        yield descr[i], stats[i]
示例#10
0
def most_played_comp(battletag):
    """ Gather the data for heroes most played in comp """

    play = Overwatch(battletag=battletag,
                     mode='competitive',
                     hero='all',
                     filter='played')
    results = play.get_results()
    descr, stats = parse(results)

    for i in range(len(descr)):
        yield descr[i], stats[i]
示例#11
0
def get_most_comp(battletag):
    """ Gather most in game/best competitive Overwatch stats """

    most = Overwatch(battletag=battletag,
                     mode='competitive',
                     hero='all',
                     filter='best')
    results = most.get_results()
    descr, stats = parse(results)

    for i in range(len(descr)):
        yield descr[i], stats[i]
示例#12
0
def get_dva(battletag):
    """ Gather Dva Self-Destruct Stats"""

    dva = Overwatch(battletag=battletag,
                    mode='quickplay',
                    hero='dva',
                    filter='miscellaneous')
    results = dva.get_results()
    descr, stats = parse(results)

    for i in range(len(descr)):
        yield descr[i], stats[i]