NATION

PASSWORD

Wa nations?

Bug reports, general help, ideas for improvements, and questions about how things are meant to work.
User avatar
Indian andhra
Attaché
 
Posts: 75
Founded: May 01, 2021
Authoritarian Democracy

Wa nations?

Postby Indian andhra » Thu Sep 23, 2021 9:36 pm

How To get list of wa nations in a region

User avatar
Nooooooooooooooo
Diplomat
 
Posts: 755
Founded: Oct 18, 2017
Democratic Socialists

Postby Nooooooooooooooo » Thu Sep 23, 2021 9:38 pm

WA Nations have an olive brach icon next to their names in the daily census. if you sort by WA Endorsements, most, if not all, of the WA Members should show up at the top.

User avatar
Indian andhra
Attaché
 
Posts: 75
Founded: May 01, 2021
Authoritarian Democracy

Postby Indian andhra » Thu Sep 23, 2021 10:57 pm

I ask via api

User avatar
Merni
Ambassador
 
Posts: 1630
Founded: May 03, 2016
Democratic Socialists

Postby Merni » Fri Sep 24, 2021 3:38 am

As far as I know there is no direct way; you can use the Region API's "nations" shard to get the list of nations in the region, then the WA API's "members" shard to get the list of WA members in the world, and find the intersection of those two.
COVID19 still exists! | Donate your free time
The Labyrinth | TGW Warden | GA Committee List

OOC by default | Admins: Please allow blocking WA TGs!
E -8.0 S -3.18
Wrote 532 GA
meth
I've noticed that everybody that is for abortion has already been born. — Ronald Reagan
When the people are being beaten with a stick, they are not much happier if it is called 'the People’s Stick.' — Mikhail Bakunin (to Karl Marx)
You're supposed to be employing the arts of diplomacy, not the ruddy great thumping sledgehammers of diplomacy. — Ardchoille
The West won the world not by the superiority of its ideas or values or religion [...] but rather by its superiority in applying organised violence. — Samuel P. Huntington (even he said that!)

User avatar
Indian andhra
Attaché
 
Posts: 75
Founded: May 01, 2021
Authoritarian Democracy

Postby Indian andhra » Fri Sep 24, 2021 4:42 am

Merni wrote:As far as I know there is no direct way; you can use the Region API's "nations" shard to get the list of nations in the region, then the WA API's "members" shard to get the list of WA members in the world, and find the intersection of those two.


Return to Technical

Who is online

Users browsing this forum: No registered users

Advertisement

Remove ads