You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 17, 2023. It is now read-only.
use genius_rs::Genius;
#[tokio::main]
async fn main() {
let genius = Genius::new(dotenv::var("TOKEN").unwrap());
let response = genius.search("Sia").await;
match response {
Ok(resp) => println!("{:?}", resp),
Err(e) => println!("{:?}", e),
}
}
I was checking the examples listed in the readme, but I couldn't reproduce them since the error says that the response can't be parsed because it's not a valid. The error is the following:
ParseError("error decoding response body: missing field `response` at line 1 column 134")
The text was updated successfully, but these errors were encountered:
I was checking the examples listed in the readme, but I couldn't reproduce them since the error says that the response can't be parsed because it's not a valid. The error is the following:
ParseError("error decoding response body: missing field `response` at line 1 column 134")
The text was updated successfully, but these errors were encountered: