#lyrics #api #fetch #web-services #song #async #ovh

lyrics_ovh

A crate that allows you to fetch lyrics from a webservice lyrics.ovh

2 releases

0.1.1 Feb 28, 2021
0.1.0 Feb 27, 2021

#4 in #web-service

36 downloads per month

MIT license

4KB

Lyrics_ovh

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.

Example

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);
}

Dependencies

~4–18MB
~258K SLoC