Function femtorinth::search_mods [−][src]
pub fn search_mods(
query: String,
sorting: Option<SearchSorting>,
limit: Option<usize>
) -> Result<ModSearchResults, Error>
Expand description
This API call searches Modrinth for your query with 2 additional optional parameters and
returns a ModSearchResults
struct.
This function takes a query
, an Option<SearchSorting>
for how to sort the searches (by
default its sorted by relevance) and a Option<usize>
as the limit which indicates how
many results to return at max.