Cassidy James :eos: :gg: :fh: on Nostr: The eventual automation would look like: 1. Grab the latest two releases of a thing ...
The eventual automation would look like:
1. Grab the latest two releases of a thing from a JSON API (which gives us the timestamps)
2. For each day in that range, add up a specific number (e.g. "downloads") in the YYYY/MM/DD.json files
3. Publish this somewhere on the web
Steps one and three I'm pretty comfortable with. It's step two that just seems way overcomplicated.
1. Grab the latest two releases of a thing from a JSON API (which gives us the timestamps)
2. For each day in that range, add up a specific number (e.g. "downloads") in the YYYY/MM/DD.json files
3. Publish this somewhere on the web
Steps one and three I'm pretty comfortable with. It's step two that just seems way overcomplicated.