credit-club
v2.1.0
Published
[![Latest Stable Version](https://img.shields.io/npm/v/credit-club.svg)](https://www.npmjs.com/package/credit-club) [![License](https://img.shields.io/npm/l/credit-club.svg)](https://www.npmjs.com/package/credit-club) [![NPM Downloads](https://img.shields
Downloads
3
Readme
Collect credit score from CreditClub
A simple way to collect your score from clubs.moneysavingexpert.com/creditclub
Example result of work
Date: 7 Apr 2019
Score: 932
Install
git clone https://github.com/Toxblh/CreditClub
cd CreditClub
echo "module.exports = { login: 'YourL0gin', pass: 'YourPassw0rd', word: 'YourW0rd'}" > creds.js
yarn
ornpm i
node ./index.js
- Your score already front of you
Lib version
npm i credit-club
- Use
const getCreditClubScore = require('credit-club')
getCreditClubScore({
login: creds.login,
pass: creds.pass,
word: creds.word
}).then(score => {
console.log('Report date:', score.report_date)
console.log('Days until new:', score.updated_date)
console.log('Score:', score.score)
})