{"size": 771, "ext": "js", "max_stars_repo_path": "example/miner.js", "max_stars_repo_name": "SloRunner/ethermine-api", "max_stars_repo_stars_event_min_datetime": "2020-12-28T09:52:10.000Z", "max_stars_repo_stars_event_max_datetime": "2021-11-21T23:33:44.000Z", "max_issues_repo_path": "example/miner.js", "max_issues_repo_name": "SloRunner/ethermine-api", "max_issues_repo_issues_event_min_datetime": "2021-03-16T21:38:14.000Z", "max_issues_repo_issues_event_max_datetime": "2021-03-18T10:55:44.000Z", "max_forks_repo_path": "example/miner.js", "max_forks_repo_name": "SloRunner/ethermine-api", "max_forks_repo_forks_event_min_datetime": "2021-11-19T01:40:10.000Z", "max_forks_repo_forks_event_max_datetime": "2021-12-30T20:06:00.000Z"}
{"max_stars_count": 10, "max_issues_count": 1, "max_forks_count": 2, "avg_line_length": 23.3636363636, "max_line_length": 80, "alphanum_fraction": 0.7367055772}
const Ethermine = require('../src/index.js'); // use ethermine-api in production
const ethermine = new Ethermine();

let miner = "0x4bd46f005099d400768dc057c96a60180e891cf9";

ethermine.getMinerDashboard(miner, function(err, data){
    console.log(err, data)
})

ethermine.getMinerRounds(miner, function(err, data) {
  console.log(err, data)
})

ethermine.getMinerHistory(miner, function(err, data) {
  console.log(err, data)
})

ethermine.getMinerPayouts(miner, function(err, data) {
  console.log(err, data)
})

ethermine.getMinerWorkers(miner, function(err, data) {
  console.log(err, data)
})

ethermine.getMinerSettings(miner, function(err, data) {
  console.log(err, data)
})

ethermine.getMinerCurrentStats(miner, function(err, data) {
  console.log(err, data)
})
