Refactored classes and functionality, added more data caching, working on topic parser.
This commit is contained in:
@@ -4,14 +4,6 @@ namespace Toloka\PhpApi;
|
||||
|
||||
interface ClientInterface {
|
||||
|
||||
/**
|
||||
* Get Toloka base url.
|
||||
*
|
||||
* @return string
|
||||
* Absolute URL to toloka.
|
||||
*/
|
||||
public function getBaseUrl(): string;
|
||||
|
||||
/**
|
||||
* Login using credentials.
|
||||
*
|
||||
@@ -22,6 +14,7 @@ interface ClientInterface {
|
||||
*
|
||||
* @throws \Toloka\PhpApi\Exception\Auth\InvalidAuthCredentials
|
||||
* @throws \Toloka\PhpApi\Exception\Auth\TooManyLoginAttempts
|
||||
* @throws \Toloka\PhpApi\Exception\Auth\AuthException
|
||||
* @throws \Psr\Http\Client\ClientExceptionInterface
|
||||
*/
|
||||
public function login(string $login, string $password): void;
|
||||
|
Reference in New Issue
Block a user