Skip to content

Commit eaad907

Browse files
committed
Readme additions/fixes
1 parent c952260 commit eaad907

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -424,15 +424,15 @@ $requestErrorMessage = $api->ranklist()->getError();
424424

425425
### getErrorCode
426426

427-
This method returns the error code. This is extremely helpful for debugging purposes or when contacting us with an issue. For more details check the `[getError](#getError)` method.
427+
This method returns the error code. This is extremely helpful for debugging purposes or when contacting us with an issue. For more details check the [getError](#getError) method.
428428

429429
```php
430430
$requestErrorCode = $api->ranklist()->getErrorCode();
431431
```
432432

433433
### hasErrors
434434

435-
This method returns whether or not errors were returned. It can be used to see easily if the query was successful. For further checks you might want to use the `[countResults](#countResults)` method.
435+
This method returns whether or not errors were returned. It can be used to see easily if the query was successful. For further checks you might want to use the [countResults](#countResults) method.
436436

437437
```php
438438
$hasErrors = $api->ranklist()->hasErrors();
@@ -465,7 +465,7 @@ $results = $api->ranklist()->getResults();
465465
```php
466466
$api = new \TrackBaseNet\TrackBaseApi($app_id, $relation_token, $_aak);
467467

468-
$results = $api->serverSessions(['limit' => 5])->getResults();
468+
$results = $api->serverSessions(['sid' => 1234, 'limit' => 5])->getResults();
469469
```
470470

471471
### Receiving and showing a specific player name in HTML format

0 commit comments

Comments
 (0)