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 { try {
//Get the character id from the ESI API. //Get the character id from the ESI API.
$response = $esi->setBody([ $response = $esi->setQueryString([
'categories' => 'character', 'categories' => 'character',
'search' => $name, 'search' => $name,
'strict' => 'true', 'strict' => 'true',
])->invoke('get', '/search/'); ])->invoke('get', '/search/');
} catch(RequestFailedException $e) { } catch(RequestFailedException $e) {
} }