Skip to content

Marcel-git666/OpenBank

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenBank

Overview

OpenBank is a SwiftUI-based iOS application that uses the Česká spořitelna Transparent Accounts API to fetch and display information about transparent bank accounts.

Features

  • Fetch and display a list of transparent accounts.
  • View details for a specific account.

API Adaptation

Due to the sandbox API limitations, all account details and transactions return identical data regardless of the accountNumber. To handle this:

  • Most account information (e.g., name, IBAN, balance) is directly sourced from AccountListViewModel, which contains preloaded data.
  • The description is fetched separately using TransactionViewModel to demonstrate how detailed information could be loaded in a real-world scenario.

This design highlights the flexibility of the architecture and ensures the app remains functional despite API limitations.

Best Experience

The application is best experienced on an iPad in landscape mode. The larger screen size and horizontal layout provide optimal usability and readability.

Setup

  1. Clone the repository:

    git clone https://github.com/your-username/OpenBank.git
    
  2. Add your Environment.swift file with the following content:

     struct Environment {
     		static let baseURL = "https://api.csas.cz/webapi/api/v3/transparentAccounts"
     		static let apiKey = "your_api_key"
     }
    
    

Credits

The NetworkManager implementation is inspired by Gökhan Varış's article on Medium.

About

SwiftUI based Transaparent Account API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages