client = SantanderApiClient(SantanderClientConfiguration(
client_id="client_id",
client_secret="client_pk",
cert="certificate_path",
base_url="api_url",
workspace_id="optional"
))
I understand why we're using a class for client configuration, but this raises the complexity level to use the SDK.
The ideal for an open source project is to be simple and not make the user think too much, e.g.
Need to integrate with XXX, how do I do it? client = ClientClass(... params)
Internally we can use the configuration class, but we shouldn't outsource this to the user.
proposal
client = SantanderApiClient(
client_id="client_id",
client_secret="client_pk",
cert="certificate_path",
base_url="api_url",
workspace_id="optional"
)