kenany / champion

Get a League of Legends champion from their key.
MIT License
2 stars 0 forks source link

Have user pass their own Object of champions #3

Open kenany opened 10 years ago

kenany commented 10 years ago

Better in the long run.

var resteemo = require('resteemo')('string with contact info');

var champion;
resteemo.datadragon.champion(function(error, response) {
  champion = require('champion')(response);
});

champion(42);
kenany commented 10 years ago

This needs to be completed first: KenanY/node-resteemo#7.