Skip to content

Implementing client.account.get_timeline()#144

Merged
kraktus merged 2 commits intolichess-org:masterfrom
JAMoreno-Larios:jaml_timeline
Dec 3, 2025
Merged

Implementing client.account.get_timeline()#144
kraktus merged 2 commits intolichess-org:masterfrom
JAMoreno-Larios:jaml_timeline

Conversation

@JAMoreno-Larios
Copy link
Contributor

Making a new PR for #129 and based on the discussion for #80, I added proper typing with TypedDict, added the corresponding tests.

Checklist when adding a new endpoint
  • Added new endpoint to the README.md
  • Ensured that my endpoint name does not repeat the name of the client. Wrong: client.users.get_user(), Correct: client.users.get()
  • Typed the returned JSON using TypedDicts in berserk/types/, example
  • Written tests for GET endpoints not requiring authentification. Documentation, example
  • Added the endpoint and your name to CHANGELOG.md in the To be released section (to be created if necessary)

@JAMoreno-Larios JAMoreno-Larios changed the title Jaml timeline Implementing client.account.get_timeline() Nov 24, 2025
kraktus added a commit to kraktus/lila-db-seed that referenced this pull request Dec 2, 2025
`playerId` has been replaced by `fullId` (I presume the breaking change was not intended) since 2022 lichess-org/lila@e8644d0#r171844996

found because it was breaking tests for lichess-org/berserk#144
kraktus added a commit to lichess-org/lila-db-seed that referenced this pull request Dec 2, 2025
`playerId` has been replaced by `fullId` (I presume the breaking change was not intended) since 2022 lichess-org/lila@e8644d0#r171844996

found because it was breaking tests for lichess-org/berserk#144
@kraktus kraktus force-pushed the jaml_timeline branch 2 times, most recently from f775111 to 53ba6b2 Compare December 3, 2025 10:17
@kraktus kraktus merged commit 18c27e8 into lichess-org:master Dec 3, 2025
30 checks passed
@kraktus
Copy link
Member

kraktus commented Dec 3, 2025

Thanks! This was significantly longer to review than I thought it would be! due to lichess-org/lila-db-seed#70

@Olen Olen mentioned this pull request Dec 3, 2025
5 tasks
@JAMoreno-Larios
Copy link
Contributor Author

Great job!

@JAMoreno-Larios JAMoreno-Larios deleted the jaml_timeline branch December 4, 2025 13:20
@JAMoreno-Larios JAMoreno-Larios restored the jaml_timeline branch December 4, 2025 13:21
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.

2 participants