digglife / Cnbankcard
🏦 由银行卡卡号解析出发卡行和卡别,适用于中国国内多数银行,返回JSON数据。
Stars: ✭ 853
Programming Languages
python
139335 projects - #7 most used programming language
Projects that are alternatives of or similar to Cnbankcard
N26
💳 Un-official node.js module for interact with your N26 (previously Number26) account
Stars: ✭ 128 (-84.99%)
Mutual labels: api, bank
N26
API and CLI to get information of your N26 account
Stars: ✭ 107 (-87.46%)
Mutual labels: api, bank
Python N26
💵 Unofficial Python client for n26 (Number 26) - https://n26.com/
Stars: ✭ 116 (-86.4%)
Mutual labels: api, bank
bocfx
中国银行外汇牌价爬虫 / API (Bank of China - Foreign Exchange - Spider/ API)
Stars: ✭ 30 (-96.48%)
Mutual labels: bank, china
Homer Api
HOMER 5: Back-End (API) DEPRICATED - use sipcapture/homer-app
Stars: ✭ 26 (-96.95%)
Mutual labels: api
Trumail
✉️ ✅ A Fast and Free Email Verification API written in Go
Stars: ✭ 937 (+9.85%)
Mutual labels: api
Offit
Simple but powerful API mocking library. Make mocks great again.
Stars: ✭ 25 (-97.07%)
Mutual labels: api
Social Listener
Python project used to collect tweets and social-network data from Social's API
Stars: ✭ 9 (-98.94%)
Mutual labels: api
Quip.js
Simple Node.js wrapper (browser included) and CLI for Quip REST API
Stars: ✭ 8 (-99.06%)
Mutual labels: api
Voyages Sncf Api
A scrapy spider that scraps times and prices from Voyages Sncf. It uses scrapyrt to provide an API interface.
Stars: ✭ 7 (-99.18%)
Mutual labels: api
Indian Courier Api
API to track parcel from various Indian Logistics Providers
Stars: ✭ 26 (-96.95%)
Mutual labels: api
Date Info
API to let user fetch the events that happen(ed) on a specific date
Stars: ✭ 7 (-99.18%)
Mutual labels: api
Ezplatform Graphql
GraphQL server for eZ Platform, the open source Symfony CMS.
Stars: ✭ 27 (-96.83%)
Mutual labels: api
CNBankCard 中国各大银行卡号查询
通过银行卡卡号解析出 发卡行 和 银行卡类别(储蓄卡/信用卡),返回值为JSON数据。
获取方式
支付宝提供的接口。按以下格式发送HTTP请求即可。
curl "https://ccdcapi.alipay.com/validateAndCacheCardInfo.json?_input_charset=utf-8&cardNo=银行卡卡号&cardBinCheck=true"
例子:
[email protected]:~/Dev/cnbankcard$ http "https://ccdcapi.alipay.com/validateAndCacheCardInfo.json?_input_charset=utf-8&cardNo=6228430120000000000&cardBinCheck=true"
HTTP/1.1 200 OK
Connection: keep-alive
Content-Language: zh-CN
Content-Length: 101
Content-Type: application/json;charset=GBK
Date: Sun, 08 Mar 2015 15:21:17 GMT
Server: spanner/1.0.6
Set-Cookie: JSESSIONID=CCDE8AA9E2DAEC082A7614734AF729FB; Path=/; HttpOnly
Set-Cookie: JSESSIONID=CCDE8AA9E2DAEC082A7614734AF729FB; Path=; Secure; HttpOnly
Set-Cookie: spanner=dauWw2JHEhbWoKV/zrMf2LLFCxFf8h1G;path=/;secure;
Strict-Transport-Security: max-age=31536000
{
"bank": "ABC",
"cardType": "DC",
"key": "6228430120000000000",
"messages": [],
"stat": "ok",
"validated": true
}
银行Logo图片 API
https://apimg.alipay.com/combo.png?d=cashier&t=*银行代码*
多个银行代码可用半角逗号隔开,生成sprite图片。
例子:
https://apimg.alipay.com/combo.png?d=cashier&t=ABC
会生成农业银行的logo图片。
如果需要小 Logo,可以结合使用 small_logo_sprite.png
和 small_logo_sprite.css
,前者是一个包含有所有银行小 Logo 的 Sprite 图片,后者有每一个银行 Logo 的 CSS 定义。这两个文件同样来源于支付宝网站。
HTML 代码类似于
<div class='ui-banklogo-s-{银行代码}'><div>
写了一个脚本来切割上述 Sprite 图片,以获取到各自独立的 Logo。如果觉得直接用猫厂的图片和 CSS 比较别扭,可以直接使用这些小图片,或者用它们生成自己的 Sprite 和 CSS,网上这种工具很多。
银行代码<->银行中文名对照
写了一个简单的 Python 脚本从 支付宝合作银行列表页面 提取。结果在这里。
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].