NATION

PASSWORD

[API request] lastMajor/lastMinor shards

Bug reports, general help, ideas for improvements, and questions about how things are meant to work.
User avatar
9003
Diplomat
 
Posts: 624
Founded: Oct 25, 2012
Corporate Police State

[API request] lastMajor/lastMinor shards

Postby 9003 » Wed Oct 26, 2022 5:55 am

Last update shard should have lastMajor and lastMinor as extra data points. It would make things like calibrating spyglass easier and cut my (all be it only 2 requests a day) in half as I would only have to grab the data once.


It is also useful for anyone else doing data collection on update length.

Made a new thread so I could post it here viewtopic.php?f=15&t=524666

feel free to move this into the API mega thread if it belongs there :P
Last edited by Roavin on Sat Nov 26, 2022 5:50 am, edited 1 time in total.
Reason: edited post title
proud member of PETZ people for the Ethical Treatment of Zombies

Active member of The cards market place discord

User avatar
Roavin
Admin
 
Posts: 1778
Founded: Apr 07, 2016
Democratic Socialists

Postby Roavin » Fri Mar 17, 2023 2:33 am

How about last_major_update and last_minor_update shards similar to the last_update shard, as well as LASTMAJORUPDATE and LASTMINORUPDATE fields in the region dump?
Helpful Resources: One Stop Rules Shop | API documentation | NS Coders Discord
About me: Longest serving Prime Minister in TSP | Former First Warden of TGW | aka Curious Observations

Feel free to TG me, but not about moderation matters.

User avatar
9003
Diplomat
 
Posts: 624
Founded: Oct 25, 2012
Corporate Police State

Postby 9003 » Fri Mar 17, 2023 6:54 am

Roavin wrote:How about last_major_update and last_minor_update shards similar to the last_update shard, as well as LASTMAJORUPDATE and LASTMINORUPDATE fields in the region dump?



Perfect! as a UNIX time stamp.
proud member of PETZ people for the Ethical Treatment of Zombies

Active member of The cards market place discord

User avatar
Roavin
Admin
 
Posts: 1778
Founded: Apr 07, 2016
Democratic Socialists

Postby Roavin » Mon Apr 03, 2023 3:48 pm

Implemented and documented, enjoy!
Helpful Resources: One Stop Rules Shop | API documentation | NS Coders Discord
About me: Longest serving Prime Minister in TSP | Former First Warden of TGW | aka Curious Observations

Feel free to TG me, but not about moderation matters.

User avatar
9003
Diplomat
 
Posts: 624
Founded: Oct 25, 2012
Corporate Police State

Postby 9003 » Mon Apr 03, 2023 4:15 pm

Roavin wrote:Implemented and documented, enjoy!


thanks looks great!
proud member of PETZ people for the Ethical Treatment of Zombies

Active member of The cards market place discord


Return to Technical

Who is online

Users browsing this forum: Atrito, Midworld, Ramlethal, The Rums

Advertisement

Remove ads