Versions in this module Expand all Collapse all v0 v0.1.0 Aug 11, 2026 Changes in this version + type ArticleCard struct + ActID int64 + ApplyTime string + Attributes *int32 + AuthenMark *json.RawMessage + Author Author + BannerURL string + Categories []Category + Category Category + CheckState int32 + CheckTime string + ContentPictures *json.RawMessage + CoverAID int64 + CreatedAt int64 + Dispute *json.RawMessage + Dynamic *string + ID ids.CVID + ImageURLs []string + IsLike bool + List *Collection + Media Media + ModifiedAt int64 + OriginImageURLs []string + OriginTemplateID int32 + Original int32 + PrivatePublish int32 + PublishTime int64 + Reprint int32 + State int32 + Stats Stats + Summary string + TemplateID int32 + Title string + TopVideoInfo *json.RawMessage + Type int32 + Words int64 + type ArticleItem struct + Categories []Category + Category Category + ID int64 + ImageURLs []string + LikeState *int32 + PublishTime int64 + State int32 + Stats *Stats + Summary string + Title string + Words int64 + type Articles struct + Articles []ArticleItem + Attention bool + Author Author + Last ArticleItem + List Collection + type ArticlesInfoParams struct + func NewArticlesInfoParams(id uint64) (ArticlesInfoParams, error) + func (p ArticlesInfoParams) EncodeQuery() (url.Values, error) + type Author struct + Face string + Fans int64 + Level int32 + MID ids.MID + Name string + Nameplate json.RawMessage + OfficialVerify OfficialVerify + Pendant json.RawMessage + VIP AuthorVIP + type AuthorVIP struct + DueDate int64 + Label *json.RawMessage + PayType int32 + Status int32 + ThemeType int32 + Type int32 + type CardData map[string]CardItem + type CardItem struct + Article *ArticleCard + Live *LiveCard + Raw json.RawMessage + Video *VideoCard + func (item *CardItem) UnmarshalJSON(data []byte) error + func (item CardItem) Kind() CardKind + type CardKind string + const CardArticle + const CardLive + const CardUnknown + const CardVideo + type CardsParams struct + func NewCardsParams(cardIDs string) (CardsParams, error) + func (p CardsParams) EncodeQuery() (url.Values, error) + func (p CardsParams) WithWebLocation(location string) (CardsParams, error) + type Category struct + ID int32 + Name string + ParentID int32 + type Client struct + func NewClient(client *core.Client) Client + func (a Client) Articles(ctx context.Context, params ArticlesInfoParams) (Articles, error) + func (a Client) Cards(ctx context.Context, params CardsParams) (CardData, error) + func (a Client) Info(ctx context.Context, params InfoParams) (Info, error) + func (a Client) View(ctx context.Context, params ViewParams) (View, error) + type Collection struct + ApplyTime string + ArticleCount int32 + CheckTime string + CreatedAt int64 + ID uint64 + ImageURL string + MID ids.MID + Name string + PublishedAt int64 + Read int64 + Reason string + State int32 + Summary string + UpdateTime int64 + Words int64 + type Info struct + Attention bool + AuthorName string + BannerURL string + Coin int32 + DisableShare bool + Favorite bool + ImageURLs []string + InList bool + IsAuthor bool + Like int32 + Location string + MID ids.MID + Next int64 + OriginImageURLs []string + Previous int64 + ShareChannels []ShareChannel + Shareable bool + ShowLaterWatch bool + ShowSmallWindow bool + Stats Stats + Title string + Type int32 + VideoURL string + type InfoParams struct + func NewInfoParams(id ids.CVID) InfoParams + func (p InfoParams) EncodeQuery() (url.Values, error) + type LiveCard struct + AreaName string + Cover string + Face string + LiveStatus int32 + Name string + Online int64 + Pendant string + PendantColor string + PendantPicture string + Role int32 + RoomID ids.RoomID + Title string + UID ids.MID + type Media struct + Area string + Cover string + MediaID int64 + Score int32 + SeasonID int64 + Spoiler int32 + Title string + TypeID int32 + TypeName string + type OfficialVerify struct + Desc string + Type int32 + type ShareChannel struct + Channel string + Name string + Picture string + type Stats struct + Coin int64 + Dislike int64 + Dynamic int64 + Favorite int64 + Like int64 + Reply int64 + Share int64 + View int64 + type Tag struct + ID int32 + Name string + type VideoCard struct + AID ids.AID + BVID ids.BVID + CID ids.CID + Copyright int32 + CreatedAt int64 + Description string + Dimension VideoDimension + Duration int64 + Dynamic string + Owner VideoOwner + Picture string + PublishedAt int64 + Rights VideoRights + ShortLink string + Stat VideoStat + State int32 + TID int32 + Title string + TypeName string + VTSwitch bool + Videos int32 + type VideoDimension struct + Height int32 + Rotate int32 + Width int32 + type VideoOwner struct + Face string + MID ids.MID + Name string + type VideoRights struct + ArcPay int32 + Autoplay int32 + BP int32 + Download int32 + Electric int32 + HD5 int32 + IsCooperation int32 + Movie int32 + NoBackground int32 + NoReprint int32 + Pay int32 + PayFreeWatch int32 + UGCPay int32 + UGCPayPreview int32 + type VideoStat struct + AID ids.AID + Coin int64 + Danmaku int64 + Dislike int64 + Favorite int64 + HisRank int32 + Like int64 + NowRank int32 + Reply int64 + Share int64 + VT int32 + VV int32 + View int64 + type View struct + ActID int64 + ApplyTime string + Attributes *int32 + AuthenMark *json.RawMessage + Author Author + BannerURL string + Categories []Category + Category Category + CheckState int32 + CheckTime string + Content string + ContentPictures *json.RawMessage + CoverAID int64 + CreatedAt int64 + Dispute *json.RawMessage + Dynamic *string + DynamicID string + ID ids.CVID + ImageURLs []string + IsLike bool + Keywords string + List *Collection + Media Media + ModifiedAt int64 + Opus *json.RawMessage + OriginImageURLs []string + OriginTemplateID int32 + Original int32 + PrivatePublish int32 + PublishTime int64 + Reprint int32 + State int32 + Stats Stats + Summary string + Tags []Tag + TemplateID int32 + Title string + TopVideoInfo *json.RawMessage + TotalArticleCount int64 + Type int32 + VersionID int64 + Words int64 + type ViewParams struct + func NewViewParams(id ids.CVID) ViewParams + func (p ViewParams) EncodeQuery() (url.Values, error) + func (p ViewParams) WithGaiaSource(source string) (ViewParams, error)