Skip to content

Commit 89863c3

Browse files
author
Ernest E
committed
Update README.md
- added Item documentation
1 parent da7e8d8 commit 89863c3

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ Each service from the Steam API has its own methods you can use.
5757
- [User Stats](#user-stats)
5858
- [App](#app)
5959
- [Package](#package)
60+
- [Item](#item)
6061
- [Group](#group)
6162

6263
### Global
@@ -350,6 +351,27 @@ l | string | The l is the language parameter, you can get the appropriate langua
350351

351352
> Example Output: [packageDetails](./examples/package/packageDetails.txt)
352353
354+
### Item
355+
This method will get user inventory for item.
356+
357+
```php
358+
Steam::item()
359+
```
360+
361+
#### GetPlayerItems
362+
This gets all the item for a user inventory.
363+
364+
##### Arguments
365+
366+
Name | Type | Description | Required | Default
367+
-----|------|-------------|----------|---------
368+
appId| int | The appid of the game you want for | Yes |
369+
steamid | int | The steamid of the Steam user you want for | Yes |
370+
371+
⚠️ **Now known to supports**:`440`, `570`, `620`, `730`, `205790`, `221540`, `238460`
372+
373+
> Example Output: [GetPlayerItems](./examples/item/GetPlayerItems.txt)
374+
353375
### Group
354376
This service is used to get details on a Steam group.
355377

0 commit comments

Comments
 (0)