File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -107,7 +107,6 @@ protected function setUpClient(array $arguments = [])
107107 $ parameters = [
108108 'key ' => $ this ->apiKey ,
109109 'format ' => $ this ->apiFormat ,
110- 'l ' => \Config::get ('steam-api.steamLang ' )
111110 ];
112111
113112 if (! empty ($ arguments )) {
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ public function __construct()
1515 $ this ->interface = 'api ' ;
1616 }
1717
18- public function appDetails ($ appIds )
18+ public function appDetails ($ appIds, $ language = ' english ' )
1919 {
2020 // Set up the api details
2121 $ this ->method = 'appdetails ' ;
@@ -24,6 +24,7 @@ public function appDetails($appIds)
2424 // Set up the arguments
2525 $ arguments = [
2626 'appids ' => $ appIds ,
27+ 'l ' => $ language ,
2728 ];
2829
2930 // Get the client
Original file line number Diff line number Diff line change 77 * Once you get your key, add it here.
88 */
99 'steamApiKey ' => env ('STEAM_API_KEY ' ),
10-
11- /**
12- * Localized language paramter
13- * Steam will default back to English if the requested language is not available
14- */
15- 'steamLang ' => env ('STEAM_LANG ' , 'english ' ),
1610
1711);
You can’t perform that action at this time.
0 commit comments