feat: estimate game duration from genres and tags
CI / test (push) Successful in 15s

This commit is contained in:
strsv committed 2026-11-06 17:21:21 +03:00
1 parent b65c8c39fe
commit b2ab347129
18 files changed
+166 -25

No files matched your search

+4 -1
View File
@@ -67,7 +67,8 @@
| `min_hours`, `max_hours` | диапазон часов в Steam (включительно) |
| `min_year`, `max_year` | диапазон года выпуска; игры без года исключаются |
| `min_review`, `max_review` | диапазон процента отзывов; без рейтинга исключаются |
| `sort` | `name`, `hours`, `review`, `year`, `added` |
| `duration` | `short` (≤8 ч), `medium` (8–25 ч), `long` (>25 ч) |
| `sort` | `name`, `hours`, `review`, `year`, `duration`, `added` |
| `page` | с 1 |
| `per_page` | 12–120 (по умолчанию 60) |
@@ -96,6 +97,7 @@ Invoke-RestMethod "http://127.0.0.1:8765/api/games?genre=RPG&genre=Adventure&tag
"review": 97,
"metacritic": 87,
"hours": 216.0,
"duration": 35.0,
"installed": true,
"status": "played",
"rating": null,
@@ -251,6 +253,7 @@ Invoke-RestMethod "http://127.0.0.1:8765/api/games?genre=RPG&genre=Adventure&tag
"review": 87,
"metacritic": null,
"hours": 0,
"duration": 30.0,
"installed": false,
"status": "backlog",
"feedback": null,