Documentation ¶
Index ¶
- type AlternativeTitle
- type Anime
- type AnimeRelated
- type Broadcast
- type Date
- type Day
- type Episode
- type GetHistoriesRequest
- type GetRequest
- type History
- type HistoryGroup
- type Rating
- type Related
- type Relation
- type Season
- type SeasonYear
- type Sort
- type Source
- type Stats
- type StatsStatus
- type Status
- type Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlternativeTitle ¶
AlternativeTitle is entity for alternative title.
type Anime ¶
type Anime struct { ID int64 Title string AlternativeTitle AlternativeTitle Picture string StartDate Date EndDate Date Synopsis string NSFW bool Type Type Status Status Episode Episode Season SeasonYear Broadcast Broadcast Source Source Rating Rating Background string Mean float64 Rank int Popularity int Member int Voter int Stats Stats // Relation. GenreIDs []int64 Pictures []string Related []Related StudioIDs []int64 UpdatedAt time.Time }
Anime is entity for anime.
type AnimeRelated ¶ added in v0.3.0
AnimeRelated is entity for related anime.
type GetHistoriesRequest ¶ added in v0.9.0
type GetHistoriesRequest struct { AnimeID int64 StartDate *time.Time EndDate *time.Time Group HistoryGroup }
GetHistoriesRequest is get histories request model.
type GetRequest ¶ added in v0.9.0
type GetRequest struct { Title string NSFW *bool Type Type Status Status Season Season SeasonYear int StartMean float64 EndMean float64 StartAiringYear int EndAiringYear int GenreID int64 StudioID int64 Sort Sort Page int Limit int }
GetRequest is get request model.
type History ¶ added in v0.9.0
type History struct { Year int Month int Week int Mean float64 Rank int Popularity int Member int Voter int UserWatching int UserCompleted int UserOnHold int UserDropped int UserPlanned int }
History is entity for anime history.
type HistoryGroup ¶ added in v0.9.0
type HistoryGroup string
HistoryGroup is anime history group.
const ( Yearly HistoryGroup = "YEARLY" Monthly HistoryGroup = "MONTHLY" Weekly HistoryGroup = "WEEKLY" )
Available anime history group.
type Relation ¶
type Relation string
Relation is anime relation type.
const ( RelationSequel Relation = "SEQUEL" RelationPrequel Relation = "PREQUEL" RelationAlternativeSetting Relation = "ALTERNATIVE_SETTING" RelationAlternativeVersion Relation = "ALTERNATIVE_VERSION" RelationSideStory Relation = "SIDE_STORY" RelationParentStory Relation = "PARENT_STORY" RelationSummary Relation = "SUMMARY" RelationFullStory Relation = "FULL_STORY" RelationSpinOff Relation = "SPIN_OFF" RelationAdaptation Relation = "ADAPTATION" RelationCharacter Relation = "CHARACTER" RelationOther Relation = "OTHER" )
Available anime relation.
type SeasonYear ¶
SeasonYear is entity for season and year.
type Source ¶
type Source string
Source is anime source.
const ( SourceOriginal Source = "ORIGINAL" SourceManga Source = "MANGA" Source4Koma Source = "4_KOMA_MANGA" SourceWebManga Source = "WEB_MANGA" SourceDigitalManga Source = "DIGITAL_MANGA" SourceNovel Source = "NOVEL" SourceLightNovel Source = "LIGHT_NOVEL" SourceVisualNovel Source = "VISUAL_NOVEL" SourceGame Source = "GAME" SourceCardGame Source = "CARD_GAME" SourceBook Source = "BOOK" SourcePictureBook Source = "PICTURE_BOOK" SourceRadio Source = "RADIO" SourceMusic Source = "MUSIC" SourceOther Source = "OTHER" SourceWebNovel Source = "WEB_NOVEL" // undocumented SourceMixedMedia Source = "MIXED_MEDIA" // undocumented )
Available anime source.
type Stats ¶
type Stats struct {
Status StatsStatus
}
Stats is entity for stats. Will contain score in the future?
type StatsStatus ¶
StatsStatus is entity for stats status.
Click to show internal directories.
Click to hide internal directories.