mirror of
https://github.com/xivapi/ffxiv-datamining.git
synced 2026-07-31 14:08:29 +00:00
Update companion-app.md
This commit is contained in:
@@ -111,6 +111,13 @@ foreach (range(0, 15) as $i) {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
To run this code:
|
||||||
|
- Update the `token`
|
||||||
|
- install dependencies using composer: `composer req guzzlehttp/guzzle ramsey/uuid`
|
||||||
|
- Copy the code to a file, eg: `companion.php`
|
||||||
|
- Call: `php companion.php`
|
||||||
|
- the variable `$data` will be json, you could do `json_decode($data, true)` to get the response as an array of data.
|
||||||
|
|
||||||
### Market Response info
|
### Market Response info
|
||||||
- `stack` Quantity for sale
|
- `stack` Quantity for sale
|
||||||
- `catalogId` ItemID you see in the game files
|
- `catalogId` ItemID you see in the game files
|
||||||
|
|||||||
Reference in New Issue
Block a user