SearchApi

@JvmBlocking
@JvmAsync
class SearchApi

Search and discovery API for popular recommendations, random fursuits, keyword search, and species queries.

Functions

Link copied to clipboard
suspend fun getPopular(limit: Int? = null): PopularData

Returns popular users, optionally limited by limit.

Link copied to clipboard

Returns popular locations structured by provinces and cities.

Link copied to clipboard

Returns random fursuit users based on params. Handles both single and multiple result responses.

suspend fun getRandomFursuit(count: Int? = null, personalized: Boolean? = null): List<RandomFursuit>

Returns random fursuit users (overload for backward compatibility).

Link copied to clipboard
suspend fun getSearchSuggestions(query: String): List<String>

Returns search suggestions for the given query.

Link copied to clipboard

Returns the list of all species with statistics.

Link copied to clipboard
suspend fun search(params: SearchParams): SearchData

Searches users by keyword using params.

suspend fun search(query: String, type: String? = null, cursor: String? = null, limit: Int? = null, page: Int? = null): SearchData

Searches users by keyword (overload for backward compatibility).

Link copied to clipboard
suspend fun searchBySpecies(species: String, page: Int? = null, limit: Int? = null, cursor: String? = null): SpeciesSearchData

Searches users by species with optional pagination.