param

package
v0.0.0-...-e0ca84f Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2016 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AttitudesShowBizParam

type AttitudesShowBizParam struct {
	Id int64
	SinceMaxPageCountParam
}

AttitudesShowBizParam : 某条微博的赞列表

type AttitudesToMeBizParam

type AttitudesToMeBizParam struct {
	SinceMaxPageCountParam
}

AttitudesToMeBizParam : 收到的赞列表

type CommentsByMeBizParam

type CommentsByMeBizParam struct {
	SinceMaxPageCountParam
	Filter_by_source int32
}

CommentsByMeBizParam : 获取当前登录用户发出的评论列表 参数

type CommentsByMeOtherParam

type CommentsByMeOtherParam struct {
	Uid int64
	SinceMaxPageCountParam
	Filter_by_source int32
}

CommentsByMeOtherParam : 获取某个用户发出的评论列表

type CommentsCreateBizParam

type CommentsCreateBizParam struct {
	Comment     string
	Id          int64
	Comment_ori int32
	Rip         string
}

CommentsCreateBizParam : 评论一条微博的参数

type CommentsDestroyBizParam

type CommentsDestroyBizParam struct {
	Cid int64
}

CommentsDestroyBizParam : 删除一条评论的参数

type CommentsMentionsBizParam

type CommentsMentionsBizParam struct {
	SinceMaxPageCountParam
	Filter_by_author int32
	Filter_by_source int32
}

CommentsMentionsBizParam : 获取@当前登录用户的评论 api 参数

type CommentsMentionsOtherParam

type CommentsMentionsOtherParam struct {
	Uid int64
	SinceMaxPageCountParam
	Filter_by_source int32
	Filter_by_author int32
}

CommentsMentionsOtherParam : 获取@某人的评论参数

type CommentsReplyBizParam

type CommentsReplyBizParam struct {
	Cid             int64
	Id              int64
	Comment         string
	Without_mention int32
	Comment_ori     int32
	Rip             string
}

CommentsReplyBizParam : 回复一条评论

type CommentsShowAllParam

type CommentsShowAllParam struct {
	Id               string
	Count            int32
	Page             int32
	Filter_by_author int32
}

CommentsShowAllParam : 批量获取用户个人微博列表参数对象

type CommentsShowBatchBizParam

type CommentsShowBatchBizParam struct {
	//需要查询的批量评论ID,用半角逗号分隔,最大50
	Cids string
}

CommentsShowBatchBizParam : 批量获取评论内容

type CommentsShowBizParam

type CommentsShowBizParam struct {
	Id int64
	SinceMaxPageCountParam
	Filter_by_author int32
}

CommentsShowBizParam : 获取当前登录用户发布的微博下的评论列表

type CommentsTimelineBizParam

type CommentsTimelineBizParam struct {
	SinceMaxPageCountParam
	Trim_user int32
}

CommentsTimelineBizParam : 获取当前登录用户发出及收到的评论列表 参数

type CommentsTimelineOtherParam

type CommentsTimelineOtherParam struct {
	Uid int64
	SinceMaxPageCountParam
	Trim_user int32
}

CommentsTimelineOtherParam : 获取某个用户发出和收到的评论列表参数

type CommentsToMeBizParam

type CommentsToMeBizParam struct {
	SinceMaxPageCountParam
	Filter_by_author int32
	Filter_by_source int32
}

CommentsToMeBizParam : 获取当前登录用户收到的评论列表参数

type CommentsToMeOtherParam

type CommentsToMeOtherParam struct {
	Uid int64
	SinceMaxPageCountParam
	Filter_by_source int32
	Filter_by_author int32
}

CommentsToMeOtherParam : 获取某个用户收到的评论列表

type FriendshipsCreateBizParam

type FriendshipsCreateBizParam struct {
	Uid         int64
	Screen_name string
	Rip         string
}

FriendshipsCreateBizParam : 关注某用户

type FriendshipsDestroyBizParam

type FriendshipsDestroyBizParam struct {
	Uid         int64
	Screen_name string
}

FriendshipsDestroyBizParam : 取消关注用户

type FriendshipsFollowersBizParam

type FriendshipsFollowersBizParam struct {
	Gender   string
	Province int32
	City     int32
	// 指定接收用户的年龄范围,取值内容为:6-12、13-18、19-22、23-25、26-29、30-39、40-59、60-80、其他。
	Age    string
	Type   int32
	Flag   int32
	Bucket int32
	// 返回结果的时间戳游标,若指定此参数,则返回关注时间小于或等于max_time的粉丝,默认从当前时间开始算。返回结果中会得到next_cursor字段,表示下一页的max_time。next_cursor为0表示已经到记录末尾
	Max_Time   string
	Cursor_uid int64
}

FriendshipsFollowersBizParam : 获取当前登录用户的粉丝列表

type FriendshipsFollowersDestroyBizParam

type FriendshipsFollowersDestroyBizParam struct {
	Uid int64
}

FriendshipsFollowersDestroyBizParam : 移除当前登录用户的粉丝

type FriendshipsFriendsBizParam

type FriendshipsFriendsBizParam struct {
	Page        int32
	Count       int32
	Trim_status int32
}

FriendshipsFriendsBizParam : 获取当前登录用户的关注列表

type FriendshipsRemarkUpdateBizParam

type FriendshipsRemarkUpdateBizParam struct {
	Uid    int64
	Remark string
}

FriendshipsRemarkUpdateBizParam : 更新关注人备注

type PlaceUserTimelineOtherParam

type PlaceUserTimelineOtherParam struct {
	Uid int64
	SinceMaxPageCountParam
	Base_app int32
}

PlaceUserTimelineOtherParam : 获取某个用户的位置动态

type SearchStatusesLimitedParam

type SearchStatusesLimitedParam struct {
	Q         string
	Ids       string
	Province  string
	City      int
	Sort      int
	Starttime int64
	Endtime   int64
	Hasori    int
	Hasret    int
	Hastext   int
	Haspic    int
	Hasvideo  int
	Hasmusic  int
	Haslink   int
	Hasat     int
	Hasv      int
	Hstag     int
	Hnlynum   int
	Dup       int
	Antispam  int
	Page      int
	Count     int
	Base_app  int
}

SearchStatusesLimitedParam : 关键词搜索的参数。 http://open.weibo.com/wiki/C/2/search/statuses/limited

type SearchSuggestionsUsersBizParam

type SearchSuggestionsUsersBizParam struct {
	Q     string
	Count int32
}

SearchSuggestionsUsersBizParam : 搜用户搜索建议参数

type SinceMaxPageCountParam

type SinceMaxPageCountParam struct {
	Since_id int64
	Max_id   int64
	Count    int32
	Page     int32
}

SinceMaxPageCountParam : sice, max, page, count参数

type StatusesCountBizParam

type StatusesCountBizParam struct {
	Ids string
}

StatusesCountBizParam : 批量获取指定微博的转发数评论数喜欢数 参数

type StatusesDestroyBizParam

type StatusesDestroyBizParam struct {
	Id int64
}

StatusesDestroyBizParam : 删除一条微博的参数

type StatusesFilterCreateBizParam

type StatusesFilterCreateBizParam struct {
	Id int64
}

StatusesFilterCreateBizParam : 屏蔽某条微博

type StatusesFriendsTimelineBizParam

type StatusesFriendsTimelineBizParam struct {
	SinceMaxPageCountParam
	Base_app  int32
	Feature   int32
	Trim_user int32
}

StatusesFriendsTimelineBizParam : 获取当前登录用户及其所关注用户的最新微博 参数

type StatusesMentionsBizParam

type StatusesMentionsBizParam struct {
	SinceMaxPageCountParam
	Filter_by_author int8
	Filter_by_source int8
	Filter_by_type   int8
}

StatusesMentionsBizParam : 获取@当前登录用户的微博列表 参数

type StatusesMentionsOtherParam

type StatusesMentionsOtherParam struct {
	Uid int64
	SinceMaxPageCountParam
	Filter_by_author int8
	Filter_by_source int8
	Filter_by_type   int8
}

StatusesMentionsOtherParam : 获取@某人的微博的参数对象

type StatusesMentionsShieldBizParam

type StatusesMentionsShieldBizParam struct {
	Id        int64
	Follow_up int32
}

StatusesMentionsShieldBizParam : 屏蔽某个@我的微博及后续由其转发引起的@提及 参数

type StatusesPublicTimelineBizParam

type StatusesPublicTimelineBizParam struct {
	Count    int32
	Page     int32
	Base_app int32
}

StatusesPublicTimelineBizParam : 获取最新的公共微博

type StatusesRepostBizParam

type StatusesRepostBizParam struct {
	Id         int64
	Status     string
	Is_comment int32
	Rip        string
}

StatusesRepostBizParam : 转发一条微博信息 参数

type StatusesRepostTimelineAllParam

type StatusesRepostTimelineAllParam struct {
	Id               int64
	Count            int32
	Page             int32
	Filter_by_author int8
}

StatusesRepostTimelineAllParam : 返回一条微博的全部转发微博列表参数对象

type StatusesRepostTimelineBizParam

type StatusesRepostTimelineBizParam struct {
	Id int64
	SinceMaxPageCountParam
	Filter_by_author int8
}

StatusesRepostTimelineBizParam : 获取当前登录用户发布的一条原创微博的最新转发微博

type StatusesShowBatchBizParam

type StatusesShowBatchBizParam struct {
	Ids           string
	Trim_user     int32
	IsGetLongText int32
}

StatusesShowBatchBizParam : 根据微博ID批量获取微博信息 参数

type StatusesUpdateBizParam

type StatusesUpdateBizParam struct {
	Status      string
	Visible     int32
	List_id     string
	Lat         float32
	Long        float32
	Annotations string
	Rip         string
	Is_longtext int32
}

StatusesUpdateBizParam : 发布一条微博信息 参数

type StatusesUploadBizParam

type StatusesUploadBizParam struct {
	Status      string
	Visible     int32
	List_id     string
	Lat         string
	Long        float32
	Annotations string
	Rip         string
	Pic         *os.File
}

StatusesUploadBizParam : 上传图片并发布一条微博 参数 还有一个pic字段,这个额外传,因为它是一个文件

func (*StatusesUploadBizParam) String

func (s *StatusesUploadBizParam) String() string

type StatusesUploadURLTextBizParam

type StatusesUploadURLTextBizParam struct {
	Status      string
	Visible     int32
	List_id     string
	Url         string
	Pic_id      string
	Lat         string
	Long        float32
	Annotations string
	Rip         string
}

StatusesUploadURLTextBizParam : 参数 picid或url必选一个,两个参数都存在时,取picid参数的值为准;

type StatusesUserTimelineBatchParam

type StatusesUserTimelineBatchParam struct {
	Uids     string
	Count    int32
	Page     int32
	Flag     int32
	Base_app int32
	Feature  int32
}

StatusesUserTimelineBatchParam : 批量获取用户个人微博列表参数对象

type StatusesUserTimelineBizParam

type StatusesUserTimelineBizParam struct {
	SinceMaxPageCountParam
	Flag      int32
	Base_app  int32
	Feature   int32
	Trim_user int32
}

StatusesUserTimelineBizParam : 获取当前登录用户发布的微博 参数对象

type TagsBizParam

type TagsBizParam struct {
	Page  int32
	Count int32
}

TagsBizParam : 获取当前登录用户的标签

type TagsTagsBatchOtherParam

type TagsTagsBatchOtherParam struct {
	Uids string
}

TagsTagsBatchOtherParam : 批量获取用户标签参数

type UsersCountsBatchOtherParam

type UsersCountsBatchOtherParam struct {
	Uids string
}

UsersCountsBatchOtherParam : 批量获取用户的粉丝数、关注数、微博数的参数

type UsersShowBatchOtherParam

type UsersShowBatchOtherParam struct {
	Uids string
}

UsersShowBatchOtherParam : 批量获取其他用户的基本信息

Jump to

Keyboard shortcuts

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