NATION

PASSWORD

List of Cards in XML

The place to wheel and deal, talk shop, and build up your dream deck!
User avatar
Ballotonia
Site Admin
 
Posts: 5342
Founded: Antiquity
New York Times Democracy

List of Cards in XML

Postby Ballotonia » Mon Jul 22, 2019 11:18 am

Greetings,

A list of cards is now available, in XML format. It contains all information shown on the cards, including badges and trophies.

Download it right here: https://www.nationstates.net/pages/cardlist.xml.gz

Ballotonia
"Een volk dat voor tirannen zwicht zal meer dan lijf en goed verliezen, dan dooft het licht…" -- H.M. van Randwijk

User avatar
9003
Envoy
 
Posts: 216
Founded: Oct 25, 2012
Psychotic Dictatorship

Postby 9003 » Mon Jul 22, 2019 11:34 am

I'm glad to see the official list out. No more clunky api work and it has the badges!
proud member of PETZ people for the Ethical Treatment of Zombies

User avatar
Inven
Bureaucrat
 
Posts: 64
Founded: Mar 06, 2019
New York Times Democracy

Postby Inven » Wed Jul 31, 2019 5:19 am

How heavy is that?

User avatar
The Northern Light
Attaché
 
Posts: 68
Founded: Oct 10, 2014
Authoritarian Democracy

Postby The Northern Light » Wed Jul 31, 2019 5:15 pm

This is great, thanks for making this resource available!

User avatar
N7eternia
Spokesperson
 
Posts: 131
Founded: Feb 20, 2019
Capitalizt

Postby N7eternia » Wed Jul 31, 2019 5:22 pm

Thanks!

User avatar
SherpDaWerp
Spokesperson
 
Posts: 109
Founded: Mar 02, 2016
Civil Rights Lovefest

Postby SherpDaWerp » Mon Aug 05, 2019 12:36 am

Might it be worthy pointing out this is a .gzip file, that requires a proper file decompression thing to open? I know it's painfully obvious, but I somehow managed to still miss the fact it was compressed until Notepad++ opened gibberish. Granted, most everyone who will use this should know how to decompress it (including me), but it was still a bit of a surprise.

Otherwise, thanks heaps, this is quite helpful!

EDIT: There's also a bunch of characters that are outside the normal ASCII range, so it goes weird opening it in Firefox.
You can use notepad++ to remove them all (Replace -> " [^\x1F-\x7F]+ " -> Search Mode: Regular Expression)
Last edited by SherpDaWerp on Mon Aug 05, 2019 12:56 am, edited 2 times in total.
I have the No Sex policy. For clarification: recreational sex is allowed, just not reproductive sex.

Candlewhisper Archive wrote:That is to say, the point has not only been missed, but you've used your crossbow to shoot yourself in the ass.


Return to Trading Cards

Who is online

Users browsing this forum: No registered users

Advertisement

Remove ads