Advertisement
by Caelapes » Sat Feb 17, 2018 7:55 pm
by [violet] » Sun Feb 18, 2018 5:13 pm
Caelapes wrote:When answering an issue through the private API, the RANKINGS returned for the Black Market and Economic Output census seem to be in billions - for example, if the nation’s Black Market is 11,220,000,000 currency units, the issue reports it as a SCORE of 11.22.
by Caelapes » Tue Feb 20, 2018 3:01 pm
Eluvatar wrote:What's the problem with option 3, exactly?
Trotterdam wrote:There's at least <sup> and <sub>, too.
by Trotterdam » Tue Feb 20, 2018 4:56 pm
by Trotterdam » Tue Feb 27, 2018 9:57 pm
Trotterdam wrote:Something I've been wanting for a while:
q=notables and q=admirables shards, which display all tags a nation currently qualifies for that could be returned by q=notable and q=admirable, rather than a randomized selection (much like q=banners does for q=banner).
I'd like to bring this request up again, since while I was previously interested in this mainly out of curiosity for the occasional manual request, I am now working on a script that would actually benefit from having this information.[violet] wrote:Most of the time, when something doesn't get a response from me, it's because it's neither trivial nor impossible, and so whether it gets done depends on how much people seem to want it versus how much time I have. It's neither definitely yes nor definitely no.
It's a "not right now but feel free to make another case for it later" from me at the moment.
by Trotterdam » Wed Feb 28, 2018 11:18 am
As an expansion on this: having just examined the source on an issue with dashes myself, I can confirm that the game uses – for what should properly be – (or –), and so probably also elsewhere uses — for what should properly be — (or —). While many browsers are likely to catch the mistake, on the basis of "enough people were making it that we'd better just display what they meant", a fully standards-compliant XML parser wouldn't.
by Agadar » Sat Mar 03, 2018 12:01 pm
Agadar wrote:Will it ever be possible to create or update dispatches via the API?
EDIT: On a similar note, it does not seem possible to retrieve a dispatch directly via its ID, forcing me to make a work-around for getting a dispatch's contents when I retrieve its ID via regional happenings. Any chance something like that will be added?
by Trotterdam » Sat Mar 03, 2018 12:28 pm
For some reason, it appears to be under filter=admin rather than filter=embassy. This is probably undesirable behavior, but it's technically just an undocumented feature.Agadar wrote:Another question: it is correct that there is no such thing as a happening for the closure of embassies? The closest thing I can find is the 'ordering' of a closure of embassies, but there is no happening type for the actual closure of embassies. This is unlike the regional history, which does contain closures. Is this design intended, or is it a bug?
by Agadar » Sat Mar 03, 2018 1:50 pm
Trotterdam wrote:For some reason, it appears to be under filter=admin rather than filter=embassy. This is probably undesirable behavior, but it's technically just an undocumented feature.Agadar wrote:Another question: it is correct that there is no such thing as a happening for the closure of embassies? The closest thing I can find is the 'ordering' of a closure of embassies, but there is no happening type for the actual closure of embassies. This is unlike the regional history, which does contain closures. Is this design intended, or is it a bug?
(EDIT: The same is true of "construction of embassies aborted" happenings. This is similar to closures in that it's something happening immediately rather than being queued to happen in a week, but it's different in that it's almost always the result of a direct user action rather than a queued event resolving.)
I remember there once being a similar issue, with nations who are kicked out of the WA rather than voluntarily resigning being under filter=admin rather than filter=member. When I checked again recently, it seemed to be included under both categories.
by Trotterdam » Sat Mar 03, 2018 2:23 pm
http://www.nationstates.net/cgi-bin/api.cgi?q=happenings&filter=embassy&view=region.the_embassy includes happenings that look like these:Agadar wrote:You're right about the 'cancelled embassy' happenings being under the admin filter and not the embassy filter, however the 'construction aborted' happenings do seem to be under the embassy filter. Either way, it indeed seems like undesired behavior.
@@imperial_kraeshia@@ proposed constructing embassies between %%the_imperium_of_the_multiverse%% and %%the_embassy%%.
@@orobithe@@ ordered the closure of embassies between %%war_cresent%% and %%the_embassy%%.
Embassy cancelled between %%the_hellenic_kingdom%% and %%the_embassy%%.
Construction of embassies aborted between %%world_trade_centre%% and %%the_embassy%%.
by Agadar » Sat Mar 03, 2018 2:49 pm
Trotterdam wrote:http://www.nationstates.net/cgi-bin/api.cgi?q=happenings&filter=embassy&view=region.the_embassy includes happenings that look like these:Agadar wrote:You're right about the 'cancelled embassy' happenings being under the admin filter and not the embassy filter, however the 'construction aborted' happenings do seem to be under the embassy filter. Either way, it indeed seems like undesired behavior.@@imperial_kraeshia@@ proposed constructing embassies between %%the_imperium_of_the_multiverse%% and %%the_embassy%%.@@orobithe@@ ordered the closure of embassies between %%war_cresent%% and %%the_embassy%%.
http://www.nationstates.net/cgi-bin/api.cgi?q=happenings&filter=admin&view=region.the_embassy includes happenings that look like these:Embassy cancelled between %%the_hellenic_kingdom%% and %%the_embassy%%.Construction of embassies aborted between %%world_trade_centre%% and %%the_embassy%%.
by [violet] » Tue Mar 06, 2018 8:02 pm
Trotterdam wrote:As an expansion on this: having just examined the source on an issue with dashes myself, I can confirm that the game uses – for what should properly be – (or –), and so probably also elsewhere uses — for what should properly be — (or —).
by Trotterdam » Wed Mar 07, 2018 11:24 pm
<WORLD>Looks like the NDESC contains what's supposed to be the RDESC (and is used as such when browsing the census normally), and the RDESC just doesn't make sense.
<CENSUSDESC id="255">
<NDESC>The World Census tracked the movements of military-grade geo-airlifting helicopters to determine which regions have the most nations.</NDESC>
<RDESC>The World Census tracked the movements of military-grade geo-airlifting helicopters to determine which regions have the most regions.</RDESC>
</CENSUSDESC>
</WORLD>
by Trotterdam » Sun Mar 18, 2018 8:43 pm
<CENSUSSCALE id="75">Edu-tellignce\u00AE Test Score</CENSUSSCALE>1. Is the missing "e" between "g" and "n" intentional irony or a typo?
by Flanderlion » Thu Mar 29, 2018 10:49 pm
by Personal Freedom » Sun Apr 01, 2018 12:08 pm
by Borogravia Moldavi » Mon Apr 02, 2018 9:14 am
by Eluvatar » Mon Apr 02, 2018 2:45 pm
by HMS Unicorn » Sun Apr 08, 2018 4:26 pm
HMS Unicorn wrote:Personally I'd like to see the SPDR census included [edit: in the daily nation dump]. The reason for this is that I often have to process region-wide SPDR rankings in large regions (TNP, other GCRs, Europeia). Doing so currently requires a very large number of API calls to fetch all of the regional census=65 rankings and values. Having this information available in the nation dumps would make this process much easier and less bandwidth-intensive.
by Caelapes » Sun Apr 08, 2018 5:14 pm
by Eluvatar » Mon Apr 09, 2018 6:23 am
by HMS Unicorn » Tue Apr 10, 2018 8:41 am
by Leppikania » Tue Apr 10, 2018 4:38 pm
Advertisement
Users browsing this forum: Ammmericaaaa, Bagong Timog Mindanao, Bisofeyr, Danternoust, Geopolity, Ioudaia, Lemsrow, Madrocea, North American Imperial State, Wing Como, Zakaruba
Advertisement