Skip to content

Commit ee748d4

Browse files
authored
Update README.md
1 parent d832e2d commit ee748d4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ provider = Inventory("steamsupply", "9st947vs0qmgfpeqde1gj92l0oqmhysm")
5454
# using steam as inventory provider
5555
provider = Inventory() # or Inventory("steamcommunity")
5656

57+
# using a custom api as inventory provider
58+
# requests will be sent to {url}/inventory/{steam_id}/{app_id}/{context_id}?api_key=apikey
59+
provider = Inventory("http://localhost:8000", "9st947vs0qmgfpeqde1gj92l0oqmhysm")
60+
5761
# get an inventory
5862
inventory = provider.fetch("76561198253325712")
5963
```
@@ -124,4 +128,4 @@ socket.listen()
124128
```bash
125129
# tf2-utils/
126130
python -m unittest
127-
```
131+
```

0 commit comments

Comments
 (0)