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

ETF2L player API broken?

Created 4th September 2014 @ 22:01

Add A Reply Pages: 1

Casual

prtyboiz
T⑨

Using the API to get the player feed via steamid seems to always return the same guy; here’s an example with my steamid, it points to this guy.

EDIT: Are URL tags broken too? :)

http://etf2l.org/feed/player/?steamid=U:1:71161704


Last edited by Freakie,

Tritone

I get the same every time I click an etf2l profile link from tf2center

kKaltUu

UbeR |
-chess-

http://api.etf2l.org/player/U:1:17446873
id: 9994

http://api.etf2l.org/player/U:1:71161704
id: 40964

Can you give me some links from the API that return the wrong profiles?

Wulf

GOALstar

I’ve noticed it says Dawshu etf2l name on !div plugin aswell to every player.

Freakie

KOLAR
.awkward

Quoted from Casual

EDIT: Are URL tags broken too? :)

Need to quote the link.

this guy.

emb

(Legend)
ciortai

Quoted from Casual

Using the API to get the player feed via steamid seems to always return the same guy; here’s an example with my steamid, it points to this guy.

EDIT: Are URL tags broken too? :)

http://etf2l.org/feed/player/?steamid=U:1:71161704

D’oh! Was a bug introduced during the SteamID transition. Fixed, thanks for letting us know.

I would suggest to use this opportunity to migrate away from the old XML feeds as they are officially deprecated. The new api (http://api.etf2l.org/) is faster, shinier and much better documented – not to mention guaranteed to exist into 2015 and beyond.

Casual

prtyboiz
T⑨

Quoted from Freakie

[…]

Need to quote the link.

this guy.

Thanks.

Quoted from emb

[…]

D’oh! Was a bug introduced during the SteamID transition. Fixed, thanks for letting us know.

I would suggest to use this opportunity to migrate away from the old XML feeds as they are officially deprecated. The new api (http://api.etf2l.org/) is faster, shinier and much better documented – not to mention guaranteed to exist into 2015 and beyond.

Thanks for the quick response & fix, new API looks fancy, will migrate.

EDIT: https://github.com/CasualX/UserScripts/commit/168416c5c03aae99948a4a04ef8bb06ae631fe0a


Last edited by Casual,

Add A Reply Pages: 1