Add new endpoints

This commit is contained in:
IchBinLeoon 2022-05-27 19:05:35 +02:00
parent 382d19ee94
commit 08c46e50bb
5 changed files with 423 additions and 0 deletions

19
news.go Normal file
View file

@ -0,0 +1,19 @@
package crunchyroll
// News contains all information about a news.
type News struct {
Title string `json:"title"`
Link string `json:"link"`
Image string `json:"image"`
Creator string `json:"creator"`
PublishDate string `json:"publish_date"`
Description string `json:"description"`
}
type TopNews struct {
News
}
type LatestNews struct {
News
}