2.0.2 • Published 6 years ago

node-dori v2.0.2

Weekly downloads
5
License
MIT
Repository
github
Last release
6 years ago

A Promise-based NodeJS module used to interact with Bandori.party and Bandori Database APIs.

Installation

$ npm install node-dori

Example

const BandoriAPI = require('node-dori');
const API = new BandoriAPI({
    region: 'jp'
});

API.getCardsByID(382)
    .then(response => {
        console.log(response);
    })
    .catch(error => {
        console.error(error);
    });
Returns
Card {
  id: 382,
  region: 'jp',
  title: '冬仕様',
  character: { id: 15, name: 'Michelle' },
  band: 'Hello, Happy World!',
  attribute: 'pure',
  rarity: 3,
  maxLevel: 40,
  maxLevelTrained: 50,
  image: 
   { normal: 'https://res.bangdream.ga/assets/characters/resourceset/res015016_card_normal.png',
     normal_trim: 'https://res.bangdream.ga/assets/characters/resourceset/res015016_trim_normal.png',
     normal_icon: 'https://res.bangdream.ga/assets/thumb/chara/card00007_res015016_normal.png',
     trained: 'https://res.bangdream.ga/assets/characters/resourceset/res015016_card_after_training.png',
     trained_trim: 'https://res.bangdream.ga/assets/characters/resourceset/res015016_trim_after_training.png',
     trained_icon: 'https://res.bangdream.ga/assets/thumb/chara/card00007_res015016_after_training.png' },
  parameterMax: { performance: 8422, technique: 8984, visual: 9950, total: 27356 },
  parameterStoryBonus: [ 200, 500 ],
  parameterTrainBonus: 300 }
2.0.2

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.8.0

6 years ago

1.7.1

6 years ago

1.6.2

6 years ago

1.6.1

6 years ago

1.6.0

6 years ago

1.4.5

6 years ago

1.4.4

6 years ago

1.4.3

6 years ago

1.4.2

6 years ago

1.4.1

6 years ago

1.4.0

6 years ago

1.3.2

6 years ago

1.3.1

6 years ago

1.3.0

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.0

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.0.1

6 years ago