def TokenClient(
    domain,
    token,
    user_agent=None,
    request_encoder=default_request_encoder,
    response_decoder=default_response_decoder,
):
    
    return AuthorizingClient(
        domain,
        transport.TokenAuthorization(token),
        request_encoder,
        response_decoder,
        user_agent=user_agent
    )
Creates a Freshbooks client for a freshbooks domain, using
dataset/ETHPy150Open freshbooks/refreshbooks/refreshbooks/api.py/TokenClient