search endpoint
This commit is contained in:
@@ -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) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user