monstersirenfetch/albums.go
Yonah b5f5626b02
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:29:23 +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