[violet] wrote:Per requests above, added more shards.
To Nation shards:
- gdp
- sectors
- income
- poorest
- richest
To Region shards:
- officers
- delegateauth
- founderauth
Thank you
Advertisement
by Zemnaya Svoboda » Tue Nov 24, 2015 2:23 am
[violet] wrote:Per requests above, added more shards.
To Nation shards:
- gdp
- sectors
- income
- poorest
- richest
To Region shards:
- officers
- delegateauth
- founderauth
by Laevendell » Tue Nov 24, 2015 3:33 am
[violet] wrote:Per requests above, added more shards.[...]
by Athretvari » Sat Nov 28, 2015 9:55 pm
[violet] wrote:Per requests above, added more shards.
To Nation shards:
- gdp
- sectors
- income
- poorest
- richest
To Region shards:
- officers
- delegateauth
- founderauth
by Misley » Sun Nov 29, 2015 9:41 am
by Imperium Anglorum » Thu Dec 03, 2015 3:04 pm
by [violet] » Thu Dec 03, 2015 3:13 pm
Imperium Anglorum wrote:Also, if my calculations are correct, the rate limit is 0.6 seconds per request?
by Trotterdam » Thu Dec 03, 2015 3:45 pm
by Railana » Mon Dec 21, 2015 10:28 am
by Trotterdam » Sun Dec 27, 2015 11:32 am
by [violet] » Thu Jan 07, 2016 5:15 pm
by Svornost » Fri Jan 08, 2016 1:04 am
[violet] wrote:Please note I have just banned some scripts from the API that were violating the Terms of Use, primarily by sending no UserAgent.
by Drachmaland » Thu Jan 14, 2016 8:05 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).
by Agadar » Mon Jan 18, 2016 9:34 pm
by HMS Unicorn » Wed Jan 20, 2016 12:21 am
curl -I --user-agent "REPLACE_WITH_YOUR_USER_AGENT" "http://www.nationstates.net/pages/regions.xml.gz"
by Imperium Anglorum » Wed Jan 20, 2016 12:30 am
by Leppikania » Wed Jan 20, 2016 6:58 am
Imperium Anglorum wrote:Would it be possible to get a nation's ban list off the API?
by Drachmaland » Wed Jan 20, 2016 7:02 am
by Agadar » Wed Jan 20, 2016 7:14 am
by Caelapes » Wed Jan 20, 2016 9:42 am
Imperium Anglorum wrote:Would it be possible to get a nation's ban list off the API?
Agadar wrote:I would like to ask whether what I'm trying to do is in accordance with the rules, since it wasn't entirely clear to me when I read them:
If I were to run a script that would on a daily or weekly basis gather information from the region I'm in and present them in a message on my regional message board, would that be in accordance with the rules?
Two examples of what the script could post are: listing and welcoming newly joined nations, and featuring random region members.
I do hope this isn't frowned upon, because I'm looking forward on tinkering with this.
HMS Unicorn wrote:Would it be possible to provide a way to check whether an update is ongoing?
This could be, for example, a shard under the World API, which returns "0" if update is not running, and "1" if it is. An alternative would be to have a shard that returns a timestamp for when the latest completed update ended.
by Agadar » Wed Jan 20, 2016 10:09 am
Caelapes wrote:I'm going to ask one last time on this -- can the "delegateauth" shard be changed to show permissions granted to empty WA Delegate seats? Currently, it returns an empty shard if there is not an active WAD, making it necessary to scrape HTML to find permissions granted to empty WADs. If the answer is no, that's not a big deal to me, but it'd make life easier.Imperium Anglorum wrote:Would it be possible to get a nation's ban list off the API?
Not unless you call the National/Regional Happenings API and save the results somehow. There's no API shard that gives that information.Agadar wrote:I would like to ask whether what I'm trying to do is in accordance with the rules, since it wasn't entirely clear to me when I read them:
If I were to run a script that would on a daily or weekly basis gather information from the region I'm in and present them in a message on my regional message board, would that be in accordance with the rules?
Two examples of what the script could post are: listing and welcoming newly joined nations, and featuring random region members.
I do hope this isn't frowned upon, because I'm looking forward on tinkering with this.
Scripts cannot automatically post to Regional Message Boards. You can have the script prepare everything for your post (including formatting and text for the post) but you will have to make the post yourself, as a living person. You can either have it so that you click a button and it posts for you, or you copy-paste the text and post it yourself. It cannot post automatically without your input.HMS Unicorn wrote:Would it be possible to provide a way to check whether an update is ongoing?
This could be, for example, a shard under the World API, which returns "0" if update is not running, and "1" if it is. An alternative would be to have a shard that returns a timestamp for when the latest completed update ended.
Seconding that this would be valuable. As a current workaround, you can place a nation in the last region to update and check when it receives issues through the RSS feed.
That won't be as helpful a workaround if a different region becomes the last region to update, though.
by Caelapes » Wed Jan 20, 2016 10:22 am
Agadar wrote:While I appreciate you weighing in on the matter of my script's legality, there is little reason to point to the rules, as the rules failed to convince me one way or the other that my script would be illegal, which is the whole reason why I'm here to ask an official moderator's opinion in the first place.
Agadar wrote:A) For starters, sending RMB messages isn't explicitly stated as a restricted action, nor is the 'gameworld' explicitly defined: only examples are given, among which the RMB is not. So, is the RMB part of the gameworld? Are the forums part of the gameworld? Is the entire website the gameworld? It is not clear where the borders exactly are.
Agadar wrote:B) Furthermore, IF the RMB is indeed considered part of the gameworld, then I would still argue for the legality of my script. Consider the following two scenarios:
- Every day before breakfast, I run a script that pulls data from the API, compiles it neatly in a message, and sends that message to the RMB. (This is legal according to the rules);
- Every day before breakfast, a script is run automaticaly that pulls data from the API, compiles it neatly in a message, and sends that message to the RMB. (This MIGHT be legal or not according to the rules);
Agadar wrote:The outcome is exactly the same: the exact same neatly composed message is posted on the RMB at the exact same time every day. Not only that, but if one were to launch an investigation, one would not even be able to prove whether the message was posted using the first, legal option, or the second maybe-legal option. The result is exactly the same for everyone, which I find a solid argument for my script's legality.
by Agadar » Wed Jan 20, 2016 11:04 am
Caelapes wrote:Agadar wrote:While I appreciate you weighing in on the matter of my script's legality, there is little reason to point to the rules, as the rules failed to convince me one way or the other that my script would be illegal, which is the whole reason why I'm here to ask an official moderator's opinion in the first place.
You're right that I am not a moderator or admin. I don't presume to give an "official" answer, but I would argue that since the script rules explicitly say that "It is illegal to use a tool to automatically cause something in the gameworld to change, other than your own nation" and the fact that the Regional Message Board is not a part of any player's nation, that it is against the rules for a script to automatically (that is, without player input at the rate of one input--mouse click, for example--to one action) make a change to it (for example, by adding a post, suppressing a post, or unsuppressing a post).Agadar wrote:A) For starters, sending RMB messages isn't explicitly stated as a restricted action, nor is the 'gameworld' explicitly defined: only examples are given, among which the RMB is not. So, is the RMB part of the gameworld? Are the forums part of the gameworld? Is the entire website the gameworld? It is not clear where the borders exactly are.
My understanding is that everything at nationstates.net is part of the gameworld. Regions, nations, the WA, factbooks/dispatches, Activity pages, dossiers, etc. The Regional Message Board is a part of the region, which definitely places it within the borders of the gameworld. The examples listed in the Script Rules do not suggest that they are exhaustive, as that would be a ridiculously long list.
forum.nationstates.net is the forum, which is not a part of the game world as far as I am aware. Players are allowed to use scripts to scrape the gameworld, but scripts are explicitly prohibited on the forum.Agadar wrote:B) Furthermore, IF the RMB is indeed considered part of the gameworld, then I would still argue for the legality of my script. Consider the following two scenarios:
- Every day before breakfast, I run a script that pulls data from the API, compiles it neatly in a message, and sends that message to the RMB. (This is legal according to the rules);
- Every day before breakfast, a script is run automaticaly that pulls data from the API, compiles it neatly in a message, and sends that message to the RMB. (This MIGHT be legal or not according to the rules);
If my interpretation is correct, since the second scenario causes a change to the gameworld outside your own nation automatically, it is illegal per the script rules. The first one relies on a player input (one input per action) to cause the script to produce its result, which would be legal.Agadar wrote:The outcome is exactly the same: the exact same neatly composed message is posted on the RMB at the exact same time every day. Not only that, but if one were to launch an investigation, one would not even be able to prove whether the message was posted using the first, legal option, or the second maybe-legal option. The result is exactly the same for everyone, which I find a solid argument for my script's legality.
Whether or not the result is the same is not a consideration that goes into determining script legality. Rate limits and one-input-per-action are the biggest factors.
Nations that violate the Script Rules have had severe punishments in the past. I'm sure an admin will come along and give an official ruling as to your script's legality sometime. I don't think I'm misreading the rules, though.
by Eluvatar » Wed Jan 20, 2016 11:18 am
<EVENT id="71933277">
<TIMESTAMP>1453310360</TIMESTAMP>
<TEXT><![CDATA[@@i11uminati666@@ changed its national demonym adjective to "I11uminati" and its demonym plural to "I11uminatis".]]></TEXT>
</EVENT>
Advertisement
Users browsing this forum: 7 Trees, Albithica, Concordare, Dayganistan, Havl, IC-Water, New Atlantico, New Yi Empire, Nicemonte, Oceara, Patriums, Quentopia, Smatania, Soveriegn, The Kingdom of Rohan, Wolfana, WOoloo Unitedstrtes
Advertisement