AlgoTrader / betfair

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

Watcher for files change #17

Open AlexanderTserkovniy opened 8 years ago

AlexanderTserkovniy commented 8 years ago

Hey guys,

Hope you are well!

Is there any possibility to make your events, markets of whatever trigger the callback when there was an update?

I am expecting something like this:

betfair.watch('events', function (data, onlyChanges) {
  console.log('Here are all events ', data);
  console.log('Here are only changes ', onlyChanges);
});

Thanks.

AlgoTrader commented 8 years ago

The lib implements the official Betfair API. No more, no less.

AlexanderTserkovniy commented 8 years ago

Thanks for the answer! Could you give me the link to list of all API methods, I could not find it.

AlgoTrader commented 8 years ago

https://developer.betfair.com/