百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
G

gmusicapi

> 开发工具
开源

一个非官方的 Google Music 客户端库。

2.5K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

一个非官方的 Google Music 客户端库。

gmusicapi: Google Play Music 的非官方 API

gmusicapi 允许控制 Google 音乐 <http://music.google.com>__ 与 Python。 .. code-block:: Python

from gmusicapi import Mobileclient api = Mobileclient()

运行 api.perform_oauth() 一次后:

api.oauth_login('<之前注册的设备 ID>')

=> True

library = api.get_all_songs() sweet_track_ids = [track['id'] for track in library] 如果 track['artist'] == 'The Cat Empire' playlist_id = api.create_playlist('Rad muzak') api.add_songs_to_playlist(播放列表 ID, 甜蜜歌曲 ID) gmusicapi 不受 Google 支持和认可。 尽管如此,它仍然得到积极维护,并支持了一些很酷的项目:

  • 多种客户端,包括 专为视障人士设计的客户端 <https://github.com/chrisnorman7/gmp3>,, 一款基于 Web 的 Jukebox,自带服务器 <https://github.com/chrisnorman7/jukebox>,, 命令行客户端 <https://github.com/christopher-dg/pmcli>, 客户端 <https://github.com/and3rson/clay>,, FUSE 文件系统 <https://github.com/EnigmaCurry/GMusicFS>, 和 Alexa 技能 <https://github.com/stevenleeg/geemusic>,

开始使用----------------- 先从「使用说明文档 http://unofficial-google-music-api.readthedocs.io/en/latest/usage.html#usage`__,>」开始

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Pythonclient-libgmusicapigooglegoogle-music

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类开发工具
定价开源

> 相关工具

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具