跳转至

QQMusic-API-CXX

简介

本项目使用C++借助Boost Beast库封装QQ音乐的API.

使用的第三方库

使用方法--如何在项目中使用

设置构建类型

set(QQMUSIC_API_BUILD_TYPE SharedLib)

作为子项目引入

add_subdirectory(path/to/qqmusic-api)

target_include_library(
    demo PRIVATE
    path/to/qqmusic-api/include
)

target_link_library(
    demo PRIVATE
    qmapi
)

项目架构

可用头文件目录:

./include
└── qqmusic
    ├── crypto
    │   ├── mflac.h
    │   ├── mgg.h
    │   ├── qmcflac.h
    │   ├── qmc.h
    │   ├── qmcogg.h
    │   ├── tkm.h
    │   └── tm.h
    ├── details
    │   ├── api.h
    │   ├── context.h
    │   ├── result.h
    │   └── tripledes.h
    ├── utils
    │   ├── async-executor.h
    │   ├── buffer.h
    │   ├── common.h
    │   ├── cookie.h
    │   ├── credential.h
    │   ├── device.h
    │   ├── exception.h
    │   ├── paths.h
    │   ├── qimei.h
    │   └── session.h
    ├── album.h
    ├── login.h
    ├── lyric.h
    ├── mv.h
    ├── result.h
    ├── search.h
    ├── singer.h
    ├── song.h
    ├── songlist.h
    ├── toplist.h
    └── user.h

参考项目

luren-dc QQMusicApi

Unlock Music

项目维护者