aua

package module
v0.0.0-...-f9cf2cb Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: GPL-3.0 Imports: 5 Imported by: 1

README

ARCHIVED, Thank You Lowiro. ^^

Arcaea_auaapi

Some Useful AUA API Written In go

按照 BotArcAPI 的 api 写了一些简单的适配

根据目前的ArcaeaUnofficalAPI写了一些简单的适配,不过是Test版本

Usage

go get -u github.com/MoYoez/Arcaea_auaAPI

Documentation

Overview

Package aua

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DrawRequestArc

func DrawRequestArc(workurl string, token string) (reply []byte, err error)

DrawRequestArc 发送请求结构体

func GetB30BySession

func GetB30BySession(url string, token string, sessionkey string) (reply []byte, msg string)

GetB30BySession Get B30 By Session (wait in line mode.)

func GetSessionQuery

func GetSessionQuery(url string, token string, id string) (sessionkey string, info string)

GetSessionQuery Get Session (query b30,need 5 people)

func GetSongInfo

func GetSongInfo(url string, token string, songname string) (reply []byte, err error)

GetSongInfo 获得歌曲信息

func GetSongPreview

func GetSongPreview(url string, token string, songname string, difficuity string) (images image.Image, err error)

GetSongPreview 返回谱面预览图,需要歌曲名字和难度,如果无结果则说明谱面没有(

func GetSongRandom

func GetSongRandom(url string, token string, start string, end string) (reply []byte, err error)

GetSongRandom 随机一首曲子(

func GetUserBest

func GetUserBest(url string, token string, arcaeaid string, songname string, difficuity string) (reply []byte, err error)

GetUserBest 获取用户最新成绩

func GetUserInfo

func GetUserInfo(url string, token string, arcaeaid string) (reply []byte, err error)

GetUserInfo Url 为完整的 ArcaeaAPI 请求,token 为此项目需要用到的 Auth,id是需要查询使用的id。

Types

This section is empty.

Jump to

Keyboard shortcuts

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