Skip to content
This repository has been archived by the owner on Feb 13, 2022. It is now read-only.

lutzbuerkle/GoogleMusic.NET

Repository files navigation

GoogleMusic.NET

GoogleMusic.NET is an unofficial API for Google Music for the .NET framework. It is written in C#. GoogleMusic.NET is partially derived from gmusicapi by Simon Weber. It is not supported nor endorsed by Google.

using GoogleMusic;

...

string email = "[email protected]";
string password = "my-password";

GoogleMusicMobileClient MobileClient = new GoogleMusicMobileClient();

Console.WriteLine("Login...\n");
MobileClient.MasterLogin(email, password, MobileClient.MACaddress);

Console.WriteLine("Reading library...\n");
Tracklist tracks = MobileClient.GetAllTracks();

tracks.SortByAlbumArtist();

foreach (Track track in tracks)
    Console.WriteLine("{0} - {1}", track.albumArtistUnified, track.title);

Console.WriteLine("Reading playlists...\n");
Playlists playlists = MobileClient.GetAllPlaylists();

foreach (Playlist playlist in playlists)
    Console.WriteLine(playlist.ToString());
    

GoogleMusic.NET is used by the following project


Copyright 2014, Lutz Bürkle. Licensed under the 3-clause BSD. See LICENSE.

About

An unofficial Google Music API for .NET

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages