Lefora Free Forum
246 views

API Lite - what's the difference?

Page 1
posts 1–7 of 7
superstar - member
230 posts

I'm tinkering with the API again and i'm wondering what these "Lite" services are. Have RTFM, searched the BDP forums and done a fair bit of Googling but i can't find anything that actually explains how the "Lite" api's are any different.

Anyone care to share?

__________________
regular - member
184 posts

I think its basically just a pared down version of another API response. GetBet gives you all the info, GetBetLite gives you similar info as GetBet without the possibly esoteric overhead and GetBetMatchesLite gives you pared down information on matched bets only.

I think thats it anyway. Most of the lite calls aren't available to the free API though, which is headscratchingly strange really.

__________________
Slashdot. It's like Digg on slow, but sensible.
superstar - member
230 posts

ALL of the Lite versions are available to the Free API at a rate of 60 p/m, this is why i was looking at them. It's been recently updated following a comment in the BDP forum.

Assuming that (for example) getMUBetsLite will give me the same information as getMUBets, then what IS the point of having two services that do the same thing?

__________________
novice - member
34 posts

The light versions don;t return all the info the full calls do, think getMUBetsLite omits a lot of the date/time data. A lot of the stuff is probably irrelevant if you're already storing data in arrays so just use them to double up the calls available via the free api. Comparing the outputs details in the api manual should show whats missing obviously for betfair the lite versions just mean lower overheads and strain on their creaking database

novice - member
37 posts

While we're on the subject I thought it would be useful to mention that I got stung with data charges in March using getMUBets. The reason was (and I quote):

"Yes, the spikes are due to you calling getMUBets with marketId = 0.
These calls count as five data requests, compared to one data request if you were to specify the marketId in the getMUBets request."





regular - member
184 posts

ooh, I didn't realise they had been added to the free API.

And that data charge looks ouchies, how much did you get hit?

__________________
Slashdot. It's like Digg on slow, but sensible.
novice - member
37 posts

Luckily I was only doing some light testing, so it was only about £5. But still, I think the term 'free API' is a misnomer!

Page 1
posts 1–7 of 7

This Topic Is Locked To Guest Posts

It's been a while since this topic was active, if you'd like to get it going again, please post as a registered member

join now