All Projects → khasanovbi → banksdb

khasanovbi / banksdb

Licence: MIT license
No description or website provided.

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to banksdb

bank.logo
bank.logo
Stars: ✭ 26 (+100%)
Mutual labels:  bank, bank-card
billing-form
Demo page for user-friendly billing form features
Stars: ✭ 23 (+76.92%)
Mutual labels:  bank-card, banks-db
py-persian-tools
An anthology of a variety of tools for the Persian language in Python
Stars: ✭ 106 (+715.38%)
Mutual labels:  bank, card-number
bank2ynab
Easily convert and import your bank's statements into YNAB. This project consolidates other conversion efforts into one universal tool.
Stars: ✭ 197 (+1415.38%)
Mutual labels:  bank
FormatEditText
格式化输入框,可用来格式化数字、金额、号码等; FormatEditText can be used as a formatted text input box
Stars: ✭ 121 (+830.77%)
Mutual labels:  card-number
mt940-rs
A MT940 parser in Rust
Stars: ✭ 19 (+46.15%)
Mutual labels:  bank
Subbranch-China
银行、支行名称。中国各地区各银行支行名称数据爬虫,数据来源微信商户平台,已经整理可直接导入的sql文件
Stars: ✭ 31 (+138.46%)
Mutual labels:  bank
Boleto Api
API for register and generate "Boletos"
Stars: ✭ 222 (+1607.69%)
Mutual labels:  bank
gb banking
FiveM Extended Banking Script
Stars: ✭ 14 (+7.69%)
Mutual labels:  bank
pyitau
Unofficial client to access your Itaú bank data
Stars: ✭ 28 (+115.38%)
Mutual labels:  bank
Tools RosBag2KITTI
Conversion from ROSBAG (.bag) to image (.png) and points cloud (.bin), including ROSBAG decoding, pcd2bin and file directory extraction.
Stars: ✭ 131 (+907.69%)
Mutual labels:  bin
latinum
Latinum is a framework for resource and currency calculations.
Stars: ✭ 109 (+738.46%)
Mutual labels:  bank
rectangle-pack
A general purpose, deterministic bin packer designed to conform to any two or three dimensional use case.
Stars: ✭ 60 (+361.54%)
Mutual labels:  bin
turkish banks
All Turkish Banks and Their Branches
Stars: ✭ 28 (+115.38%)
Mutual labels:  bank
smart-cnab
A package for general manipulation of CNAB files, generation of remittances and parsing of returns using a normalized fields structure.
Stars: ✭ 11 (-15.38%)
Mutual labels:  bank
wc-moldovaagroindbank
WooCommerce maib Moldova Agroindbank Payment Gateway
Stars: ✭ 13 (+0%)
Mutual labels:  bank
Bank interview
🏦 银行笔试面试经验分享及资料分享(help you pass the bank interview, and get a amazing bank offer!)
Stars: ✭ 3,308 (+25346.15%)
Mutual labels:  bank
yii2-bankcard-info
银行卡卡号分析(Yii2扩展)
Stars: ✭ 15 (+15.38%)
Mutual labels:  bank
doc
The bunq API documentation
Stars: ✭ 18 (+38.46%)
Mutual labels:  bank-card
promptpay
Thai QR PromptPay Generator
Stars: ✭ 24 (+84.62%)
Mutual labels:  bank

Banks DB

Build Status Go Reference Go Report Card Release codecov

Community driven database to get bank info (name, brand, color, etc.) by bankcard prefix (BIN)

This is golang port of ramoona's banks-db.

Install

go get -u github.com/khasanovbi/banksdb

Usage

Below is an example which shows some common use cases for banksdb:

package main

import (
	"fmt"

	"github.com/khasanovbi/banksdb/v2"
	"github.com/khasanovbi/banksdb/v2/paymentsystem"
)

func main() {
	for _, creditCard := range []string{"5275940000000000", "4111111111111111"} {
		bank := banksdb.FindBank(creditCard)
		paymentSystem := paymentsystem.FindPaymentSystem(creditCard)
		fmt.Printf("CreditCard: %s\n", creditCard)
		fmt.Printf("Bank info: %#v\n", bank)
		if paymentSystem != nil {
			fmt.Printf("Payment system: %s\n", *paymentSystem)
		}
		fmt.Println()
	}
}

Output:

CreditCard: 5275940000000000
Bank info: &banksdb.Bank{Name:"citibank", Country:"ru", LocalTitle:"Ситибанк", EngTitle:"Citibank", URL:"https://www.citibank.ru/", Color:"#0088cf", Prefixes:[]int{419349, 427760, 427761, 520306, 527594}}
Payment system: MasterCard

CreditCard: 4111111111111111
Bank info: (*banksdb.Bank)(nil)
Payment system: Visa
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].