by Esternial » Mon Jan 14, 2019 7:11 am
by Teh communist state » Wed Jan 16, 2019 4:10 am
by The Blaatschapen » Wed Jan 16, 2019 9:03 am
Esternial wrote:I was wondering if it's possible to search for cards by their nation name, particularly those of ex-nations.
Anyone know of a way to do so?
by Esternial » Wed Jan 16, 2019 2:29 pm
The blAAtschApen wrote:Esternial wrote:I was wondering if it's possible to search for cards by their nation name, particularly those of ex-nations.
Anyone know of a way to do so?
Abuse the API.
https://www.nationstates.net/cgi-bin/ap ... pen&q=dbid gives back my database identifier. Then fill in the number on https://www.nationstates.net/page=deck/card=<number>/season=1
In my case you'd get https://www.nationstates.net/page=deck/card=84/season=1
This, unfortunately does not work with ex-nations. https://www.nationstates.net/cgi-bin/ap ... iii&q=dbid gives back a 404 page :(
by The Blaatschapen » Wed Jan 16, 2019 2:37 pm
Esternial wrote:The blAAtschApen wrote:
Abuse the API.
https://www.nationstates.net/cgi-bin/ap ... pen&q=dbid gives back my database identifier. Then fill in the number on https://www.nationstates.net/page=deck/card=<number>/season=1
In my case you'd get https://www.nationstates.net/page=deck/card=84/season=1
This, unfortunately does not work with ex-nations. https://www.nationstates.net/cgi-bin/ap ... iii&q=dbid gives back a 404 page
Aw poop.
That's a bit of roundabout way of finding your card, but nice to know. Haven't bothered exploring the API all too much
by Esternial » Wed Jan 16, 2019 3:13 pm
The blAAtschApen wrote:Esternial wrote:Aw poop.
That's a bit of roundabout way of finding your card, but nice to know. Haven't bothered exploring the API all too much :)
I also did not see the dbid in the daily dump.
If it was, you could check the boneyard for when the nation died, then get a historical daily dump of the day before, then get the dbid, then fill it in as the card number :unsure:
Alas, there is no such way. But there might be people around who have scanned all of NS at times for dbids and saved them :lol:
That said, the API is a nice thing :)
by The Blaatschapen » Wed Jan 16, 2019 3:21 pm
Esternial wrote:The blAAtschApen wrote:
I also did not see the dbid in the daily dump.
If it was, you could check the boneyard for when the nation died, then get a historical daily dump of the day before, then get the dbid, then fill it in as the card number
Alas, there is no such way. But there might be people around who have scanned all of NS at times for dbids and saved them
That said, the API is a nice thing
Maybe if I ask Violet nicely she'll give me sysdba access
by Esternial » Wed Jan 16, 2019 3:29 pm
by Erratica » Wed Jan 16, 2019 4:02 pm
by Insaynitia » Sun Feb 17, 2019 7:52 pm
by Esternial » Mon Feb 18, 2019 3:15 am
Insaynitia wrote:I have a lot of good friends who have long CTE'd, and I want search functionality (by typing a name of a nation in the market or something) so I can specifically find their cards. I'd imagine it wouldn't be that hard to implement since I know ex-nation cards are out there, and there are market pages for said cards. Just make a search function that pulls up a list of cards and allows you to click on them to check their market info.
by Blargoblarg » Mon Feb 18, 2019 3:58 am
by Philomathia » Mon Feb 18, 2019 1:39 pm
Esternial wrote:I was wondering if it's possible to search for cards by their nation name, particularly those of ex-nations.
Anyone know of a way to do so?
by ChUbBiesTnEss » Sun Apr 14, 2019 1:07 pm
Philomathia wrote:Esternial wrote:I was wondering if it's possible to search for cards by their nation name, particularly those of ex-nations.
Anyone know of a way to do so?
When I want to go to a nation who's name I know I go to my homepage and change =philomathia to =nation name
But it only works if you know the exact name of the nation.
So not much a 'search'
by 9003 » Sun Apr 14, 2019 1:53 pm
by 9003 » Thu Feb 06, 2020 8:21 pm
by Pangurstan » Thu Feb 06, 2020 9:44 pm
by Destructive Government Economic System » Sat Feb 08, 2020 7:42 am
Pangurstan wrote:If you look up an ex nation in the boneyard, you can see its ID number. Then just go to https://www.nationstates.net/page=deck/card=the nations ID.
9003 wrote:Fedel wrote:
How's that coming? :>
try not to gravedig when the answer is on the front page ..... buuuuuut
https://forum.nationstates.net/viewtopic.php?f=42&t=470015 is the most functional search we have! The XML list is a few links below it.
Keshiland literally wrote:I would give it a no. A country that lies about how free, or how great, or how humanitarian it is can never be developed. Example, NK lies and says they are democratic and are not, the US lies and says we are free yet we incarcerate millions for a medical plant. See we are basically a larger more populated North Korea.
Advertisement
Users browsing this forum: No registered users
Advertisement