Ask a Question
Back to All

Search part of name

Is there any way you can make the API format able to search an individual queen by part of the name? For instance, most people will just type "Katya" in the input considering most people don't know how to spell Zamolodchikova lol. When I just type "Katya", it comes back in the console as an empty array.

I used http://www.nokeynoshade.party/api/queens?name=${id}

Of course ${id} is just the query selector for the input.