const gameMaster = require('pokemongo-game-master'); gameMaster.getVersion('latest', 'json').then(console.log);