credit-club
TypeScript icon, indicating that this package has built-in type declarations

2.1.0 • Public • Published

Latest Stable Version License NPM Downloads

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

  1. git clone https://github.com/Toxblh/CreditClub
  2. cd CreditClub
  3. echo "module.exports = { login: 'YourL0gin', pass: 'YourPassw0rd', word: 'YourW0rd'}" > creds.js
  4. yarn or npm i
  5. node ./index.js
  6. Your score already front of you

Lib version

  1. npm i credit-club
  2. 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)
})
 

Readme

Keywords

none

Package Sidebar

Install

npm i credit-club

Weekly Downloads

1

Version

2.1.0

License

MIT

Unpacked Size

5.28 kB

Total Files

10

Last publish

Collaborators

  • toxblh