Skip to content

Commit 0879070

Browse files
committed
Added country method
Accepts two character country codes. E.g. us, gb, de, fr
1 parent 181225c commit 0879070

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/Syntax/SteamApi/Steam/App.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public function __construct()
1515
$this->interface = 'api';
1616
}
1717

18-
public function appDetails($appIds, $language = 'english')
18+
public function appDetails($appIds, $country = null, $language = null)
1919
{
2020
// Set up the api details
2121
$this->method = 'appdetails';
@@ -24,6 +24,7 @@ public function appDetails($appIds, $language = 'english')
2424
// Set up the arguments
2525
$arguments = [
2626
'appids' => $appIds,
27+
'cc' => $country,
2728
'l' => $language,
2829
];
2930

0 commit comments

Comments
 (0)