Searching
What's the point of an API if we can't search😳?
Let's see an example that searches for a particular state (Lagos) in Nigeria.
Our response
Let's try searching for ab
. This time, we get multiple records.
Our response
#
Current LimitationsSearch is only available on the name
field. So you have to know the name of the state you're searching for. Ideally, Search should work on all fields and should be full text, but this is a little complex for me to approach at the moment.
I hope to implement it sometime in the future.