This commit is contained in:
parent
eaf832ae8c
commit
67574de65a
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
.idea
|
||||
.venv
|
||||
|
11
commands/psx.py
Normal file
11
commands/psx.py
Normal file
@ -0,0 +1,11 @@
|
||||
import requests
|
||||
import json
|
||||
|
||||
file = requests.get("https://raw.githubusercontent.com/linuxserver/emulatorjs/master/metadata/psx.json")
|
||||
games = json.loads(file.content)
|
||||
|
||||
for id in games:
|
||||
for key in games[id]:
|
||||
if key in ['vid', 'logo', 'back', 'corner']:
|
||||
print(games[id]['name'])
|
||||
break
|
Loading…
Reference in New Issue
Block a user