tokens = get_refresh_token(code:str,app_secret:str)

def get_refresh_token(code, app_secret):
        "tokens = get_refresh_token(code:str,app_secret:str)"
        "tokens['access_token']"
        "tokens['username']"
        "tokens['refresh_token']"
        token_api = "https://steemconnect.com/api/oauth2/token?code={}&client_secret={}".format(code, app_secret)
        return requests.post(token_api).json()