Hello!
Thanks for the alliances API https://politicsandwar.com/api/alliances/
It would be nice if alliances with no members could have the members and score fields as well as the leaderids list too (even if they're empty)
// mart
Something other than https://politicsandwar.com/api/alliance/id=621 ?
I would personally like to be able to get a list of alliances
Anyway, I just want to say thanks to Sheepy for having this API part of the game. I've had much fun and learnt a lot of programming working with the API.
p.s. http://politicsandwar.com/api/nation/id=30063another escape character issue in the json making it invalid.
No bounty anymore?
Another error:
http://politicsandwar.com/api/nation/id=22917
It's the escaped ' which is invalid. Apparently it's OK to have single qoutes inside the values without having to escape them.
Hi, another of these Apparently
is invalid JSON (at least according to https://jsonformatter.curiousconcept.com/ )
It looks like it's the unescaped quotes around "Democratic" and "Republic"
Hi,
http://politicsandwar.com/api/alliance/id=1972
looks like below and if I throw it at http://jsonlint.com/and https://jsonformatter.curiousconcept.com/ it says it's invalid.
It seems to be the backslash in "\m/" and fix could be to escape all backslashes with backslashes .