4 releases (2 breaking)
0.3.1 | Jun 2, 2020 |
---|---|
0.3.0 | May 19, 2020 |
0.2.0 | May 19, 2020 |
0.1.0 | Jan 2, 2020 |
#2238 in #client
35KB
785 lines
gmusic-rs
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?;
}
Dependencies
~9–13MB
~263K SLoC