Core implementation: controllers, views, routes, models, import command

This commit is contained in:
Mark
2026-05-29 09:37:07 +03:00
parent 8e1fe4a2f5
commit 5813bc779a
24 changed files with 1361 additions and 37 deletions
+12 -2
View File
@@ -102,7 +102,12 @@ class IgdbService
{
return $this->query('games', "
fields id,name,slug,summary,cover.image_id,first_release_date,
genres.name,genres.slug,platforms.abbreviation,
genres.id,genres.name,genres.slug,
platforms.id,platforms.name,platforms.slug,platforms.abbreviation,
involved_companies.company.id,involved_companies.company.name,
involved_companies.company.slug,involved_companies.developer,
involved_companies.publisher,
screenshots.image_id,
rating,rating_count;
where rating != null & rating_count > 100 & cover != null;
sort rating_count desc;
@@ -121,7 +126,12 @@ class IgdbService
return $this->query('games', "
fields id,name,slug,summary,cover.image_id,first_release_date,
genres.name,genres.slug,platforms.abbreviation,
genres.id,genres.name,genres.slug,
platforms.id,platforms.name,platforms.slug,platforms.abbreviation,
involved_companies.company.id,involved_companies.company.name,
involved_companies.company.slug,involved_companies.developer,
involved_companies.publisher,
screenshots.image_id,
rating,rating_count;
where first_release_date >= {$timestamp} & first_release_date <= {$now} & cover != null;
sort first_release_date desc;