Documentation
¶
Index ¶
- type AttitudesShowBizParam
- type AttitudesToMeBizParam
- type CommentsByMeBizParam
- type CommentsByMeOtherParam
- type CommentsCreateBizParam
- type CommentsDestroyBizParam
- type CommentsMentionsBizParam
- type CommentsMentionsOtherParam
- type CommentsReplyBizParam
- type CommentsShowAllParam
- type CommentsShowBatchBizParam
- type CommentsShowBizParam
- type CommentsTimelineBizParam
- type CommentsTimelineOtherParam
- type CommentsToMeBizParam
- type CommentsToMeOtherParam
- type FriendshipsCreateBizParam
- type FriendshipsDestroyBizParam
- type FriendshipsFollowersBizParam
- type FriendshipsFollowersDestroyBizParam
- type FriendshipsFriendsBizParam
- type FriendshipsRemarkUpdateBizParam
- type PlaceUserTimelineOtherParam
- type SearchStatusesLimitedParam
- type SearchSuggestionsUsersBizParam
- type SinceMaxPageCountParam
- type StatusesCountBizParam
- type StatusesDestroyBizParam
- type StatusesFilterCreateBizParam
- type StatusesFriendsTimelineBizParam
- type StatusesMentionsBizParam
- type StatusesMentionsOtherParam
- type StatusesMentionsShieldBizParam
- type StatusesPublicTimelineBizParam
- type StatusesRepostBizParam
- type StatusesRepostTimelineAllParam
- type StatusesRepostTimelineBizParam
- type StatusesShowBatchBizParam
- type StatusesUpdateBizParam
- type StatusesUploadBizParam
- type StatusesUploadURLTextBizParam
- type StatusesUserTimelineBatchParam
- type StatusesUserTimelineBizParam
- type TagsBizParam
- type TagsTagsBatchOtherParam
- type UsersCountsBatchOtherParam
- type UsersShowBatchOtherParam
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 ¶
CommentsCreateBizParam : 评论一条微博的参数
type CommentsDestroyBizParam ¶
type CommentsDestroyBizParam struct {
Cid int64
}
CommentsDestroyBizParam : 删除一条评论的参数
type CommentsMentionsBizParam ¶
type CommentsMentionsBizParam struct { SinceMaxPageCountParam Filter_by_source int32 }
CommentsMentionsBizParam : 获取@当前登录用户的评论 api 参数
type CommentsMentionsOtherParam ¶
type CommentsMentionsOtherParam struct { Uid int64 SinceMaxPageCountParam Filter_by_source int32 }
CommentsMentionsOtherParam : 获取@某人的评论参数
type CommentsReplyBizParam ¶
type CommentsReplyBizParam struct { Cid int64 Id int64 Comment string Without_mention int32 Comment_ori int32 Rip string }
CommentsReplyBizParam : 回复一条评论
type CommentsShowAllParam ¶
CommentsShowAllParam : 批量获取用户个人微博列表参数对象
type CommentsShowBatchBizParam ¶
type CommentsShowBatchBizParam struct { //需要查询的批量评论ID,用半角逗号分隔,最大50 Cids string }
CommentsShowBatchBizParam : 批量获取评论内容
type CommentsShowBizParam ¶
type CommentsShowBizParam struct { Id int64 SinceMaxPageCountParam }
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_source int32 }
CommentsToMeBizParam : 获取当前登录用户收到的评论列表参数
type CommentsToMeOtherParam ¶
type CommentsToMeOtherParam struct { Uid int64 SinceMaxPageCountParam Filter_by_source int32 }
CommentsToMeOtherParam : 获取某个用户收到的评论列表
type FriendshipsCreateBizParam ¶
FriendshipsCreateBizParam : 关注某用户
type FriendshipsDestroyBizParam ¶
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 ¶
FriendshipsFriendsBizParam : 获取当前登录用户的关注列表
type FriendshipsRemarkUpdateBizParam ¶
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 ¶
SearchSuggestionsUsersBizParam : 搜用户搜索建议参数
type SinceMaxPageCountParam ¶
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_source int8 Filter_by_type int8 }
StatusesMentionsBizParam : 获取@当前登录用户的微博列表 参数
type StatusesMentionsOtherParam ¶
type StatusesMentionsOtherParam struct { Uid int64 SinceMaxPageCountParam Filter_by_source int8 Filter_by_type int8 }
StatusesMentionsOtherParam : 获取@某人的微博的参数对象
type StatusesMentionsShieldBizParam ¶
StatusesMentionsShieldBizParam : 屏蔽某个@我的微博及后续由其转发引起的@提及 参数
type StatusesPublicTimelineBizParam ¶
StatusesPublicTimelineBizParam : 获取最新的公共微博
type StatusesRepostBizParam ¶
StatusesRepostBizParam : 转发一条微博信息 参数
type StatusesRepostTimelineAllParam ¶
StatusesRepostTimelineAllParam : 返回一条微博的全部转发微博列表参数对象
type StatusesRepostTimelineBizParam ¶
type StatusesRepostTimelineBizParam struct { Id int64 SinceMaxPageCountParam }
StatusesRepostTimelineBizParam : 获取当前登录用户发布的一条原创微博的最新转发微博
type StatusesShowBatchBizParam ¶
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 TagsTagsBatchOtherParam ¶
type TagsTagsBatchOtherParam struct {
Uids string
}
TagsTagsBatchOtherParam : 批量获取用户标签参数
type UsersCountsBatchOtherParam ¶
type UsersCountsBatchOtherParam struct {
Uids string
}
UsersCountsBatchOtherParam : 批量获取用户的粉丝数、关注数、微博数的参数
type UsersShowBatchOtherParam ¶
type UsersShowBatchOtherParam struct {
Uids string
}
UsersShowBatchOtherParam : 批量获取其他用户的基本信息
Source Files
¶
- AttitudesShowBizParam.go
- AttitudesToMeBizParam.go
- CommentsByMeBizParam.go
- CommentsByMeOtherParam.go
- CommentsCreateBizParam.go
- CommentsDestroyBizParam.go
- CommentsMentionsBizParam.go
- CommentsMentionsOtherParam.go
- CommentsReplyBizParam.go
- CommentsShowAllParam.go
- CommentsShowBatchBizParam.go
- CommentsShowBizParam.go
- CommentsTimelineBizParam.go
- CommentsTimelineOtherParam.go
- CommentsToMeBizParam.go
- CommentsToMeOtherParam.go
- FriendshipsCreateBizParam.go
- FriendshipsDestroyBizParam.go
- FriendshipsFollowersBizParam.go
- FriendshipsFollowersDestroyBizParam.go
- FriendshipsFriendsBizParam.go
- FriendshipsRemarkUpdateBizParam.go
- PlaceUserTimelineOtherParam.go
- SearchStatusesLimitedParam.go
- SearchSuggestionsUsersBizParam.go
- SinceMaxPageCountParam.go
- StatusesCountBizParam.go
- StatusesDestroyBizParam.go
- StatusesFilterCreateBizParam.go
- StatusesFriendsTimelineBizParam.go
- StatusesMentionsBizParam.go
- StatusesMentionsOtherParam.go
- StatusesMentionsShieldBizParam.go
- StatusesPublicTimelineBizParam.go
- StatusesRepostBizParam.go
- StatusesRepostTimelineAllParam.go
- StatusesRepostTimelineBizParam.go
- StatusesShowBatchBizParam.go
- StatusesUpdateBizParam.go
- StatusesUploadBizParam.go
- StatusesUploadURLTextBizParam.go
- StatusesUserTimelineBatchParam.go
- StatusesUserTimelineBizParam.go
- TagsBizParam.go
- TagsTagsBatchOtherParam.go
- UsersCountsBatchOtherParam.go
- UsersShowBatchOtherParam.go