#bing #url #wallpaper #tokio

bin+lib bing-wallpaper-url

A crate for getting the url of Bing wallpaper

3 releases (breaking)

0.3.0 Mar 10, 2023
0.2.0 May 17, 2020
0.1.0 May 16, 2020

#10 in #bing

31 downloads per month

MIT license

15KB

bing-wallpaper-url

A Rust crate for getting the url of Bing wallpaper.

Usage of library

#[tokio::main]
async fn main() -> Result<(), bing_wallpaper_url::Error> {
    let url = bing_wallpaper_url::get_url().await?;
    println!("{}", url); //http://www.bing.com/hpwp/...
    Ok(())
}

Usage of executable

$ bing-wallpaper-url
https://www.bing.com/hpwp/9a5f9bbcc3f0298de8ef5c947510f8dc

Dependencies

~12–17MB
~333K SLoC