<gh_stars>0
# -*- coding: utf-8 -*-

def valid(response):
    return response.status_code == 200

def base():
    return "https://api.twitch.tv/kraken"

def topgames():
    return base() + "/games/top"

def game():
    return base() + "/streams"

def auth():
    return base() + "/oauth2/authorize"


# -*- coding: utf-8 -*-

def valid(response):
    return response.status_code == 200

def base():
    return "https://api.twitch.tv/kraken"

def topgames():
    return base() + "/games/top"

def game():
    return base() + "/streams"

def auth():
    return base() + "/oauth2/authorize"
# -*- coding: utf-8 -*-