misenhower / splatoon3.ink

🦑 Splatoon 3 map rotations, Salmon Run schedules, SplatNet gear, and more
https://splatoon3.ink
MIT License
228 stars 21 forks source link

Historical Data #25

Open nightpool opened 1 year ago

nightpool commented 1 year ago

Hi, I'm trying to understand how Nintendo chooses which maps and modes to put in rotation, and I'm looking for some sort of way to access historical rotation data. That way we could calculate e.g. which mapmodes are more likely to appear and which ones appear the least, and whether that changes over time. Is that something the splatoon3ink project has collected in a database somewhere? If so, is there a way I could get a dump of that DB?

nightpool commented 1 year ago

I tried using Twitter Search with the splatoon 3 ink bot for the specific mapmode i'm looking for, but unfortunately the tweet text generated by the bot only contains the mode, not the specific maps :(

(And it seems like twitter makes alt text unsearchable)

Sichongzou commented 1 year ago

This is a good idea, but I think his working mode is just to simulate logging on to Nintendo Online and fetching the data from it. Maybe he just caches but does not persistence the data. This means that he may not have historical data.

But if you have a persistence service to access its interface regularly, you may be able to complete this work yourself.

Of course, the above are all my personal guesses, and I have not carefully read the source code.

AAGaming00 commented 1 year ago

I tried using Twitter Search with the splatoon 3 ink bot for the specific mapmode i'm looking for, but unfortunately the tweet text generated by the bot only contains the mode, not the specific maps :(

(And it seems like twitter makes alt text unsearchable)

https://fedi.splatoon3.ink/api/v1/accounts/AQVoGD0PSgXQh3WKem/statuses?with_muted=true&exclude_replies=1&limit=4000

misenhower commented 1 year ago

Hey there. I just recently finished making the data archives from the site available. You can access them at: https://splatoon3.ink/data/archive/

These are just the raw json files as they appeared on the site at the time.

The archive page is connected to a public S3-compatible bucket. That bucket is currently located at https://splatoon3ink-archive.nyc3.digitaloceanspaces.com (but that URL may change).

The path format is /year/month/day/year-month-day.hour-minute-second.originalfilename.json

In order to reduce duplication, non-xrank files have their minutes and seconds set to 0. (In other words, you'll only find one schedules.json per hour even though the bot updates it several times each hour).

Let me know how it goes!

nightpool commented 1 year ago

Thank you! this data is super useful, will let you know if I find anything interesting!

On Fri, Jun 2, 2023, 8:24 AM Matt Isenhower @.***> wrote:

Hey there. I just recently finished making the data archives from the site available. You can access them at: https://splatoon3.ink/data/archive/

These are just the raw json files as they appeared on the site at the time.

The archive page is connected to a public S3-compatible bucket. That bucket is currently located at https://splatoon3ink-archive.nyc3.digitaloceanspaces.com (but that URL may change).

The path format is /year/month/day/year-month-day.hour-minute-second.originalfilename.json

In order to reduce duplication, non-xrank files have their minutes and seconds set to 0. (In other words, you'll only find one schedules.json per hour even though the bot updates it several times each hour).

Let me know how it goes!

— Reply to this email directly, view it on GitHub https://github.com/misenhower/splatoon3.ink/issues/25#issuecomment-1573729793, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABZCV3AYPFAR7P5254XU6TXJHSPDANCNFSM6AAAAAASSDQ26I . You are receiving this because you authored the thread.Message ID: @.***>