'Create a Twilio API client.'

def __init__(self, account=None, token=None, base='https://api.twilio.com', version='2010-04-01', timeout=UNSET_TIMEOUT, request_account=None):

    if ((not account) or (not token)):
        (account, token) = find_credentials()
        if ((not account) or (not token)):
            raise TwilioException('\nTwilio    could    not    find    your    account    credentials.    Pass    them    into    the\nTwilioRestClient    constructor    like    this:\n\n                client    =    TwilioRestClient(account=\'AC38135355602040856210245275870\',\n                                                                                                                        token=\'2flnf5tdp7so0lmfdu3d\')\n\nOr,    add    your    credentials    to    your    shell    environment.    From    the    terminal,    run\n\n                echo    "export    TWILIO_ACCOUNT_SID=AC3813535560204085626521"    >>    ~/.bashrc\n                echo    "export    TWILIO_AUTH_TOKEN=2flnf5tdp7so0lmfdu3d7wod"    >>    ~/.bashrc\n\nand    be    sure    to    replace    the    values    for    the    Account    SID    and    auth    token    with    the\nvalues    from    your    Twilio    Account    at    https://www.twilio.com/user/account.\n')
    self.base = base
    self.auth = (account, token)
    self.timeout = timeout
    req_account = (request_account if request_account else account)
    self.account_uri = '{0}/{1}/Accounts/{2}'.format(base, version, req_account)
