song: struct for /api/song/%d
This also includes tests against a sample response from the https://monster-siren.hypergryph.com/api/song/048794 endpoint. Signed-off-by: Yonah <contrib@gensokyo.uk>
This commit is contained in:
1
testdata/song.json
vendored
Normal file
1
testdata/song.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"code":0,"msg":"","data":{"cid":"048794","name":"Warm and Small Light","albumCid":"6660","sourceUrl":"https://res01.hycdn.cn/04ce5de54bb52eb85008644d541d40fa/68CA0442/siren/audio/20240709/a7f650238eaefc9c30a9627d7f78d819.wav","lyricUrl":"https://web.hycdn.cn/siren/lyric/20240709/4a10c70629b68a187fdbef4a27bd32d8.lrc","mvUrl":null,"mvCoverUrl":null,"artists":["塞壬唱片-MSR"]}}
|
||||
Reference in New Issue
Block a user