/bip-api

API for check Bip! balance

Primary LanguageJavaScript

Bip! API

![bip logo](./img/logo.png)

API for check balance on your BIP card

Running Locally

Make sure you have Node.js installed.

$ git clone https://github.com/x0000ff/bip-api.git # or clone your own fork
$ cd bip-api
$ npm install
$ npm start

Your app should now be running on localhost:5000.

Usage

Navigate to http://localhost:5000/?card_number=21922110

Responses

Success

{
  "error": null,
  "status": {
    "number": "21922111",
    "message": "Tarjeta Valida",
    "valid": true,
    "balance": 170,
    "date": "2018-12-04T22:43:00.000Z"
  }
}

Failure

{
  "error": "Esta tarjeta no se puede cargar"
}

Credits

❤️ bip by lgatica