feat: restore most-popular search and top results badges
Some checks failed
Build for Windows / build-windows (push) Has been cancelled
Some checks failed
Build for Windows / build-windows (push) Has been cancelled
This commit is contained in:
@@ -453,6 +453,24 @@ impl QobuzClient {
|
||||
})
|
||||
}
|
||||
|
||||
pub async fn get_most_popular(
|
||||
&self,
|
||||
query: &str,
|
||||
offset: u32,
|
||||
limit: u32,
|
||||
) -> Result<Value> {
|
||||
let resp = self
|
||||
.get_request("most-popular/get")
|
||||
.query(&[
|
||||
("query", query.to_string()),
|
||||
("offset", offset.to_string()),
|
||||
("limit", limit.to_string()),
|
||||
])
|
||||
.send()
|
||||
.await?;
|
||||
Self::check_response(resp).await
|
||||
}
|
||||
|
||||
async fn search_tracks(
|
||||
&self,
|
||||
query: &str,
|
||||
|
||||
Reference in New Issue
Block a user