Hi
Guys what is the api in basics.json config file?
also i found username and password in API.php file so what is that USERNAME and PASWWORD?:
Code
public function editApiUser($guid, $username, $password) {
$admins = $this->mod->getAdmins();
if (!isset($admins['guid'])) {
return false;
}
$admins[$guid]['api']['username'] = $username;
$admins[$guid]['api']['password'] = hash('sha512', $password);
$this->mod->setAdmins($admins);
return true;
}