from accounts_api import Api api = Api.create( 'https://dhain.dev.spideroak.com:888/apis/accounts/v1/', 'ben12', 'bbb', ) from accounts_api import Api api = Api.create( 'https://bdzim.dev.spideroak.com:888/apis/accounts/v1/', 'ben12', 'bbb', ) from accounts_api import Api api = Api.create( 'https://bdzim.dev.spideroak.com/apis/accounts/v1/', 'remote_test_admin', 'w0mbat', )
def get_api(config): return Api.create(os.getenv('ACCOUNT_API_URL', 'https://spideroak.com/apis/accounts/v1/'), config['api_user'], config['api_password'],)
def get_api(config): return Api.create(config['api_root'], config['api_user'], config['api_password'],)
def get_api(config): return Api.create('https://spideroak.com/apis/accounts/v1/', config['api_user'], config['api_password'],)
def get_api(config): return Api.create( config['api_root'], config['api_user'], config['api_password'], )