by United Calanworie » Sun Apr 14, 2024 2:56 pm
by United Calanworie » Sun Apr 14, 2024 2:57 pm
by Cupic » Sun Apr 14, 2024 2:58 pm
[violet] wrote:I've made a few changes to the NS API. By which I mean this:
http://www.nationstates.net/pages/api.html
This has previously been known as regiondata.cgi and nationdata.cgi,both of which continue to work at their old addresses. They essentially forward to this one now.which have been retired as of August 2013.
The API exists so that people can build NS-based sites, such as NSDossier and NSEconomy. We want to support such efforts.
Please visit the API documentation page for information. The major change is that very high rates of queries (more than 100/minute) will result in the IP address being denied service for 15 minutes. This is to ensure regular players don't suffer slowdowns because of overzealous scripts.
In general, scripts should not attempt to look up every resident of a region all at once. This can result in dozens, hundreds, or thousands of near-simultaneous requests to the server, which are difficult or impossible to service. If you need information on large numbers of nations, you should trawl them from the API as a speed-limited background job and store the data locally on your server.
Please let me know if you have any questions or concerns!
Background: This is the result of events documented in the "Scripts banned" thread.
by Ineva » Sun Apr 14, 2024 3:13 pm
Cupic wrote:[violet] wrote:I've made a few changes to the NS API. By which I mean this:
http://www.nationstates.net/pages/api.html
This has previously been known as regiondata.cgi and nationdata.cgi,both of which continue to work at their old addresses. They essentially forward to this one now.which have been retired as of August 2013.
The API exists so that people can build NS-based sites, such as NSDossier and NSEconomy. We want to support such efforts.
Please visit the API documentation page for information. The major change is that very high rates of queries (more than 100/minute) will result in the IP address being denied service for 15 minutes. This is to ensure regular players don't suffer slowdowns because of overzealous scripts.
In general, scripts should not attempt to look up every resident of a region all at once. This can result in dozens, hundreds, or thousands of near-simultaneous requests to the server, which are difficult or impossible to service. If you need information on large numbers of nations, you should trawl them from the API as a speed-limited background job and store the data locally on your server.
Please let me know if you have any questions or concerns!
Background: This is the result of events documented in the "Scripts banned" thread.
Hello! My screen shows a database error, saying "Database connection error at Sun Apr 14 14:55:38 2024" . What do I do?
I.S.N.: Celebration held for founding of Revived Unclear | Panay Islands and Guimaras becomes Registered Ally | Celebration held for refounding of New Azoreaiv | Celebration held for refounding of Transitional Global Authority | Establish foreign relations with Ineva here
by Querria » Sun Apr 14, 2024 3:14 pm
by Almonaster Nuevo » Sun Apr 14, 2024 3:16 pm
by Vonum » Sun Apr 14, 2024 3:20 pm
by United Calanworie » Sun Apr 14, 2024 3:24 pm
Vonum wrote:How long will this take, approximately? I've got people to message!
by United Calanworie » Tue Apr 16, 2024 1:07 am
by Barinive » Tue Apr 16, 2024 1:10 am
by New Westmore » Tue Apr 16, 2024 1:12 am
by United Calanworie » Tue Apr 16, 2024 1:15 am
New Westmore wrote:[COMTEST]
anyway, are we also expecting to have lost data as well regarding things like RMB messages and cosmetic stuff like our flags and dispatches?
by The Southern Dependencies » Tue Apr 16, 2024 1:16 am
by United Calanworie » Tue Apr 16, 2024 1:18 am
The Southern Dependencies wrote:What's the expected time for recovery of the site other than "a few days", if such an estimation can be given?
by Valentine Z » Tue Apr 16, 2024 1:18 am
Troc wrote:how bout cards?
♪ If you are reading my sig, I want you to have the best day ever ! You are worth it, do not let anyone get you down ! ♪
Glory to De Geweldige Sierlijke Katachtige Utopia en Zijne Autonome Machten ov Valentine Z !
(✿◠‿◠) ☆ \(^_^)/ ☆
♡ Issues Thread ♡ Photography Stuff ♡ Project: Save F7. ♡ Stats Analysis ♡
♡ The Sixty! ♡ Valentian Stories! ♡ Gwen's Adventures! ♡
• Never trouble trouble until trouble troubles you.
• World Map is a cat playing with Australia.
by United Calanworie » Tue Apr 16, 2024 1:18 am
Troc wrote:how bout cards?
United Calanworie wrote:I'm going to talk about cards first here as that's the largest community that's going to be affected the most. We've likely lost months worth of data in terms of:There's a potential that we will be able to recover some of that data. Unfortunately, the disk failed in a rather spectacular manner, and is resistant to our attempts to recover anything from it. We will keep you updated.
- card ownership
- trades
- bank data
- collections
- bids, asks, auctions
by The Southern Dependencies » Tue Apr 16, 2024 1:19 am
by New Westmore » Tue Apr 16, 2024 1:19 am
United Calanworie wrote:New Westmore wrote:[COMTEST]
anyway, are we also expecting to have lost data as well regarding things like RMB messages and cosmetic stuff like our flags and dispatches?
As of my post -- no. We have to rebuild the RMB page index, but that doesn't have anything to do with the messages themselves, merely their display.
by Indo States » Tue Apr 16, 2024 1:19 am
by Ferranghia » Tue Apr 16, 2024 1:20 am
United Calanworie wrote:Unfortunately, the disk failed in a rather spectacular manner,
by The Southern Dependencies » Tue Apr 16, 2024 1:22 am
by United Calanworie » Tue Apr 16, 2024 1:24 am
New Westmore wrote:United Calanworie wrote:As of my post -- no. We have to rebuild the RMB page index, but that doesn't have anything to do with the messages themselves, merely their display.
I see. Another question - will the whole site be revamped cosmetically and technologically as well once the database is fixed, or will it remain untouched in that regard?
The Southern Dependencies wrote:Will there be any attempt to modernise what is, quite clearly, in my opinion, an outdated system? This website is, after all, very ancient.
Advertisement
Users browsing this forum: Amjedia
Advertisement