0.1.11
This commit is contained in:
parent
02509466a6
commit
06a9c773fc
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "soundcloud"
|
name = "soundcloud"
|
||||||
version = "0.1.10"
|
version = "0.1.11"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
description = "A small rust crate for fetching data from soundcloud without developer account"
|
description = "A small rust crate for fetching data from soundcloud without developer account"
|
||||||
authors = ["alterwain"]
|
authors = ["alterwain"]
|
||||||
|
@ -76,7 +76,7 @@ pub async fn get_playlists(
|
|||||||
user_id: u64,
|
user_id: u64,
|
||||||
client_id: String,
|
client_id: String,
|
||||||
app_version: String,
|
app_version: String,
|
||||||
) -> Result<CloudPlaylists, Box<dyn Error>> {
|
) -> Result<CloudPlaylists, Box<dyn Error + Send + Sync>> {
|
||||||
let client = reqwest::Client::new();
|
let client = reqwest::Client::new();
|
||||||
|
|
||||||
let resp = client.get(format!("https://{}/users/{}/playlists_without_albums?client_id={}&limit=10&offset=0&linked_partitioning=1&app_version={}&app_locale=en", SOUNDCLOUD_API_DOMAIN, user_id, client_id, app_version))
|
let resp = client.get(format!("https://{}/users/{}/playlists_without_albums?client_id={}&limit=10&offset=0&linked_partitioning=1&app_version={}&app_locale=en", SOUNDCLOUD_API_DOMAIN, user_id, client_id, app_version))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user