Page 1 of 1

Are JSON responses available from the api?

PostPosted: Sat Jul 23, 2011 12:56 am
by Le HotSauce
I could find no reference and am assuming no. Has it ever been discussed?

Re: Are JSON responses available from the api?

PostPosted: Tue Sep 13, 2011 3:23 pm
by Dako
It has never been. I will bring this up to admins. Thanks.

Re: Are JSON responses available from the api?

PostPosted: Tue Sep 13, 2011 8:48 pm
by Le HotSauce
Thanks!

Re: Are JSON responses available from the api?

PostPosted: Fri Sep 16, 2011 11:30 am
by lackattack
It's officially on my to-do list! :P

Re: Are JSON responses available from the api?

PostPosted: Sun Sep 18, 2011 1:02 am
by Le HotSauce
excellent!

Re: Are JSON responses available from the api?

PostPosted: Sat Sep 08, 2012 11:40 pm
by runewake2
It has been over a year since this was suggested. Was it ever implemented? It would certainly make my job easier.

Re: Are JSON responses available from the api?

PostPosted: Sun Sep 09, 2012 8:24 am
by sherkaner
No, afaik. Though it's only a formatting thing, doesn't really improve anything for most users.

Re: Are JSON responses available from the api?

PostPosted: Sun Sep 09, 2012 12:34 pm
by runewake2
Json is faster to parse and is smaller in size. Furthermore, Json is a bit easier for me to serialize/deserialize than XML. Furthermore, I have more experience working with Json than XML so I could write up the actual API much faster.

So, I guess it's a preference kind of thing, but also faster.

Re: Are JSON responses available from the api?

PostPosted: Sun Sep 09, 2012 2:28 pm
by sherkaner
I do agree with you on those things, but it won't have a priority because few ppl would notice the difference.

Re: Are JSON responses available from the api?

PostPosted: Sun Sep 09, 2012 2:52 pm
by runewake2
I was really just interested if lackattack had gotten it done. He mentioned above that it was on his todo list. That was about a year ago, I'm just wondering if anything was done or not. Judging by your response I'd say nothing was, well... XML it is I guess.

Re: Are JSON responses available from the api?

PostPosted: Mon Nov 05, 2012 12:11 am
by jakevv
With the new management now, it would be great to see the API updated and things like JSON added. I imagine there are more than a few programmers such as myself keeping an eye on this and looking forward to developing a few new tools.

Re: Are JSON responses available from the api?

PostPosted: Thu Nov 08, 2012 1:11 pm
by runewake2
There is a lot that could be expanded with the API, JSON and the ability to interact with more of the game (retrieving spoils for each player, getting units on a map etc).