x
ETF2L is looking for new Staff to recruit! Are you interested in supporting the league? Then click here for more details on what we can offer and how to apply! 

Forum

Results API

Created 29th July 2015 @ 00:15

Add A Reply Pages: 1

F2

Danmark

I can’t get the Results API to work.

If you look at http://etf2l.org/forum/user/576my profile[/url], I have plenty of “matches played” – also recently.

But the Results API is empty: http://api.etf2l.org/player/576/results/1.vdf

Am I doing something wrong, or is it broken?

Kengur

what is vdf anyway?

F2

Danmark

Quoted from Kengur

what is vdf anyway?

It’s Valve Data Format, often used by TF2 and in TF2 plugins.
Anyway, it’s the same with other formats: http://api.etf2l.org/player/576/results/1.json
As you can see it only shows one results for me, although I’ve played hundreds of matches.

dave

TIDS
TSGHUH

The api only shows the last 28 days by default.
You can change that: http://api.etf2l.org/player/576/results/1.vdf?since=0

Read more about it here.
The pagination section might also be interesting in this case.

F2

Danmark

Quoted from dave

The api only shows the last 28 days by default.
You can change that: http://api.etf2l.org/player/576/results/1.vdf?since=0

Read more about it here.
The pagination section might also be interesting in this case.

Thanks, dave. This was exactly what I was looking for.

Add A Reply Pages: 1