Skip to content

feat: add diary API with backdate support#3

Open
VanillaChief wants to merge 9 commits intoVelocidensity:masterfrom
VanillaChief:master
Open

feat: add diary API with backdate support#3
VanillaChief wants to merge 9 commits intoVelocidensity:masterfrom
VanillaChief:master

Conversation

@VanillaChief
Copy link

Closes #2

Adds methods for interacting with Serializd's diary feature:

New methods:

  • log_episode_to_diary(show_id, season, episode, date) — log an episode with optional date (defaults to today)
  • get_user_diary(username, page) — fetch diary entries (paginated)
  • get_all_diary_entries(username) — fetch all diary entries
  • delete_diary_entry(review_id) — remove a diary entry
  • get_user_show_progress(username, show_id) — get watched episodes for a show
  • is_episode_watched(username, show_id, season, episode) — check if episode is marked watched

Note: I used Claude Opus 4.5 for this. All commits include Co-authored-by: Claude trailers for transparency. I completely understand if you prefer not to merge AI-assisted contributions, though.

vanilla_chief user and others added 9 commits January 19, 2026 10:59
Add DiaryEntryRequest model and client method using the
/show/reviews/add endpoint with backdate parameter.

Co-authored-by: Claude <noreply@anthropic.com>
Document that the diary-with-date feature was developed with AI assistance
(Claude Opus 4.5, Anthropic) following transparency best practices.

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Claude <noreply@anthropic.com>
- Add get_user_show_progress() to fetch watch progress for a show
- Add is_episode_watched() to check if specific episode is watched
- Useful for skipping mark-as-watched calls when migrating rewatches

Co-authored-by: Claude <noreply@anthropic.com>
Adds ability to delete diary entries via /show/reviews/delete endpoint.
Discovered the correct payload format: {'review_id': <id>}

Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Be able to log episode into serializd diary with date

1 participant