wenyuvideo

package
v1.2.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package wenyuvideo 包含数娱媒资输出相关结构体

https://open.taobao.com/API.htm?docType=2&docId=41681

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PersonDetailRbo

type PersonDetailRbo struct {
	// 人物类型:unknow,director,starring,performer,singer,lyricswriter,composer,screenwriter,producer,host,voice,      * executive_producer,teacher,original, interview,paike
	PersonTypeList []string `json:"person_type_list,omitempty" xml:"person_type_list>string,omitempty"`
	// 人物国籍
	NationalityList []string `json:"nationality_list,omitempty" xml:"nationality_list>string,omitempty"`
	// 职业
	OccupationList []string `json:"occupation_list,omitempty" xml:"occupation_list>string,omitempty"`
	// 人物性质:牛人,拍客,网络红人
	PersonKindList []string `json:"person_kind_list,omitempty" xml:"person_kind_list>string,omitempty"`
	// 组合成员,如果人物是一个组合,则允许设置下面的成员,人员也是一人物记录。输出格式[{'id':20349,'name':'张宇凡'},{'id':35994,'name':'袁泉'}]
	MemberList []string `json:"member_list,omitempty" xml:"member_list>string,omitempty"`
	// 人物相关视频推荐
	RefShows []ShowBaseRbo `json:"ref_shows,omitempty" xml:"ref_shows>show_base_rbo,omitempty"`
	// 人物相关人物推荐
	RefPersons []PersonRbo `json:"ref_persons,omitempty" xml:"ref_persons>person_rbo,omitempty"`
	// 人物名字
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 图片
	ThumbUrl string `json:"thumb_url,omitempty" xml:"thumb_url,omitempty"`
	// 300*300人物头像
	ThumbUrlLg string `json:"thumb_url_lg,omitempty" xml:"thumb_url_lg,omitempty"`
	// 人物海报
	PosterUrl string `json:"poster_url,omitempty" xml:"poster_url,omitempty"`
	// 人物写真
	PosterUrlH string `json:"poster_url_h,omitempty" xml:"poster_url_h,omitempty"`
	// 简介
	PersonDesc string `json:"person_desc,omitempty" xml:"person_desc,omitempty"`
	// 性别 U(nknow):未知 M(ale):男 F(emale):女 G(roup):组合
	Gender string `json:"gender,omitempty" xml:"gender,omitempty"`
	// 生日
	Birthday string `json:"birthday,omitempty" xml:"birthday,omitempty"`
	// 忌日
	Deathday string `json:"deathday,omitempty" xml:"deathday,omitempty"`
	// 出生地
	Homeplace string `json:"homeplace,omitempty" xml:"homeplace,omitempty"`
	// 身高,单位cm
	Height string `json:"height,omitempty" xml:"height,omitempty"`
	// 血型 A、B、AB、O
	BloodType string `json:"blood_type,omitempty" xml:"blood_type,omitempty"`
	// 星座
	Constellation string `json:"constellation,omitempty" xml:"constellation,omitempty"`
	// 主键(优酷人物ID)
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
}

PersonDetailRbo 结构体

type PersonDo

type PersonDo struct {
	// 人物名字
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 图片
	ThumbUrl string `json:"thumb_url,omitempty" xml:"thumb_url,omitempty"`
	// 300*300人物头像
	ThumbUrlLg string `json:"thumb_url_lg,omitempty" xml:"thumb_url_lg,omitempty"`
	// 人物海报
	PosterUrl string `json:"poster_url,omitempty" xml:"poster_url,omitempty"`
	// 人物写真
	PosterUrlH string `json:"poster_url_h,omitempty" xml:"poster_url_h,omitempty"`
	// 简介
	PersonDesc string `json:"person_desc,omitempty" xml:"person_desc,omitempty"`
	// 人物ID
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
}

PersonDo 结构体

type PersonRbo

type PersonRbo struct {
	// 姓名
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 人物头像
	ThumbUrl string `json:"thumb_url,omitempty" xml:"thumb_url,omitempty"`
	// 300*300人物头像
	ThumbUrlLg string `json:"thumb_url_lg,omitempty" xml:"thumb_url_lg,omitempty"`
	// 人物海报
	PosterUrl string `json:"poster_url,omitempty" xml:"poster_url,omitempty"`
	// 演职人员工作
	Job string `json:"job,omitempty" xml:"job,omitempty"`
	// taotv媒资的演职人员id
	PersonId int64 `json:"person_id,omitempty" xml:"person_id,omitempty"`
}

PersonRbo 结构体

type Segments

type Segments struct {
	// 开始时间点
	From int64 `json:"from,omitempty" xml:"from,omitempty"`
	// 结束时间点
	To int64 `json:"to,omitempty" xml:"to,omitempty"`
}

Segments 结构体

type ShowBaseRbo

type ShowBaseRbo struct {
	// 节目名称
	ShowName string `json:"show_name,omitempty" xml:"show_name,omitempty"`
	// 节目默认图片url
	ShowThumbUrl string `json:"show_thumb_url,omitempty" xml:"show_thumb_url,omitempty"`
	// 节目竖版图片url
	ShowVthumbUrl string `json:"show_vthumb_url,omitempty" xml:"show_vthumb_url,omitempty"`
	// 评分
	Score string `json:"score,omitempty" xml:"score,omitempty"`
	// 角标
	Mark string `json:"mark,omitempty" xml:"mark,omitempty"`
	// 发行日期
	ReleaseDate string `json:"release_date,omitempty" xml:"release_date,omitempty"`
	// tag标记
	ViewTag string `json:"view_tag,omitempty" xml:"view_tag,omitempty"`
	// 影视信息在列表搜索等未知的重要提示
	Tips string `json:"tips,omitempty" xml:"tips,omitempty"`
	// 节目子标题
	ShowSubtitle string `json:"show_subtitle,omitempty" xml:"show_subtitle,omitempty"`
	// 展示类型
	ShowType int64 `json:"show_type,omitempty" xml:"show_type,omitempty"`
	// 节目主分类
	ShowCategory int64 `json:"show_category,omitempty" xml:"show_category,omitempty"`
	// 是否动态更新集数
	IsDynTotal int64 `json:"is_dyn_total,omitempty" xml:"is_dyn_total,omitempty"`
	// 最新一集
	LastSequence int64 `json:"last_sequence,omitempty" xml:"last_sequence,omitempty"`
	// 正片总集数
	EpisodeTotal int64 `json:"episode_total,omitempty" xml:"episode_total,omitempty"`
	// 老媒资节目ID(整体兼容使用,不建议客户端使用)
	ProgramId int64 `json:"program_id,omitempty" xml:"program_id,omitempty"`
	// 最后一个正片集数
	EpisodeLast int64 `json:"episode_last,omitempty" xml:"episode_last,omitempty"`
	// 是否预告片
	Prevue bool `json:"prevue,omitempty" xml:"prevue,omitempty"`
}

ShowBaseRbo 结构体

type YoukuWenyuvideoPersionGetAPIRequest added in v1.2.0

type YoukuWenyuvideoPersionGetAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

YoukuWenyuvideoPersionGetAPIRequest 根据优酷人物ID获取人物详情页,包含相关影视和相关人物 API请求 youku.wenyuvideo.persion.get

根据优酷人物ID获取人物详情页,包含相关影视和相关人物

func NewYoukuWenyuvideoPersionGetRequest

func NewYoukuWenyuvideoPersionGetRequest() *YoukuWenyuvideoPersionGetAPIRequest

NewYoukuWenyuvideoPersionGetRequest 初始化YoukuWenyuvideoPersionGetAPIRequest对象

func (YoukuWenyuvideoPersionGetAPIRequest) GetApiMethodName added in v1.2.0

func (r YoukuWenyuvideoPersionGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (YoukuWenyuvideoPersionGetAPIRequest) GetApiParams added in v1.2.0

func (r YoukuWenyuvideoPersionGetAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (YoukuWenyuvideoPersionGetAPIRequest) GetPersonId added in v1.2.0

GetPersonId PersonId Getter

func (YoukuWenyuvideoPersionGetAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (YoukuWenyuvideoPersionGetAPIRequest) GetSystemInfo added in v1.2.0

func (r YoukuWenyuvideoPersionGetAPIRequest) GetSystemInfo() string

GetSystemInfo SystemInfo Getter

func (*YoukuWenyuvideoPersionGetAPIRequest) SetPersonId added in v1.2.0

func (r *YoukuWenyuvideoPersionGetAPIRequest) SetPersonId(_personId int64) error

SetPersonId is PersonId Setter 人物ID

func (*YoukuWenyuvideoPersionGetAPIRequest) SetSystemInfo added in v1.2.0

func (r *YoukuWenyuvideoPersionGetAPIRequest) SetSystemInfo(_systemInfo string) error

SetSystemInfo is SystemInfo Setter 设备信息

type YoukuWenyuvideoPersionGetAPIResponse

type YoukuWenyuvideoPersionGetAPIResponse struct {
	model.CommonResponse
	YoukuWenyuvideoPersionGetAPIResponseModel
}

YoukuWenyuvideoPersionGetAPIResponse 根据优酷人物ID获取人物详情页,包含相关影视和相关人物 API返回值 youku.wenyuvideo.persion.get

根据优酷人物ID获取人物详情页,包含相关影视和相关人物

type YoukuWenyuvideoPersionGetAPIResponseModel added in v1.2.0

type YoukuWenyuvideoPersionGetAPIResponseModel struct {
	XMLName xml.Name `xml:"youku_wenyuvideo_persion_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *YoukuWenyuvideoPersionGetResult `json:"result,omitempty" xml:"result,omitempty"`
}

YoukuWenyuvideoPersionGetAPIResponseModel is 根据优酷人物ID获取人物详情页,包含相关影视和相关人物 成功返回结果

type YoukuWenyuvideoPersionGetResult

type YoukuWenyuvideoPersionGetResult struct {
	// 业务扩展数据
	BizExtMap string `json:"biz_ext_map,omitempty" xml:"biz_ext_map,omitempty"`
	// 错误码,业务错误码
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 业务错误提示
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 人物详情信息,包含相关影视和相关人物
	Model *PersonDetailRbo `json:"model,omitempty" xml:"model,omitempty"`
	// HTTP请求状态
	HttpStatusCode int64 `json:"http_status_code,omitempty" xml:"http_status_code,omitempty"`
	// 接口调用是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

YoukuWenyuvideoPersionGetResult 结构体

type YoukuWenyuvideoPersionSearchAPIRequest added in v1.2.0

type YoukuWenyuvideoPersionSearchAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

YoukuWenyuvideoPersionSearchAPIRequest 根据人物名称查询人物列表 API请求 youku.wenyuvideo.persion.search

根据人物名称查询人物列表

func NewYoukuWenyuvideoPersionSearchRequest

func NewYoukuWenyuvideoPersionSearchRequest() *YoukuWenyuvideoPersionSearchAPIRequest

NewYoukuWenyuvideoPersionSearchRequest 初始化YoukuWenyuvideoPersionSearchAPIRequest对象

func (YoukuWenyuvideoPersionSearchAPIRequest) GetApiMethodName added in v1.2.0

func (r YoukuWenyuvideoPersionSearchAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (YoukuWenyuvideoPersionSearchAPIRequest) GetApiParams added in v1.2.0

func (r YoukuWenyuvideoPersionSearchAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (YoukuWenyuvideoPersionSearchAPIRequest) GetPersonName added in v1.2.0

GetPersonName PersonName Getter

func (YoukuWenyuvideoPersionSearchAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*YoukuWenyuvideoPersionSearchAPIRequest) SetPersonName added in v1.2.0

func (r *YoukuWenyuvideoPersionSearchAPIRequest) SetPersonName(_personName string) error

SetPersonName is PersonName Setter 人物名字,搜索规则是完全匹配,即只返回同名人物列表

type YoukuWenyuvideoPersionSearchAPIResponse

type YoukuWenyuvideoPersionSearchAPIResponse struct {
	model.CommonResponse
	YoukuWenyuvideoPersionSearchAPIResponseModel
}

YoukuWenyuvideoPersionSearchAPIResponse 根据人物名称查询人物列表 API返回值 youku.wenyuvideo.persion.search

根据人物名称查询人物列表

type YoukuWenyuvideoPersionSearchAPIResponseModel added in v1.2.0

type YoukuWenyuvideoPersionSearchAPIResponseModel struct {
	XMLName xml.Name `xml:"youku_wenyuvideo_persion_search_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *YoukuWenyuvideoPersionSearchResult `json:"result,omitempty" xml:"result,omitempty"`
}

YoukuWenyuvideoPersionSearchAPIResponseModel is 根据人物名称查询人物列表 成功返回结果

type YoukuWenyuvideoPersionSearchResult

type YoukuWenyuvideoPersionSearchResult struct {
	// 业务扩展数据
	BizExtMap string `json:"biz_ext_map,omitempty" xml:"biz_ext_map,omitempty"`
	// 业务错误码
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 业务错误提示
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 人物列表
	Model *PersonDo `json:"model,omitempty" xml:"model,omitempty"`
	// HTTP请求状态
	HttpStatusCode int64 `json:"http_status_code,omitempty" xml:"http_status_code,omitempty"`
	// 接口调用是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

YoukuWenyuvideoPersionSearchResult 结构体

type YoukuWenyuvideoSeetaGetAPIRequest added in v1.2.0

type YoukuWenyuvideoSeetaGetAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

YoukuWenyuvideoSeetaGetAPIRequest 只看TA API请求 youku.wenyuvideo.seeta.get

只看Ta对外输出

func NewYoukuWenyuvideoSeetaGetRequest

func NewYoukuWenyuvideoSeetaGetRequest() *YoukuWenyuvideoSeetaGetAPIRequest

NewYoukuWenyuvideoSeetaGetRequest 初始化YoukuWenyuvideoSeetaGetAPIRequest对象

func (YoukuWenyuvideoSeetaGetAPIRequest) GetApiMethodName added in v1.2.0

func (r YoukuWenyuvideoSeetaGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (YoukuWenyuvideoSeetaGetAPIRequest) GetApiParams added in v1.2.0

func (r YoukuWenyuvideoSeetaGetAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (YoukuWenyuvideoSeetaGetAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (YoukuWenyuvideoSeetaGetAPIRequest) GetVideoStrId added in v1.2.0

func (r YoukuWenyuvideoSeetaGetAPIRequest) GetVideoStrId() string

GetVideoStrId VideoStrId Getter

func (*YoukuWenyuvideoSeetaGetAPIRequest) SetVideoStrId added in v1.2.0

func (r *YoukuWenyuvideoSeetaGetAPIRequest) SetVideoStrId(_videoStrId string) error

SetVideoStrId is VideoStrId Setter 视频字符串形式id

type YoukuWenyuvideoSeetaGetAPIResponse

type YoukuWenyuvideoSeetaGetAPIResponse struct {
	model.CommonResponse
	YoukuWenyuvideoSeetaGetAPIResponseModel
}

YoukuWenyuvideoSeetaGetAPIResponse 只看TA API返回值 youku.wenyuvideo.seeta.get

只看Ta对外输出

type YoukuWenyuvideoSeetaGetAPIResponseModel added in v1.2.0

type YoukuWenyuvideoSeetaGetAPIResponseModel struct {
	XMLName xml.Name `xml:"youku_wenyuvideo_seeta_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *YoukuWenyuvideoSeetaGetResult `json:"result,omitempty" xml:"result,omitempty"`
}

YoukuWenyuvideoSeetaGetAPIResponseModel is 只看TA 成功返回结果

type YoukuWenyuvideoSeetaGetModel

type YoukuWenyuvideoSeetaGetModel struct {
	// logo数组
	Logos []string `json:"logos,omitempty" xml:"logos>string,omitempty"`
	// 名字数组
	Names []string `json:"names,omitempty" xml:"names>string,omitempty"`
	// 片段数组
	Segments []Segments `json:"segments,omitempty" xml:"segments>segments,omitempty"`
}

YoukuWenyuvideoSeetaGetModel 结构体

type YoukuWenyuvideoSeetaGetResult

type YoukuWenyuvideoSeetaGetResult struct {
	// 返回数据
	Values []YoukuWenyuvideoSeetaGetModel `json:"values,omitempty" xml:"values>youku_wenyuvideo_seeta_get_model,omitempty"`
	// msgCode
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// msgInfo
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 结果代码
	HttpStatusCode int64 `json:"http_status_code,omitempty" xml:"http_status_code,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

YoukuWenyuvideoSeetaGetResult 结构体

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL