mirror of
https://github.com/xivapi/ffxiv-datamining.git
synced 2026-08-02 14:58:41 +00:00
Update companion-app.md
This commit is contained in:
@@ -97,16 +97,15 @@ foreach (range(0, 15) as $i) {
|
|||||||
]);
|
]);
|
||||||
|
|
||||||
if ($response->getStatusCode() == 200) {
|
if ($response->getStatusCode() == 200) {
|
||||||
// this is the API JSON data
|
// this is the API JSON data
|
||||||
$data = (string)$response->getBody();
|
$data = (string)$response->getBody();
|
||||||
|
|
||||||
// this is the json response from the server, do something with it.
|
// this is the json response from the server, do something with it.
|
||||||
print_r($data);
|
print_r($data);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
// delay for 250 milliseconds
|
// delay for 250 milliseconds
|
||||||
usleep(250000);
|
usleep(250000);
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user