You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT."""
2
2
3
3
importrequestsasrequests_http
4
-
from . importutils
5
4
from .account_balancesimportAccountBalances
6
5
from .accountsimportAccounts
6
+
from .sdkconfigurationimportSDKConfiguration
7
7
from .transaction_categoriesimportTransactionCategories
8
8
from .transactionsimportTransactions
9
+
fromcodatbankingimportutils
9
10
fromcodatbanking.modelsimportshared
10
11
11
-
SERVERS= [
12
-
"https://api.codat.io",
13
-
r"""Production"""
14
-
]
15
-
"""Contains the list of servers available to the SDK"""
16
-
17
12
classCodatBanking:
18
-
r"""Codat's standardized API for accessing banking data.
13
+
r"""Banking API: Codat's standardized API for accessing banking data.
19
14
Codat's Banking API allows you to access standardised data from over bank accounts via third party providers.
20
15
21
16
Standardize how you connect to your customers’ bank accounts. Retrieve bank account and bank transaction data in the same way via our partnerships with Plaid and TrueLayer.
@@ -33,15 +28,11 @@ class CodatBanking:
33
28
transactions: Transactions
34
29
r"""An immutable source of up-to-date information on income and expenditure."""
35
30
36
-
_client: requests_http.Session
37
-
_security_client: requests_http.Session
38
-
_server_url: str=SERVERS[0]
39
-
_language: str="python"
40
-
_sdk_version: str="0.16.1"
41
-
_gen_version: str="2.34.7"
31
+
sdk_configuration: SDKConfiguration
42
32
43
33
def__init__(self,
44
34
security: shared.Security=None,
35
+
server_idx: int=None,
45
36
server_url: str=None,
46
37
url_params: dict[str, str] =None,
47
38
client: requests_http.Session=None
@@ -50,65 +41,31 @@ def __init__(self,
50
41
51
42
:param security: The security details required for authentication
52
43
:type security: shared.Security
44
+
:param server_idx: The index of the server to use for all operations
45
+
:type server_idx: int
53
46
:param server_url: The server URL to use for all operations
54
47
:type server_url: str
55
48
:param url_params: Parameters to optionally template the server URL with
56
49
:type url_params: dict[str, str]
57
50
:param client: The requests.Session HTTP client to use for all operations
0 commit comments