Advertisement
by Xtoshtia » Fri May 29, 2015 6:53 pm
by Kaboomlandia » Fri May 29, 2015 6:54 pm
Xtoshtia wrote:Hello, sorry if I went to the wrong person, I just don't know where else to go about this, but I haven't been on nation states for a couple days. I checked today at about 9:00PM (Eastern Time, United States) and I got a message from the WA saying I violated rules by having more than one nation in the WA. I didn't do this. I do have multiple nations, but none of them are in the WA, so I'm not sure what happened, I just don't want to lose admission in the WA. Thanks for any help.
by Tribes Republic » Wed Jun 17, 2015 10:43 am
by [violet] » Wed Jun 17, 2015 4:38 pm
Zacherie wrote:On the Telegram API: When the script breaks the API script limit, it doesn't give much useful information other than that you broke it.
I think in the style of the "queued" message, it'd be more helpful if it returned something along the lines of "@@Rate Limit Hit@@ by &&CLIENT&& wait @@X@@ seconds to send" to allow easy error checking.
by Xoriet » Mon Jun 22, 2015 1:23 pm
by Frisbeeteria » Mon Jun 22, 2015 1:32 pm
Xoriet wrote:Is/was there something up with the Timestamps?
by The Norths Alliance » Thu Jun 25, 2015 8:21 pm
by Frisbeeteria » Thu Jun 25, 2015 8:29 pm
The Norths Alliance wrote:Error: 429 API Recruitment TG ratelimit exceeded by client "@The Northern Alliance@ The Norths Allia".
by The Norths Alliance » Thu Jun 25, 2015 8:34 pm
Frisbeeteria wrote:The Norths Alliance wrote:Error: 429 API Recruitment TG ratelimit exceeded by client "@The Northern Alliance@ The Norths Allia".
I don't know if this reflects accurately on the API itself, but TGs tagged as recruitment are blocked if they exceed more than [one TG, per nation, per region, every 28 days]. So the first TG sent or tested would be successful, but you can't send it to yourself for another month. Also, your TGs are rate limited to one every 180 seconds (I believe), so you'd have gotten an error if you tried to test more than once every 3 minutes.
Then again, it could be something else entirely. I'm not an API user or expert.
by Frisbeeteria » Thu Jun 25, 2015 8:40 pm
The Norths Alliance wrote:So, I can only send one recruitment telegram with API every 28 days?
by Ever-Wandering Souls » Thu Jun 25, 2015 8:44 pm
The Norths Alliance wrote:Frisbeeteria wrote:I don't know if this reflects accurately on the API itself, but TGs tagged as recruitment are blocked if they exceed more than [one TG, per nation, per region, every 28 days]. So the first TG sent or tested would be successful, but you can't send it to yourself for another month. Also, your TGs are rate limited to one every 180 seconds (I believe), so you'd have gotten an error if you tried to test more than once every 3 minutes.
Then again, it could be something else entirely. I'm not an API user or expert.
So, I can only send one recruitment telegram with API every 28 days?
The Alicorns (Equestria) wrote:Let them stay, no need to badmouth them...From our view a bunch of nations just came in, seized the delegate position, and changed a few superficial things...we play NationStates differently...there's really no reason for us to be butthurt.
http://www.nationstates.net/page=rmb/postid=8944227
http://www.nationstates.net/page=rmb/postid=8951258
Reploid Productions wrote:Raiders are endlessly creative
by The Norths Alliance » Thu Jun 25, 2015 8:45 pm
by Misley » Fri Jun 26, 2015 8:34 am
The Norths Alliance wrote:But, why wasn't I able to send the API telegram to myself even once?
Also, does my API script have to call the NS API once every 3 minutes, or can it make one big call and then NS will send the telegram to a nation every 3 minutes?
by Lordieth » Sun Jun 28, 2015 5:20 am
by The Vines » Sun Jun 28, 2015 11:56 pm
Lordieth wrote:*snip*
by Lordieth » Wed Jul 01, 2015 11:18 am
The Vines wrote:Lordieth wrote:*snip*
Have you looked into the Authentication API? That feature was designed specifically for use cases like yours.
by The Vines » Wed Jul 01, 2015 4:36 pm
by Esterild » Thu Jul 09, 2015 8:21 pm
by Esterild » Sat Aug 01, 2015 10:49 am
Esterild wrote:Would it be possible to add censusmax and censusmin shards to the World API? These would be similar to the censusmedian shard. They could represent either the absolute minimum and maximum census values - or, if there are no absolute limits, they could represent the calculated maximum and minimum over all the nations in the census. Thank you!
by Eclectic Danta » Sat Aug 15, 2015 12:17 pm
by Laevendell » Sat Aug 15, 2015 12:42 pm
Eclectic Danta wrote:So where would I go if I want to learn how to use NS API in Java (assuming I don't really know how to do anything at all)? I'm interested in making a small script to do automatic calculations of RP Statistics for various nations in my region. But I have no idea how to put together a program that calls the NS API and has it return information from various shards, including population, name, govt - or even how to extract GDP information from industrydesc. Essentially, my question is, where can I find an example of a script that calls for information from NS API and puts it to use in the program?
by [violet] » Sun Aug 16, 2015 4:50 pm
Esterild wrote:Would it be possible to add censusmax and censusmin shards to the World API? These would be similar to the censusmedian shard. They could represent either the absolute minimum and maximum census values - or, if there are no absolute limits, they could represent the calculated maximum and minimum over all the nations in the census. Thank you!
by Zemnaya Svoboda » Tue Aug 18, 2015 11:09 am
XML Parsing Error: undefined entity
Location: http://www.nationstates.net/cgi-bin/api.cgi?q=region+endorsements+happenings&v=5&nation=niimiipu
Line Number 32, Column 96:
<TEXT>Following new legislation in @@niimiipu@@, Rupert Bear is considered to be the most risqué TV programme in Niimiipu.</TEXT>
-----------------------------------------------------------------------------------------------^
Advertisement
Users browsing this forum: Almonaster Nuevo, Anarchialand, Aristokuvaa, Attestaltarragaby, Bhang Bhang Duc, Card Cleaver, East Icelandic Hive, Giovanniland, Inscribia, Rakipuland
Advertisement