monstersirenfetch/albums.go
Yonah e3e23acee4
album: extend struct for /api/album/%d/data
This also includes tests against a sample response from the
https://monster-siren.hypergryph.com/api/album/1030/data endpoint.

Signed-off-by: Yonah <contrib@gensokyo.uk>
2025-09-18 19:25:42 +09:00

8 lines
195 B
Go

package monstersirenfetch
// AlbumsResponse is the response of /api/albums.
type AlbumsResponse Response[AlbumsData]
// AlbumsData is the type of [AlbumsResponse] data.
type AlbumsData []Album