Google Play Music
(Redirected from Google play music)
This article is a stub. You can help the IndieWeb wiki by expanding it.
Google Play Music is a music streaming service provided by Google that is expected to be shutdown in 2020 in favor of YouTube Music [1] [2] [3].
Features
- Unlimited streaming of countless albums and artists
- Ability to download to device for offline listening
- Can upload up to 50,000 of your personal collection which then gets blended with the streaming service for your own personal mega-library.
IndieWeb Integration
No API is provided although a couple of unofficial ones have been created. But their current states are unknown.
IndieWeb Examples
David Peach
David Peach has built a small hack on his personal site to scrape a url that is passed over from a bookmarklet. The scraping uses PhantomJS to allow for pulling in of JavaScript-created content.
Article on how this is implemented : Semi-automated PESOS from google play music
- At the moment the following things are pulled through:
- Artist
- Album
- Basic album info
- Album art.
- See an example of the data being used on David's web site.
Tristan Havelick
User:Tristanhavelick.com has created a page that contains tracks recently played on Google Play Music. Here's roughly how it works:
- https://github.com/erik/lastcast is used to post tracks played in Google Play Music via Google Home or Chromecast to the website libre.fm (which is an open source version of last.fm)
- The page https://www.tristanhavelick.com/music/ is generated from the data exposed on this libre.fm API endpoint: https://libre.fm/2.0/?method=user.getrecenttracks&user=thavelick&page=1&limit=10&format=json