Crates.io | lyrics_ovh |
lib.rs | lyrics_ovh |
version | 0.1.1 |
source | src |
created_at | 2021-02-27 23:58:37.080793 |
updated_at | 2021-02-28 00:13:37.258626 |
description | A crate that allows you to fetch lyrics from a webservice lyrics.ovh. |
homepage | |
repository | https://github.com/MGlolenstine/lyrics_ovh |
max_upload_size | |
id | 361622 |
size | 3,362 |
This is a library that allows you to fetch lyrics to a song of your choosing.
This crate uses a lyrics.ovh API to fetch lyrics.
The library only contains one async method.
use lyrics_ovh::get_lyrics;
#[tokio::main]
pub async fn main(){
let lyrics = get_lyrics("Popular Monster", "Falling in reverse").await;
println!("Lyrics to the song Popular monster by Falling in reverse: \n {}", lyrics);
}