Cassidy James :roost: :gnome: on Nostr: I'm poking at this problem again, and I feel like I'm pretty close to knowing what ...
I'm poking at this problem again, and I feel like I'm pretty close to knowing what needs to happen—I'm just getting stuck on how to best implement it.
I have two timestamps (e.g. 2024-05-22T01:33:39.234Z and 2024-07-15T14:44:27.254Z).
I have a weird date-based folder structure full of JSON files (e.g. 2024/05/22.json, 2024/05/23.json, …, 2024/07/14.json, 2024/07/15.json).
I want to add a specific value from each of those JSON files together.
Eventually, I'd like to automate this even more.
Published at
2024-08-05 20:38:37 UTCEvent JSON
{
"id": "6727b6984773117af100b3911eb543a0757af8940d74d4d33347b84203863632",
"pubkey": "fb31006dcb4be796930b887bca0eb6219246269009db1e78c3a5bc40b2fe34e8",
"created_at": 1722890317,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.blaede.family/@cassidy/112911339815277056",
"web"
],
[
"proxy",
"https://mastodon.blaede.family/users/cassidy/statuses/112911339815277056",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://mastodon.blaede.family/users/cassidy/statuses/112911339815277056",
"pink.momostr"
],
[
"-"
]
],
"content": "I'm poking at this problem again, and I feel like I'm pretty close to knowing what needs to happen—I'm just getting stuck on how to best implement it.\n\nI have two timestamps (e.g. 2024-05-22T01:33:39.234Z and 2024-07-15T14:44:27.254Z).\n\nI have a weird date-based folder structure full of JSON files (e.g. 2024/05/22.json, 2024/05/23.json, …, 2024/07/14.json, 2024/07/15.json).\n\nI want to add a specific value from each of those JSON files together.\n\nEventually, I'd like to automate this even more.",
"sig": "ac7f65c32908e8617e9e8e8711ab8052981244f8a3d47e9593f659bb193c34a027b384a6b2c548947613b9ed53232443f1a332156aa7cf0facb790f3e4e80533"
}