Skip to content
This repository has been archived by the owner on Jul 7, 2024. It is now read-only.

Commit

Permalink
v1
Browse files Browse the repository at this point in the history
  • Loading branch information
danielkorkin committed Mar 5, 2024
1 parent 8ef0a73 commit 3c81a23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def search():

@app.route('/game_details/<int:appid>')
def game_details(appid):
steam_response = requests.get(f"https://store.steampowered.com/api/appdetails?appids={appid}")
steam_response = requests.get(f"https://store.steampowered.com/api/appdetails?appids={appid}&l=en")
game_details = steam_response.json().get(str(appid), {}).get('data', {})
if not game_details:
return "Game details not found.", 404
Expand Down

0 comments on commit 3c81a23

Please sign in to comment.