summaryrefslogtreecommitdiffstats
path: root/gamechestcli/gamechest/gamedb.py
diff options
context:
space:
mode:
Diffstat (limited to 'gamechestcli/gamechest/gamedb.py')
-rw-r--r--gamechestcli/gamechest/gamedb.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/gamechestcli/gamechest/gamedb.py b/gamechestcli/gamechest/gamedb.py
index 99d3c9a..98db2d9 100644
--- a/gamechestcli/gamechest/gamedb.py
+++ b/gamechestcli/gamechest/gamedb.py
@@ -41,3 +41,7 @@ class GameDB:
]
return command
+
+ def get_ids(self):
+ for game_info in self.db['games']:
+ yield game_info['id']