You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+25-1Lines changed: 25 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,6 +56,7 @@ Each service from the Steam API has its own methods you can use.
56
56
-[User](#user)
57
57
-[User Stats](#user-stats)
58
58
-[App](#app)
59
+
-[Package](#package)
59
60
-[Group](#group)
60
61
61
62
### Global
@@ -310,13 +311,15 @@ Steam::app()
310
311
```
311
312
312
313
#### appDetails
313
-
This gets all the details for a game. This is most of the infomation from the store page of a game.
314
+
This gets all the details for a game. This is most of the information from the store page of a game.
314
315
315
316
##### Arguments
316
317
317
318
Name | Type | Description | Required | Default
318
319
-----|------|-------------|----------|---------
319
320
appIds| int[] | The ids of the games you want details for | Yes |
321
+
cc | string | The cc is the country code, you can get appropriate currency values according to [ISO 3166-1](https://wikipedia.org/wiki/ISO_3166-1) | No |
322
+
l | string | The l is the language parameter, you can get the appropriate language according to [ISO 639-1](https://wikipedia.org/wiki/ISO_639-1) (If there is one) | No |
320
323
321
324
322
325
> Example Output: [appDetails](./examples/app/appDetails.txt)
@@ -326,6 +329,27 @@ This method will return an array of app objects directly from Steam. It include
326
329
327
330
> Example Output: [GetAppList](./examples/app/GetAppList.txt)
328
331
332
+
### Package
333
+
This method will get details for packages.
334
+
335
+
```php
336
+
Steam::package()
337
+
```
338
+
339
+
#### packageDetails
340
+
This gets all the details for a package. This is most of the information from the store page of a package.
341
+
342
+
##### Arguments
343
+
344
+
Name | Type | Description | Required | Default
345
+
-----|------|-------------|----------|---------
346
+
packIds| int[] | The ids of the packages you want details for | Yes |
347
+
cc | string | The cc is the country code, you can get appropriate currency values according to [ISO 3166-1](https://wikipedia.org/wiki/ISO_3166-1) | No |
348
+
l | string | The l is the language parameter, you can get the appropriate language according to [ISO 639-1](https://wikipedia.org/wiki/ISO_639-1) (If there is one) | No |
349
+
350
+
351
+
> Example Output: [packageDetails](./examples/package/packageDetails.txt)
352
+
329
353
### Group
330
354
This service is used to get details on a Steam group.
0 commit comments