We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/NBWolfer/mcpOpenbankingMCPServer'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
bank_api_client.cpython-311.pyc•11.9 KiB
�
Q�|hx � � � d Z ddlZddlZddlZddlmZmZmZmZ ddl m
Z
ej e� � Z
G d� d� � ZdS )z@
Bank API Client for fetching customer data from dummy bank API
� N)�Dict�Any�Optional�List)�
BankApiConfigc �h � e Zd ZdZdefd�Z ddededeeee f d eee f fd
�Z
ded eee f fd�Zded eee f fd
�Zddede
d eee f fd�Zded eee f fd�Zddeee d eee f fd�Zded eee f fd�Zded eee f fd�ZdS )�
BankApiClientz0Client for communicating with the dummy bank API�configc �t � || _ |j | _ |j | _ |j | _ |j | _ d S �N)r
�base_url�timeout�api_key� endpoints)�selfr
s �JC:\Users\Enes\Desktop\mcpOpenbankingMCPServer\src\utils\bank_api_client.py�__init__zBankApiClient.__init__ s2 � �������
��~����~����)����� �GETN�endpoint�method�data�returnc � � K � ddd�}| j r
d| j � �|d<