BIN lookup library in Swift.
BINList is a simple library for searching Issuer Identification Numbers (IIN). The first 6 digits of a credit card number are known as the Issuer Identification Number (IIN), previously known as Bank Identification Number (BIN). These identify the institution that issued the card to the card holder.
This library queries Binlist.net's public REST API.
- iOS 8.0+ / Mac OS X 10.9+
- Xcode 6.3
CocoaPods is a dependency manager for Cocoa projects.
To integrate BINList into your Xcode project using CocoaPods, specify it in your Podfile
:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!
pod 'BINList'
Then, run the following command:
$ pod install
To integrate BINList into your Xcode project using Carthage, specify it in your Cartfile
:
github "thii/BINList"
import BINList
BINList.find("431940", { (data) -> Void in
println(data)
return
})
BINList is released under the MIT license. See LICENSE for details.