D
Deleted member 2
Guest
Hey all, cool new Famiboards update incoming.
I'm sure some of you are familiar with @FamiComms, our resident robo-baby who tweets out new Famiboards threads as they go up.
Well, I've just finished implementing a new feature for him!
In addition to tweeting out new Famiboards threads,
FamiComms will now automatically make a post in this thread when a game is given a release date in the eShop.
He'll also tweet it, too!
Since this will be a locked thread, it will only ever take up space on the front page when there is some news.
But please, feel free to give me feedback or ask me questions or talk about this in the General Discussion thread.
For technical information on how this mechanism works, see the spoiler below:
I'm sure some of you are familiar with @FamiComms, our resident robo-baby who tweets out new Famiboards threads as they go up.
Well, I've just finished implementing a new feature for him!
In addition to tweeting out new Famiboards threads,
FamiComms will now automatically make a post in this thread when a game is given a release date in the eShop.
He'll also tweet it, too!
Since this will be a locked thread, it will only ever take up space on the front page when there is some news.
But please, feel free to give me feedback or ask me questions or talk about this in the General Discussion thread.
For technical information on how this mechanism works, see the spoiler below:
This is done using a Python script that utilizes a custom Python service layer I created for communicating with the Nintendo eShop database.
The following happens once per minute.
The following happens once per minute.
- a script on the server requests all games whose
release_date
property is notnull
. - the game data is sorted chronologically by
release_date
, and all but the last 20 games are removed. - this list of 20 games is checked against a stored list from the previous cycle.
- if there is a discrepancy, the outlier is considered a "newly updated game" and is saved in a list.
- if the "newly updated game" list is empty, nothing happens.
- if the "newly updated game" list is not empty, the list is formatted and tweeted and posted here by @FamiComms, and the stored list is updated with the new list.