ghana-bank-sort-codes-api
Version:
This library gets all Ghana Banks Sort codes via web scrapping from _The Ghana Interbank Payment and Settlement Systems_
12 lines (10 loc) • 385 B
JavaScript
const SORT_CODE_NOT_FOUND = 'no sort code found!';
const SCRAPPING_ERROR = 'An error occured while scrapping from GhiPPS';
const GHIPPS_URL = 'https://ghipss.net/products-services/cheque-codeline-clearing/bank-sort-codes';
const SCRAPPING_PATTERN = '.sort-codes > table > tbody > tr';
module.exports = {
SORT_CODE_NOT_FOUND,
SCRAPPING_ERROR,
GHIPPS_URL,
SCRAPPING_PATTERN,
};