Versions in this module Expand all Collapse all v0 v0.2.4 May 10, 2022 Changes in this version + type Error struct + Code int + Message string + Request *resty.Request + func NewError(code int, message string, request *resty.Request) *Error + func (e Error) Error() string + type ResponseBasic struct + Code int + Data interface{} + Message string + Ttl int + type SDK struct + func NewSDK(logger *zap.Logger) *SDK + func (sdk *SDK) VideoWebInfo(bvid string) (data *VideoInfoResponse, err error) + func (sdk *SDK) VideoWebSearch(keyword string, page int) (data *SearchResponse, err error) + func (sdk *SDK) VideoWebSearchToInfoList(keyword string, page int) (list []VideoSearchInfo, totalPage int, err error) + func (sdk SDK) VideoWebTagInfo(aid string) (data *VideoTagResponse, err error) + type SearchResponse struct + CostTime struct{ ... } + EggHit int + ExpList interface{} + NumPages int + NumResults int + Page int + Pagesize int + Result []VideoSearchInfo + RqtType string + Seid string + ShowColumn int + SuggestKeyword string + type VideoInfoResponse struct + Aid int + Bvid string + Cid int + Copyright int + Ctime int + Desc string + DescV2 []struct{ ... } + Dimension struct{ ... } + Duration int + Dynamic string + HonorReply struct{} + IsSeasonDisplay bool + MissionId int + NoCache bool + Owner struct{ ... } + Pages []struct{ ... } + Pic string + Pubdate int + Rights struct{ ... } + Stat struct{ ... } + State int + Subtitle struct{ ... } + Tid int + Title string + Tname string + UserGarb struct{ ... } + Videos int + type VideoSearchInfo struct + Aid int + Arcrank string + Arcurl string + Author string + Badgepay bool + Bvid string + Corner string + Cover string + Desc string + Description string + Duration string + Favorites int + HitColumns []string + Id int + IsPay int + IsUnionVideo int + Like int + Mid int + NewRecTags []interface{} + Pic string + Play int + Pubdate int + RankScore int + RecReason string + RecTags interface{} + Review int + Senddate int + Tag string + Title string + Type string + Typeid string + Typename string + Upic string + Url string + VideoReview int + ViewType string + type VideoTagInfo struct + Alpha int + ArchiveCount string + Attribute int + Color string + Content string + Count struct{ ... } + Cover string + Ctime int + ExtraAttr int + FeaturedCount int + Hated int + Hates int + HeadCover string + IsActivity bool + IsAtten int + IsSeason bool + JumpUrl string + Liked int + Likes int + ShortContent string + State int + SubscribedCount int + TagId int + TagName string + TagType string + Type int + type VideoTagResponse []VideoTagInfo + func (vtr VideoTagResponse) ToTagStringSlice() []string v0.2.3 May 3, 2022 v0.2.2 May 3, 2022 v0.2.1 Apr 19, 2022 v0.1.9 Apr 11, 2022 v0.1.8 Apr 10, 2022