How to get the creation/first release date of a mod from the portal

A place to talk about the official Factorio mod portal (https://mods.factorio.com)
Post Reply
User avatar
Reika
Filter Inserter
Filter Inserter
Posts: 582
Joined: Tue May 19, 2015 1:56 am
Contact:

How to get the creation/first release date of a mod from the portal

Post by Reika »

I find myself needing to find when a mod was first ever released, which is synonymous with knowing when it was first uploaded to the mod portal. Important to note is that there is no date information in the changelog, the oldest download is NOT the first release, (it is instead the last release for the first game version it supported), and that all time displays on the portal are "<number> years ago", not an actual date.

Is there a way to know when a "portal item" was first ever created, to an exact date? Something analogous to the "Posted" field on a Steam Workshop item, ie the date it was first ever made into an entry on said workshop.
Image

Qon
Smart Inserter
Smart Inserter
Posts: 2118
Joined: Thu Mar 17, 2016 6:27 am
Contact:

Re: How to get the creation/first release date of a mod from the portal

Post by Qon »

The mod portal api gives timestamps. You can go through all dates to find the earliest one, but if a download was redacted there's no way to find the actual release date. I didn't find any such field at least.

What's the use case?

User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2903
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

Re: How to get the creation/first release date of a mod from the portal

Post by darkfrei »

+ for exactly date, not just "one week ago", "three months ago".

User avatar
steinio
Smart Inserter
Smart Inserter
Posts: 2633
Joined: Sat Mar 12, 2016 4:19 pm
Contact:

Re: How to get the creation/first release date of a mod from the portal

Post by steinio »

Be aware that before the mod portal existed the mods where published in this forum.

Download the oldest version and check dates of files in the zip. The zip itself can change date on download.
Image

Transport Belt Repair Man

View unread Posts

User avatar
Reika
Filter Inserter
Filter Inserter
Posts: 582
Joined: Tue May 19, 2015 1:56 am
Contact:

Re: How to get the creation/first release date of a mod from the portal

Post by Reika »

steinio wrote:
Mon Sep 07, 2020 3:04 pm
Be aware that before the mod portal existed the mods where published in this forum.

Download the oldest version and check dates of files in the zip. The zip itself can change date on download.
Qon wrote:
Mon Sep 07, 2020 9:23 am
The mod portal api gives timestamps. You can go through all dates to find the earliest one, but if a download was redacted there's no way to find the actual release date. I didn't find any such field at least.

What's the use case?

As I said in the first post, "oldest living download" is months newer than the first release, the date I really want.

EDIT:

However, the API you linked mentions a "created_at" field, which sounds much more like what I need.

https://mods.factorio.com/api/mods/<modid>/full
Image

Qon
Smart Inserter
Smart Inserter
Posts: 2118
Joined: Thu Mar 17, 2016 6:27 am
Contact:

Re: How to get the creation/first release date of a mod from the portal

Post by Qon »

Reika wrote:
Mon Sep 07, 2020 6:50 pm
However, the API you linked mentions a "created_at" field, which sounds much more like what I need.
Nice :)

Why do you need it though? I'm curious :)

User avatar
Reika
Filter Inserter
Filter Inserter
Posts: 582
Joined: Tue May 19, 2015 1:56 am
Contact:

Re: How to get the creation/first release date of a mod from the portal

Post by Reika »

Qon wrote:
Mon Sep 07, 2020 7:07 pm
Reika wrote:
Mon Sep 07, 2020 6:50 pm
However, the API you linked mentions a "created_at" field, which sounds much more like what I need.
Nice :)

Why do you need it though? I'm curious :)
For a project whose nature I cannot yet disclose.
Image

Post Reply

Return to “Mod portal Discussion”