search
search
is also an interesting function, but it has advantages compared to get_recommendations
.
Parameters:
query
:str
- The search querynsfw
:bool = False
- Determines content typecount
:int = 20
- Number of results to retrievecursor
:int = 0
- Pagination cursortags
:List[str] = []
- Tags for filtering the search
Example usage with two parameters:
from crushon import Client
client = Client()
for character in client.search("frisk", nsfw=True, cursor=10)["characters"]:
print(f'[+] {character["id"]}; {character["name"]}; {character["description"].strip()}')
We retrieve 20 characters, and we use the cursor
parameter, which causes the count to start from the 10th character.
Last updated