# Class Opencart\Catalog\Model\Account\Api

`extends` | `Model`

Class Api

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

Located at catalog\model\account\api.php

Methods
`public` | `login(string $username, string $key): array<string, mixed>` Login Login | #
`public` | `addSession(int $api_id, string $session_id, string $ip): int` Add Session Add Session | #
`public` | `getIps(int $api_id): array<int, array<string, mixed>>` Get Ips Get Ips | #

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