# Class Opencart\Catalog\Model\Setting\Api

`extends` | `Model`

Class Api

- Opencart\System\Engine\Model
  - Opencart\Catalog\Model\Setting\Api

Located at catalog\model\setting\api.php

Methods
`public` | `login(string $username, string $key): array<string, mixed>` Login Login | #
`public` | `getApiByToken(string $token): array<string, mixed>` Get Api By Token Get Api By Token | #
`public` | `getSessions(int $api_id): array<int, array<string, mixed>>` Get Sessions Get Sessions | #
`public` | `deleteSessions(int $api_id): array<int, array<string, mixed>>` Delete API Sessions Delete API Sessions | #
`public` | `updateSession(string $api_session_id): void` Update Session Update Session | #
`public` | `cleanSessions(): void` Clean API Sessions Clean API Sessions | #

Methods inherited from Opencart\System\Engine\Model
`__construct(), __get(), __set(), __isset()`

Properties inherited from Opencart\System\Engine\Model
`$registry`

OpenCart API API documentation generated by ApiGen dev-master