3 possible search params can be given to the API :
id : Passing id
as a query param returns hero at that id
hero :
hero
to get hero matching that namehero
to get hero matching that nameregex:
Please contact me at akash.joshi@viit.ac.in
for improvements, suggestions or requirements.
Thanks !