ai/at
ai/at
1
0
at/scpt/generate_record.py
2025-05-27 01:21:35 +09:00

11 lines
254 B
Python

import json
record = {
"$type": "app.bsky.feed.post",
"text": "テスト投稿 from script",
"createdAt": "2025-05-26T12:00:00Z"
}
with open("record.json", "w", encoding="utf-8") as f:
json.dump(record, f, ensure_ascii=False, indent=2)