gmusic

Crates.iogmusic
lib.rsgmusic
version0.3.1
sourcesrc
created_at2020-01-02 22:22:37.538902
updated_at2020-06-02 14:41:06.951464
descriptionAn unofficial client library for Google Music
homepage
repositoryhttps://github.com/maxjoehnk/gmusic-rs
max_upload_size
id194636
size149,690
Max (maxjoehnk)

documentation

README

gmusic-rs

https://docs.rs/gmusic Build Status

An unofficial client library for Google Music.

Port of gmusicapi.

Usage

Add the following to your Cargo.toml file.

[dependencies]
gmusic = "0.3"

Generate a client id and client secret.

use gmusic::{GoogleMusicApi, auth::stdio_login};

#[tokio::main]
async fn main() {
    let api = GoogleMusicApi::new(client_id, client_secret, None)?;

    api.login(stdio_login).await?;

    let tracks = api.get_all_tracks().await?;
}
Commit count: 49

cargo fmt