search endpoint

This commit is contained in:
2019-06-28 20:41:26 -05:00
parent d12ac42513
commit bb7c3bd337

View File

@@ -42,11 +42,13 @@ class LookupHelper {
try {
//Get the character id from the ESI API.
$response = $esi->setBody([
$response = $esi->setQueryString([
'categories' => 'character',
'search' => $name,
'strict' => 'true',
])->invoke('get', '/search/');
} catch(RequestFailedException $e) {
}