| Crates.io | gmusic |
| lib.rs | gmusic |
| version | 0.3.1 |
| created_at | 2020-01-02 22:22:37.538902+00 |
| updated_at | 2020-06-02 14:41:06.951464+00 |
| description | An unofficial client library for Google Music |
| homepage | |
| repository | https://github.com/maxjoehnk/gmusic-rs |
| max_upload_size | |
| id | 194636 |
| size | 149,690 |
An unofficial client library for Google Music.
Port of gmusicapi.
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?;
}