romeugodoi / BINList

BIN lookup library in Swift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BINList

Build Status CocoaPods Compatible Carthage compatible

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.

Requirements

  • iOS 8.0+ / Mac OS X 10.9+
  • Xcode 6.3

Installation

CocoaPods

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

Carthage

To integrate BINList into your Xcode project using Carthage, specify it in your Cartfile:

github "thii/BINList"

Usage

import BINList

BINList.find("431940", { (data) -> Void in
    println(data)
    return
})

License

BINList is released under the MIT license. See LICENSE for details.

About

BIN lookup library in Swift

License:MIT License


Languages

Language:Swift 62.2%Language:Objective-C 26.5%Language:Ruby 11.4%