AlgoTrader / betfair

Betfair API-NG library for node.js
96 stars 46 forks source link

Not able to start the package #31

Open ermander opened 2 years ago

ermander commented 2 years ago

Hi, i'm trying to use this npm package with the Italian Betfair Exchange. I already changed the url from ".com" to ".it". But right now eveytime i use the example function i have this issue. Is this package still working?

$ node index Login OK listCountries failed

The code is this var invocation = session.listCountries({ filter: {} }, function (err, res) { if (err) { console.log('listCountries failed'); } else { for (var index in res.response.result) { var item = res.response.result[index]; console.log('country:%s markets:%s', item.counrtyCode, item.marketCount); } } });