Skip to content

Commit 656e421

Browse files
committed
fertsch
1 parent 9e703d5 commit 656e421

2 files changed

Lines changed: 9 additions & 10 deletions

File tree

files/lib/system/steam/SteamAPI.class.php

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@
1212
* api key can got from here: https://steamcommunity.com/dev/apikey
1313
* method documentation is from original documentations
1414
*
15-
* @see https://steamcommunity.com/dev
1615
* @see https://openid.net/specs/openid-authentication-2_0.html
17-
* @see https://api.steampowered.com/ISteamWebAPIUtil/GetSupportedAPIList/v1/
16+
* @see https://api.steampowered.com/ISteamWebAPIUtil/GetSupportedAPIList/v1/?key=<STEAM_API_KEY>
1817
*
1918
* @author Peter Lohse <hanashi@hanashi.eu>
2019
* @copyright Hanashi Development
@@ -25,12 +24,12 @@ class SteamAPI {
2524
/**
2625
* execute a Steam API call
2726
*
28-
* @var string $interface
29-
* @var string $method
30-
* @var int $version
31-
* @var array $data
32-
* @var bool $useJSON
33-
* @var string $httpmethod
27+
* @var string $interface Steam API interface
28+
* @var string $method API method that should be executed
29+
* @var int $version version of API method
30+
* @var array $data API method parameters
31+
* @var string $httpmethod HTTP method e.g. GET or POST
32+
* @var bool $useJSON use json e.g. for GetOwnedGames
3433
* @return array/string returns an array or a string of Steam API answer
3534
*/
3635
public static function execute(string $interface, string $method, int $version, array $data = [], string $httpmethod = 'GET', bool $useJSON = false) {

package.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<packagedescription><![CDATA[Api package for Steam.]]></packagedescription>
77
<packagedescription language="de"><![CDATA[API-Paket für Steam.]]></packagedescription>
88
<version>1.0.0</version>
9-
<date>2020-02-01</date>
9+
<date>2020-01-22</date>
1010
</packageinformation>
1111

1212
<authorinformation>
@@ -19,7 +19,7 @@
1919
</requiredpackages>
2020

2121
<excludedpackages>
22-
<excludedpackage version="5.3.0 Alpha 1">com.woltlab.wcf</excludedpackage>
22+
<excludedpackage version="6.0.0 Alpha 1">com.woltlab.wcf</excludedpackage>
2323
</excludedpackages>
2424

2525
<instructions type="install">

0 commit comments

Comments
 (0)