netease

package
v1.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2023 License: Apache-2.0 Imports: 10 Imported by: 2

Documentation

Overview

Package netease 网易云音乐一些简单的API:搜歌、下歌、搜歌词、下歌词

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadLrc

func DownloadLrc(musicID int, musicName, pathOfMusic string) error

DownloadLrc 下载网易云音乐歌词(歌曲ID,歌曲名称,下载路径)

func DownloadMusic

func DownloadMusic(musicID int, musicName, pathOfMusic string) error

DownloadMusic 下载网易云音乐(歌曲ID,歌曲名称,下载路径)

func SearchMusic

func SearchMusic(keyword string, n int) (list map[string]int, err error)

SearchMusic 搜索网易云音乐歌曲

keyword:搜索内容 n:输出数量

list:map[歌曲名称]歌曲ID

func SreachLrc

func SreachLrc(musicID int) (lrc string, err error)

SreachLrc 搜索网易云音乐歌词(歌曲ID)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL