@@ -11,47 +11,76 @@ pip install codat-bankfeeds
1111## SDK Example Usage
1212<!-- Start SDK Example Usage -->
1313``` python
14- import codat
15- from codat .models import operations, shared
14+ import bankfeeds
15+ from bankfeeds .models import operations, shared
1616
17- s = codat.Codat (
17+ s = bankfeeds.BankFeeds (
1818 security = shared.Security(
1919 auth_header = " YOUR_API_KEY_HERE" ,
2020 ),
2121)
2222
2323
24- req = operations.GetBankAccountPushOptionsRequest(
25- account_id = " unde" ,
26- company_id = " deserunt" ,
27- connection_id = " porro" ,
28- order_by = " nulla" ,
29- page = 6027.63 ,
30- page_size = 8579.46 ,
31- query = " perspiciatis" ,
24+ req = operations.CreateBankFeedRequest(
25+ request_body = [
26+ operations.CreateBankFeedBankFeedBankAccount(
27+ account_name = " deserunt" ,
28+ account_number = " porro" ,
29+ account_type = " Debit" ,
30+ balance = 6027.63 ,
31+ currency = " vero" ,
32+ feed_start_date = " 2022-08-29T22:24:53.491Z" ,
33+ id = " nulla" ,
34+ modified_date = " 2022-10-13T04:22:31.580Z" ,
35+ sort_code = " fuga" ,
36+ status = " facilis" ,
37+ ),
38+ operations.CreateBankFeedBankFeedBankAccount(
39+ account_name = " eum" ,
40+ account_number = " iusto" ,
41+ account_type = " Unknown" ,
42+ balance = 8917.73 ,
43+ currency = " inventore" ,
44+ feed_start_date = " 2022-03-30T01:54:20.865Z" ,
45+ id = " enim" ,
46+ modified_date = " 2022-10-27T20:38:37.396Z" ,
47+ sort_code = " voluptatum" ,
48+ status = " autem" ,
49+ ),
50+ operations.CreateBankFeedBankFeedBankAccount(
51+ account_name = " vel" ,
52+ account_number = " non" ,
53+ account_type = " Credit" ,
54+ balance = 5680.45 ,
55+ currency = " reprehenderit" ,
56+ feed_start_date = " 2022-04-12T23:21:54.329Z" ,
57+ id = " quo" ,
58+ modified_date = " 2023-02-18T21:18:55.753Z" ,
59+ sort_code = " laboriosam" ,
60+ status = " dicta" ,
61+ ),
62+ ],
63+ company_id = " est" ,
64+ connection_id = " voluptatem" ,
3265)
3366
34- res = s.bank_account_transactions.get_bank_account_push_options (req)
67+ res = s.create_bank_feed (req)
3568
36- if res.push_option is not None :
69+ if res.bank_feed_bank_accounts is not None :
3770 # handle response
3871```
3972<!-- End SDK Example Usage -->
4073
4174<!-- Start SDK Available Operations -->
4275## SDK Available Operations
4376
77+ ### BankFeeds SDK
4478
45- ### bank_account_transactions
46-
79+ * ` create_bank_feed ` - Create bank feed bank accounts
4780* ` get_bank_account_push_options ` - List push options for bank account bank transactions
81+ * ` get_bank_feeds ` - List bank feed bank accounts
4882* ` list_bank_account_transactions ` - List bank transactions for bank account
4983* ` post_bank_transactions ` - Create bank transactions
50-
51- ### bank_feed_accounts
52-
53- * ` create_bank_feed ` - Create bank feed bank accounts
54- * ` get_bank_feeds ` - List bank feed bank accounts
5584* ` update_bank_feed ` - Update bank feed bank account
5685<!-- End SDK Available Operations -->
5786
0 commit comments