Skip to content

Commit 907d68a

Browse files
author
Ernest E
committed
docs: update README.md
- Updated `appDetails` - Added `packageDetails`
1 parent 5198977 commit 907d68a

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

README.md

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ Each service from the steam api has it's own methods you can use.
5656
- [User](#user)
5757
- [User Stats](#user-stats)
5858
- [App](#app)
59+
- [Package](#package)
5960
- [Group](#group)
6061

6162
### Global
@@ -304,13 +305,15 @@ Steam::app()
304305
```
305306

306307
#### appDetails
307-
This gets all the details for a game. This is most of the infomation from the store page of a game.
308+
This gets all the details for a game. This is most of the information from the store page of a game.
308309

309310
##### Arguments
310311

311312
Name | Type | Description | Required | Default
312313
-----|------|-------------|----------|---------
313314
appIds| int[] | The ids of the games you want details for | Yes |
315+
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 |
316+
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 |
314317

315318

316319
> Example Output: [appDetails](./examples/app/appDetails.txt)
@@ -320,6 +323,27 @@ This method will return an array of app objects directly from steam. It include
320323

321324
> Example Output: [GetAppList](./examples/app/GetAppList.txt)
322325
326+
### Package
327+
This method will get details for packages.
328+
329+
```php
330+
Steam::package()
331+
```
332+
333+
#### packageDetails
334+
This gets all the details for a package. This is most of the information from the store page of a package.
335+
336+
##### Arguments
337+
338+
Name | Type | Description | Required | Default
339+
-----|------|-------------|----------|---------
340+
packIds| int[] | The ids of the packages you want details for | Yes |
341+
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 |
342+
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 |
343+
344+
345+
> Example Output: [packageDetails](./examples/package/packageDetails.txt)
346+
323347
### Group
324348
This service is used to get details on a steam group.
325349

0 commit comments

Comments
 (0)