Получите список Нигерийских банков в Python, используя Paystack

access_token='You paystack secret_key here'
get_bank_info = requests.get('https://api.paystack.co/bank',
headers={'Content-Type': 'application/json', 'Authorization': f'Bearer {access_token}'})
result = get_bank_info.json().get('data')
seller = []
for i in result:
    se, ce = i.get('name',), i.get('code')
    choice = (se, ce)
    seller.append(choice)
print(seller, len(seller))
Elias Imokhai