~ filter operator for the API

Posted in

#1 by ahahahahahahaha
2022-06-21 at 07:01
< report >Hi does the ~ filter operator represent a fuzzy string match? Thanks!
#2 by Yorhel
2022-06-21 at 07:14
< report >For most fields, the ~ operator does a case-insensitive substring match. For the 'search' filters it currently uses the same algorithm as the site search (which is substring search with some normalization and query parsing).
#3 by ahahahahahahaha
2022-06-21 at 17:01
< report >Thanks! Btw the API is pretty cool, looks like fun to write a client for it :D
#4 by wakaranai
2022-06-22 at 02:40
< report >it's pretty unique for a public api to be so accessible and thorough. usually sites hide such functionality behind a paywall or throw some obstacles your way (*cough* anidb *cough*) that discourage you from working with them.

Reply

You must be logged in to reply to this thread.