Documentation ¶
Overview ¶
tweetlib - A fully oauth-authenticated Go Twitter library
Copyright 2011 The Tweetlib Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
Index ¶
- Variables
- type AccountRateLimitStatusCall
- type AccountService
- type AccountUpdateProfileCall
- func (c *AccountUpdateProfileCall) Description(description string) *AccountUpdateProfileCall
- func (c *AccountUpdateProfileCall) Do() (*User, error)
- func (c *AccountUpdateProfileCall) IncludeEntities(include_entities bool) *AccountUpdateProfileCall
- func (c *AccountUpdateProfileCall) Location(location string) *AccountUpdateProfileCall
- func (c *AccountUpdateProfileCall) Name(name string) *AccountUpdateProfileCall
- func (c *AccountUpdateProfileCall) SkipStatus(skip_status bool) *AccountUpdateProfileCall
- func (c *AccountUpdateProfileCall) Url(url string) *AccountUpdateProfileCall
- type AccountVerifyCredentialsCall
- type Category
- type CategoryList
- type Config
- type Configuration
- type DMDestroyCall
- type DMMessagesCall
- func (c *DMMessagesCall) Count(count int) *DMMessagesCall
- func (c *DMMessagesCall) Do() (*MessageList, error)
- func (c *DMMessagesCall) IncludeEntities(include_entities bool) *DMMessagesCall
- func (c *DMMessagesCall) MaxId(max_id string) *DMMessagesCall
- func (c *DMMessagesCall) Page(page int) *DMMessagesCall
- func (c *DMMessagesCall) SinceId(since_id string) *DMMessagesCall
- func (c *DMMessagesCall) SkipStatus(skip_status bool) *DMMessagesCall
- type DMMessagesSentCall
- func (c *DMMessagesSentCall) Count(count int) *DMMessagesSentCall
- func (c *DMMessagesSentCall) Do() (*MessageList, error)
- func (c *DMMessagesSentCall) IncludeEntities(include_entities bool) *DMMessagesSentCall
- func (c *DMMessagesSentCall) MaxId(max_id string) *DMMessagesSentCall
- func (c *DMMessagesSentCall) Page(page int) *DMMessagesSentCall
- func (c *DMMessagesSentCall) SinceId(since_id string) *DMMessagesSentCall
- type DMNewCall
- type DMService
- type DMShowCall
- type Entities
- type HelpConfigurationCall
- type HelpService
- type LimitStatus
- type List
- type ListList
- type ListsAllCall
- type ListsService
- type MediaEntity
- type Message
- type MessageList
- type PhotoLimits
- type PhotoSize
- type SearchSearchCall
- func (c *SearchSearchCall) Callback(callback string) *SearchSearchCall
- func (c *SearchSearchCall) Do() (*TweetList, error)
- func (c *SearchSearchCall) Geocode(geocode string) *SearchSearchCall
- func (c *SearchSearchCall) IncludeEntities(include_entities bool) *SearchSearchCall
- func (c *SearchSearchCall) Lang(lang string) *SearchSearchCall
- func (c *SearchSearchCall) Locale(locale string) *SearchSearchCall
- func (c *SearchSearchCall) Page(page int) *SearchSearchCall
- func (c *SearchSearchCall) ResultType(result_type string) *SearchSearchCall
- func (c *SearchSearchCall) Rpp(rpp int) *SearchSearchCall
- func (c *SearchSearchCall) ShowUser(show_user bool) *SearchSearchCall
- func (c *SearchSearchCall) SinceId(since_id string) *SearchSearchCall
- func (c *SearchSearchCall) Until(until string) *SearchSearchCall
- type SearchService
- type Service
- type TempToken
- type TimelinesHomeTimelineCall
- func (c *TimelinesHomeTimelineCall) ContributorDetails(contributor_details bool) *TimelinesHomeTimelineCall
- func (c *TimelinesHomeTimelineCall) Count(count int) *TimelinesHomeTimelineCall
- func (c *TimelinesHomeTimelineCall) Do() (*TweetList, error)
- func (c *TimelinesHomeTimelineCall) ExcludeReplies(exclude_replies bool) *TimelinesHomeTimelineCall
- func (c *TimelinesHomeTimelineCall) IncludeEntities(include_entities bool) *TimelinesHomeTimelineCall
- func (c *TimelinesHomeTimelineCall) IncludeRTS(include_rts bool) *TimelinesHomeTimelineCall
- func (c *TimelinesHomeTimelineCall) MaxId(max_id string) *TimelinesHomeTimelineCall
- func (c *TimelinesHomeTimelineCall) Page(page int) *TimelinesHomeTimelineCall
- func (c *TimelinesHomeTimelineCall) SinceId(since_id string) *TimelinesHomeTimelineCall
- func (c *TimelinesHomeTimelineCall) TrimUser(trim_user bool) *TimelinesHomeTimelineCall
- type TimelinesListCall
- type TimelinesMentionsCall
- func (c *TimelinesMentionsCall) ContributorDetails(contributor_details bool) *TimelinesMentionsCall
- func (c *TimelinesMentionsCall) Count(count int) *TimelinesMentionsCall
- func (c *TimelinesMentionsCall) Do() (*TweetList, error)
- func (c *TimelinesMentionsCall) ExcludeReplies(exclude_replies bool) *TimelinesMentionsCall
- func (c *TimelinesMentionsCall) IncludeEntities(include_entities bool) *TimelinesMentionsCall
- func (c *TimelinesMentionsCall) IncludeRTS(include_rts bool) *TimelinesMentionsCall
- func (c *TimelinesMentionsCall) MaxId(max_id string) *TimelinesMentionsCall
- func (c *TimelinesMentionsCall) Page(page int) *TimelinesMentionsCall
- func (c *TimelinesMentionsCall) SinceId(since_id string) *TimelinesMentionsCall
- func (c *TimelinesMentionsCall) TrimUser(trim_user bool) *TimelinesMentionsCall
- type TimelinesPublicTimelineCall
- type TimelinesRetweetedByMeCall
- func (c *TimelinesRetweetedByMeCall) ContributorDetails(contributor_details bool) *TimelinesRetweetedByMeCall
- func (c *TimelinesRetweetedByMeCall) Count(count int) *TimelinesRetweetedByMeCall
- func (c *TimelinesRetweetedByMeCall) Do() (*TweetList, error)
- func (c *TimelinesRetweetedByMeCall) ExcludeReplies(exclude_replies bool) *TimelinesRetweetedByMeCall
- func (c *TimelinesRetweetedByMeCall) IncludeEntities(include_entities bool) *TimelinesRetweetedByMeCall
- func (c *TimelinesRetweetedByMeCall) IncludeRTS(include_rts bool) *TimelinesRetweetedByMeCall
- func (c *TimelinesRetweetedByMeCall) MaxId(max_id string) *TimelinesRetweetedByMeCall
- func (c *TimelinesRetweetedByMeCall) Page(page int) *TimelinesRetweetedByMeCall
- func (c *TimelinesRetweetedByMeCall) SinceId(since_id string) *TimelinesRetweetedByMeCall
- func (c *TimelinesRetweetedByMeCall) TrimUser(trim_user bool) *TimelinesRetweetedByMeCall
- type TimelinesRetweetedByUserCall
- func (c *TimelinesRetweetedByUserCall) Count(count int) *TimelinesRetweetedByUserCall
- func (c *TimelinesRetweetedByUserCall) Do() (*TweetList, error)
- func (c *TimelinesRetweetedByUserCall) IncludeEntities(include_entities bool) *TimelinesRetweetedByUserCall
- func (c *TimelinesRetweetedByUserCall) MaxId(max_id string) *TimelinesRetweetedByUserCall
- func (c *TimelinesRetweetedByUserCall) Page(page int) *TimelinesRetweetedByUserCall
- func (c *TimelinesRetweetedByUserCall) SinceId(since_id string) *TimelinesRetweetedByUserCall
- func (c *TimelinesRetweetedByUserCall) TrimUser(trim_user bool) *TimelinesRetweetedByUserCall
- type TimelinesRetweetedToMeCall
- func (c *TimelinesRetweetedToMeCall) ContributorDetails(contributor_details bool) *TimelinesRetweetedToMeCall
- func (c *TimelinesRetweetedToMeCall) Count(count int) *TimelinesRetweetedToMeCall
- func (c *TimelinesRetweetedToMeCall) Do() (*TweetList, error)
- func (c *TimelinesRetweetedToMeCall) ExcludeReplies(exclude_replies bool) *TimelinesRetweetedToMeCall
- func (c *TimelinesRetweetedToMeCall) IncludeEntities(include_entities bool) *TimelinesRetweetedToMeCall
- func (c *TimelinesRetweetedToMeCall) IncludeRTS(include_rts bool) *TimelinesRetweetedToMeCall
- func (c *TimelinesRetweetedToMeCall) MaxId(max_id string) *TimelinesRetweetedToMeCall
- func (c *TimelinesRetweetedToMeCall) Page(page int) *TimelinesRetweetedToMeCall
- func (c *TimelinesRetweetedToMeCall) SinceId(since_id string) *TimelinesRetweetedToMeCall
- func (c *TimelinesRetweetedToMeCall) TrimUser(trim_user bool) *TimelinesRetweetedToMeCall
- type TimelinesRetweetedToUserCall
- func (c *TimelinesRetweetedToUserCall) Count(count int) *TimelinesRetweetedToUserCall
- func (c *TimelinesRetweetedToUserCall) Do() (*TweetList, error)
- func (c *TimelinesRetweetedToUserCall) IncludeEntities(include_entities bool) *TimelinesRetweetedToUserCall
- func (c *TimelinesRetweetedToUserCall) MaxId(max_id string) *TimelinesRetweetedToUserCall
- func (c *TimelinesRetweetedToUserCall) Page(page int) *TimelinesRetweetedToUserCall
- func (c *TimelinesRetweetedToUserCall) SinceId(since_id string) *TimelinesRetweetedToUserCall
- func (c *TimelinesRetweetedToUserCall) TrimUser(trim_user bool) *TimelinesRetweetedToUserCall
- type TimelinesRetweetsOfMeCall
- func (c *TimelinesRetweetsOfMeCall) Count(count int) *TimelinesRetweetsOfMeCall
- func (c *TimelinesRetweetsOfMeCall) Do() (*TweetList, error)
- func (c *TimelinesRetweetsOfMeCall) IncludeEntities(include_entities bool) *TimelinesRetweetsOfMeCall
- func (c *TimelinesRetweetsOfMeCall) MaxId(max_id string) *TimelinesRetweetsOfMeCall
- func (c *TimelinesRetweetsOfMeCall) Page(page int) *TimelinesRetweetsOfMeCall
- func (c *TimelinesRetweetsOfMeCall) SinceId(since_id string) *TimelinesRetweetsOfMeCall
- func (c *TimelinesRetweetsOfMeCall) TrimUser(trim_user bool) *TimelinesRetweetsOfMeCall
- type TimelinesService
- func (r *TimelinesService) HomeTimeline() *TimelinesHomeTimelineCall
- func (r *TimelinesService) List(userid string) *TimelinesListCall
- func (r *TimelinesService) Mentions() *TimelinesMentionsCall
- func (r *TimelinesService) PublicTimeline() *TimelinesPublicTimelineCall
- func (r *TimelinesService) RetweetedByMe() *TimelinesRetweetedByMeCall
- func (r *TimelinesService) RetweetedByUser(id string) *TimelinesRetweetedByUserCall
- func (r *TimelinesService) RetweetedToMe() *TimelinesRetweetedToMeCall
- func (r *TimelinesService) RetweetedToUser(id string) *TimelinesRetweetedToUserCall
- func (r *TimelinesService) RetweetsOfMe() *TimelinesRetweetsOfMeCall
- type Token
- type Transport
- type TrendLocation
- type TrendLocationList
- type Tweet
- type TweetList
- type TweetsDestroyCall
- type TweetsRetweetCall
- type TweetsRetweetedByCall
- type TweetsRetweetedByIdsCall
- type TweetsRetweetsCall
- func (c *TweetsRetweetsCall) Count(count int) *TweetsRetweetsCall
- func (c *TweetsRetweetsCall) Do() (*TweetList, error)
- func (c *TweetsRetweetsCall) IncludeEntities(include_entities bool) *TweetsRetweetsCall
- func (c *TweetsRetweetsCall) Page(page int) *TweetsRetweetsCall
- func (c *TweetsRetweetsCall) TrimUser(trim_user bool) *TweetsRetweetsCall
- type TweetsService
- func (r *TweetsService) Destroy(id string) *TweetsDestroyCall
- func (r *TweetsService) Retweet(id string) *TweetsRetweetCall
- func (r *TweetsService) RetweetedBy(id string) *TweetsRetweetedByCall
- func (r *TweetsService) RetweetedByIds(id string) *TweetsRetweetedByIdsCall
- func (r *TweetsService) Retweets(id string) *TweetsRetweetsCall
- func (r *TweetsService) Show(id string) *TweetsShowCall
- func (r *TweetsService) Update(status string) *TweetsUpdateCall
- func (r *TweetsService) UpdateWithMedia(status, mediaName string, mediaData []byte) *TweetsUpdateWithMediaCall
- type TweetsShowCall
- type TweetsUpdateCall
- type TweetsUpdateWithMediaCall
- type UrlEntity
- type User
- type UserList
- type UsersContributeesCall
- func (c *UsersContributeesCall) Do() (*UserList, error)
- func (c *UsersContributeesCall) IncludeEntities(include_entities bool) *UsersContributeesCall
- func (c *UsersContributeesCall) ScreenName(screen_name string) *UsersContributeesCall
- func (c *UsersContributeesCall) SkipStatus(skip_status bool) *UsersContributeesCall
- func (c *UsersContributeesCall) UserId(user_id string) *UsersContributeesCall
- type UsersContributorsCall
- func (c *UsersContributorsCall) Do() (*Tweet, error)
- func (c *UsersContributorsCall) IncludeEntities(include_entities bool) *UsersContributorsCall
- func (c *UsersContributorsCall) ScreenName(screen_name string) *UsersContributorsCall
- func (c *UsersContributorsCall) SkipStatus(skip_status bool) *UsersContributorsCall
- func (c *UsersContributorsCall) UserId(user_id string) *UsersContributorsCall
- type UsersLookUpCall
- type UsersSearchCall
- type UsersService
- func (r *UsersService) Contributees() *UsersContributeesCall
- func (r *UsersService) Contributors() *UsersContributorsCall
- func (r *UsersService) LookUp() *UsersLookUpCall
- func (r *UsersService) Search(q string) *UsersSearchCall
- func (r *UsersService) Show() *UsersShowCall
- func (r *UsersService) SuggestedCategories() *UsersSuggestedCategoriesCall
- func (r *UsersService) SuggestedUsers(slug string) *UsersSuggestedUsersCall
- type UsersShowCall
- type UsersSuggestedCategoriesCall
- type UsersSuggestedUsersCall
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrOAuth = errors.New("OAuth failure")
)
Functions ¶
This section is empty.
Types ¶
type AccountRateLimitStatusCall ¶
type AccountRateLimitStatusCall struct {
// contains filtered or unexported fields
}
func (*AccountRateLimitStatusCall) Do ¶
func (c *AccountRateLimitStatusCall) Do() (*LimitStatus, error)
type AccountService ¶
type AccountService struct {
// contains filtered or unexported fields
}
func (*AccountService) RateLimitStatus ¶
func (r *AccountService) RateLimitStatus() *AccountRateLimitStatusCall
func (*AccountService) UpdateProfile ¶
func (r *AccountService) UpdateProfile() *AccountUpdateProfileCall
func (*AccountService) VerifyCredentials ¶
func (r *AccountService) VerifyCredentials() *AccountVerifyCredentialsCall
type AccountUpdateProfileCall ¶
type AccountUpdateProfileCall struct {
// contains filtered or unexported fields
}
func (*AccountUpdateProfileCall) Description ¶
func (c *AccountUpdateProfileCall) Description(description string) *AccountUpdateProfileCall
func (*AccountUpdateProfileCall) Do ¶
func (c *AccountUpdateProfileCall) Do() (*User, error)
func (*AccountUpdateProfileCall) IncludeEntities ¶
func (c *AccountUpdateProfileCall) IncludeEntities(include_entities bool) *AccountUpdateProfileCall
func (*AccountUpdateProfileCall) Location ¶
func (c *AccountUpdateProfileCall) Location(location string) *AccountUpdateProfileCall
func (*AccountUpdateProfileCall) Name ¶
func (c *AccountUpdateProfileCall) Name(name string) *AccountUpdateProfileCall
func (*AccountUpdateProfileCall) SkipStatus ¶
func (c *AccountUpdateProfileCall) SkipStatus(skip_status bool) *AccountUpdateProfileCall
func (*AccountUpdateProfileCall) Url ¶
func (c *AccountUpdateProfileCall) Url(url string) *AccountUpdateProfileCall
type AccountVerifyCredentialsCall ¶
type AccountVerifyCredentialsCall struct {
// contains filtered or unexported fields
}
func (*AccountVerifyCredentialsCall) Do ¶
func (c *AccountVerifyCredentialsCall) Do() (*User, error)
func (*AccountVerifyCredentialsCall) IncludeEntities ¶
func (c *AccountVerifyCredentialsCall) IncludeEntities(include_entities bool) *AccountVerifyCredentialsCall
func (*AccountVerifyCredentialsCall) SkipStatus ¶
func (c *AccountVerifyCredentialsCall) SkipStatus(skip_status bool) *AccountVerifyCredentialsCall
type CategoryList ¶
type CategoryList []Category
type Configuration ¶
type Configuration struct { CharactersReservedPerMedia int `json:"characters_reserved_per_media"` MaxMediaPerUpload int `json:"max_media_per_upload"` NonUsernamePaths []string `json:"non_username_paths"` PhotoSizeLimit int `json:"photo_size_limit"` PhotoSizes map[string]PhotoSize `json:"photo_sizes"` ShortUrlLengthHttps int `json:"short_url_length_https"` ShortUrlLength int `json:"short_url_length"` }
type DMDestroyCall ¶
type DMDestroyCall struct {
// contains filtered or unexported fields
}
func (*DMDestroyCall) Do ¶
func (c *DMDestroyCall) Do() (*Message, error)
func (*DMDestroyCall) Id ¶
func (c *DMDestroyCall) Id(id string) *DMDestroyCall
func (*DMDestroyCall) IncludeEntities ¶
func (c *DMDestroyCall) IncludeEntities(include_entities bool) *DMDestroyCall
type DMMessagesCall ¶
type DMMessagesCall struct {
// contains filtered or unexported fields
}
func (*DMMessagesCall) Count ¶
func (c *DMMessagesCall) Count(count int) *DMMessagesCall
func (*DMMessagesCall) Do ¶
func (c *DMMessagesCall) Do() (*MessageList, error)
func (*DMMessagesCall) IncludeEntities ¶
func (c *DMMessagesCall) IncludeEntities(include_entities bool) *DMMessagesCall
func (*DMMessagesCall) MaxId ¶
func (c *DMMessagesCall) MaxId(max_id string) *DMMessagesCall
func (*DMMessagesCall) Page ¶
func (c *DMMessagesCall) Page(page int) *DMMessagesCall
func (*DMMessagesCall) SinceId ¶
func (c *DMMessagesCall) SinceId(since_id string) *DMMessagesCall
func (*DMMessagesCall) SkipStatus ¶
func (c *DMMessagesCall) SkipStatus(skip_status bool) *DMMessagesCall
type DMMessagesSentCall ¶
type DMMessagesSentCall struct {
// contains filtered or unexported fields
}
func (*DMMessagesSentCall) Count ¶
func (c *DMMessagesSentCall) Count(count int) *DMMessagesSentCall
func (*DMMessagesSentCall) Do ¶
func (c *DMMessagesSentCall) Do() (*MessageList, error)
func (*DMMessagesSentCall) IncludeEntities ¶
func (c *DMMessagesSentCall) IncludeEntities(include_entities bool) *DMMessagesSentCall
func (*DMMessagesSentCall) MaxId ¶
func (c *DMMessagesSentCall) MaxId(max_id string) *DMMessagesSentCall
func (*DMMessagesSentCall) Page ¶
func (c *DMMessagesSentCall) Page(page int) *DMMessagesSentCall
func (*DMMessagesSentCall) SinceId ¶
func (c *DMMessagesSentCall) SinceId(since_id string) *DMMessagesSentCall
type DMNewCall ¶
type DMNewCall struct {
// contains filtered or unexported fields
}
func (*DMNewCall) ScreenName ¶
type DMService ¶
type DMService struct {
// contains filtered or unexported fields
}
func (*DMService) Destroy ¶
func (r *DMService) Destroy(id string) *DMDestroyCall
func (*DMService) Messages ¶
func (r *DMService) Messages() *DMMessagesCall
func (*DMService) MessagesSent ¶
func (r *DMService) MessagesSent() *DMMessagesSentCall
func (*DMService) Show ¶
func (r *DMService) Show(id string) *DMShowCall
type DMShowCall ¶
type DMShowCall struct {
// contains filtered or unexported fields
}
func (*DMShowCall) Do ¶
func (c *DMShowCall) Do() (*Message, error)
type Entities ¶
type Entities struct { Media *[]MediaEntity Urls *[]UrlEntity }
type HelpConfigurationCall ¶
type HelpConfigurationCall struct {
// contains filtered or unexported fields
}
func (*HelpConfigurationCall) Do ¶
func (c *HelpConfigurationCall) Do() (*Configuration, error)
type HelpService ¶
type HelpService struct {
// contains filtered or unexported fields
}
func (*HelpService) Configuration ¶
func (r *HelpService) Configuration() *HelpConfigurationCall
type LimitStatus ¶
type LimitStatus struct { RemainingHits int `json:"remaining_hits"` ResetTimeInSeconds int `json:"reset_time_in_secods"` HourlyLimit int `json:"hourly_limit"` ResetTime string `json:"reset_time"` Photos *PhotoLimits `json:"photos"` }
type List ¶
type List struct { User *User `json:"user"` Name string `json:"name"` Slug string `json:"slug"` Mode string `json:"mode"` IdStr string `json:"id_str"` Uri string `json:"uri"` Id int `json:"id"` MemberCount int `json:"member_count"` Following bool `json:"following"` FullName string `json:"full_name"` SubscriberCount int `json:"subscriber_count"` Description string `json:"description"` }
type ListsAllCall ¶
type ListsAllCall struct {
// contains filtered or unexported fields
}
func (*ListsAllCall) Do ¶
func (c *ListsAllCall) Do() (*ListList, error)
func (*ListsAllCall) ScreenName ¶
func (c *ListsAllCall) ScreenName(screen_name string) *ListsAllCall
func (*ListsAllCall) UserId ¶
func (c *ListsAllCall) UserId(user_id string) *ListsAllCall
type ListsService ¶
type ListsService struct {
// contains filtered or unexported fields
}
func (*ListsService) All ¶
func (r *ListsService) All() *ListsAllCall
type MediaEntity ¶
type Message ¶
type Message struct { CreatedAt string `json:"created_at"` SenderScreenName string `json:"sender_screen_name"` Sender *User `json:"sender"` Text string `json:"text"` RecipientScreenName string `json:"recipient_screen_name"` Id string `json:"id"` Recipient *User `json:"recipient"` RecipientId string `json:"recipient_id"` SenderId string `json:"sender_id"` }
type MessageList ¶
type MessageList []Message
type PhotoLimits ¶
type SearchSearchCall ¶
type SearchSearchCall struct {
// contains filtered or unexported fields
}
func (*SearchSearchCall) Callback ¶
func (c *SearchSearchCall) Callback(callback string) *SearchSearchCall
func (*SearchSearchCall) Do ¶
func (c *SearchSearchCall) Do() (*TweetList, error)
func (*SearchSearchCall) Geocode ¶
func (c *SearchSearchCall) Geocode(geocode string) *SearchSearchCall
func (*SearchSearchCall) IncludeEntities ¶
func (c *SearchSearchCall) IncludeEntities(include_entities bool) *SearchSearchCall
func (*SearchSearchCall) Lang ¶
func (c *SearchSearchCall) Lang(lang string) *SearchSearchCall
func (*SearchSearchCall) Locale ¶
func (c *SearchSearchCall) Locale(locale string) *SearchSearchCall
func (*SearchSearchCall) Page ¶
func (c *SearchSearchCall) Page(page int) *SearchSearchCall
func (*SearchSearchCall) ResultType ¶
func (c *SearchSearchCall) ResultType(result_type string) *SearchSearchCall
func (*SearchSearchCall) Rpp ¶
func (c *SearchSearchCall) Rpp(rpp int) *SearchSearchCall
func (*SearchSearchCall) ShowUser ¶
func (c *SearchSearchCall) ShowUser(show_user bool) *SearchSearchCall
func (*SearchSearchCall) SinceId ¶
func (c *SearchSearchCall) SinceId(since_id string) *SearchSearchCall
func (*SearchSearchCall) Until ¶
func (c *SearchSearchCall) Until(until string) *SearchSearchCall
type SearchService ¶
type SearchService struct {
// contains filtered or unexported fields
}
func (*SearchService) Search ¶
func (r *SearchService) Search(q string) *SearchSearchCall
type Service ¶
type Service struct { Timelines *TimelinesService Tweets *TweetsService Help *HelpService Search *SearchService DM *DMService Users *UsersService Account *AccountService Lists *ListsService // contains filtered or unexported fields }
type TimelinesHomeTimelineCall ¶
type TimelinesHomeTimelineCall struct {
// contains filtered or unexported fields
}
func (*TimelinesHomeTimelineCall) ContributorDetails ¶
func (c *TimelinesHomeTimelineCall) ContributorDetails(contributor_details bool) *TimelinesHomeTimelineCall
func (*TimelinesHomeTimelineCall) Count ¶
func (c *TimelinesHomeTimelineCall) Count(count int) *TimelinesHomeTimelineCall
func (*TimelinesHomeTimelineCall) Do ¶
func (c *TimelinesHomeTimelineCall) Do() (*TweetList, error)
func (*TimelinesHomeTimelineCall) ExcludeReplies ¶
func (c *TimelinesHomeTimelineCall) ExcludeReplies(exclude_replies bool) *TimelinesHomeTimelineCall
func (*TimelinesHomeTimelineCall) IncludeEntities ¶
func (c *TimelinesHomeTimelineCall) IncludeEntities(include_entities bool) *TimelinesHomeTimelineCall
func (*TimelinesHomeTimelineCall) IncludeRTS ¶
func (c *TimelinesHomeTimelineCall) IncludeRTS(include_rts bool) *TimelinesHomeTimelineCall
func (*TimelinesHomeTimelineCall) MaxId ¶
func (c *TimelinesHomeTimelineCall) MaxId(max_id string) *TimelinesHomeTimelineCall
func (*TimelinesHomeTimelineCall) Page ¶
func (c *TimelinesHomeTimelineCall) Page(page int) *TimelinesHomeTimelineCall
func (*TimelinesHomeTimelineCall) SinceId ¶
func (c *TimelinesHomeTimelineCall) SinceId(since_id string) *TimelinesHomeTimelineCall
func (*TimelinesHomeTimelineCall) TrimUser ¶
func (c *TimelinesHomeTimelineCall) TrimUser(trim_user bool) *TimelinesHomeTimelineCall
type TimelinesListCall ¶
type TimelinesListCall struct {
// contains filtered or unexported fields
}
func (*TimelinesListCall) Count ¶
func (c *TimelinesListCall) Count(count int) *TimelinesListCall
Language sets the optional parameter "language": Specify the preferred language to search with. See search language codes for available values.
func (*TimelinesListCall) Do ¶
func (c *TimelinesListCall) Do() (*TweetList, error)
type TimelinesMentionsCall ¶
type TimelinesMentionsCall struct {
// contains filtered or unexported fields
}
func (*TimelinesMentionsCall) ContributorDetails ¶
func (c *TimelinesMentionsCall) ContributorDetails(contributor_details bool) *TimelinesMentionsCall
func (*TimelinesMentionsCall) Count ¶
func (c *TimelinesMentionsCall) Count(count int) *TimelinesMentionsCall
func (*TimelinesMentionsCall) Do ¶
func (c *TimelinesMentionsCall) Do() (*TweetList, error)
func (*TimelinesMentionsCall) ExcludeReplies ¶
func (c *TimelinesMentionsCall) ExcludeReplies(exclude_replies bool) *TimelinesMentionsCall
func (*TimelinesMentionsCall) IncludeEntities ¶
func (c *TimelinesMentionsCall) IncludeEntities(include_entities bool) *TimelinesMentionsCall
func (*TimelinesMentionsCall) IncludeRTS ¶
func (c *TimelinesMentionsCall) IncludeRTS(include_rts bool) *TimelinesMentionsCall
func (*TimelinesMentionsCall) MaxId ¶
func (c *TimelinesMentionsCall) MaxId(max_id string) *TimelinesMentionsCall
func (*TimelinesMentionsCall) Page ¶
func (c *TimelinesMentionsCall) Page(page int) *TimelinesMentionsCall
func (*TimelinesMentionsCall) SinceId ¶
func (c *TimelinesMentionsCall) SinceId(since_id string) *TimelinesMentionsCall
func (*TimelinesMentionsCall) TrimUser ¶
func (c *TimelinesMentionsCall) TrimUser(trim_user bool) *TimelinesMentionsCall
type TimelinesPublicTimelineCall ¶
type TimelinesPublicTimelineCall struct {
// contains filtered or unexported fields
}
func (*TimelinesPublicTimelineCall) Do ¶
func (c *TimelinesPublicTimelineCall) Do() (*TweetList, error)
func (*TimelinesPublicTimelineCall) IncludeEntities ¶
func (c *TimelinesPublicTimelineCall) IncludeEntities(include_entities bool) *TimelinesPublicTimelineCall
func (*TimelinesPublicTimelineCall) TrimUser ¶
func (c *TimelinesPublicTimelineCall) TrimUser(trim_user bool) *TimelinesPublicTimelineCall
type TimelinesRetweetedByMeCall ¶
type TimelinesRetweetedByMeCall struct {
// contains filtered or unexported fields
}
func (*TimelinesRetweetedByMeCall) ContributorDetails ¶
func (c *TimelinesRetweetedByMeCall) ContributorDetails(contributor_details bool) *TimelinesRetweetedByMeCall
func (*TimelinesRetweetedByMeCall) Count ¶
func (c *TimelinesRetweetedByMeCall) Count(count int) *TimelinesRetweetedByMeCall
func (*TimelinesRetweetedByMeCall) Do ¶
func (c *TimelinesRetweetedByMeCall) Do() (*TweetList, error)
func (*TimelinesRetweetedByMeCall) ExcludeReplies ¶
func (c *TimelinesRetweetedByMeCall) ExcludeReplies(exclude_replies bool) *TimelinesRetweetedByMeCall
func (*TimelinesRetweetedByMeCall) IncludeEntities ¶
func (c *TimelinesRetweetedByMeCall) IncludeEntities(include_entities bool) *TimelinesRetweetedByMeCall
func (*TimelinesRetweetedByMeCall) IncludeRTS ¶
func (c *TimelinesRetweetedByMeCall) IncludeRTS(include_rts bool) *TimelinesRetweetedByMeCall
func (*TimelinesRetweetedByMeCall) MaxId ¶
func (c *TimelinesRetweetedByMeCall) MaxId(max_id string) *TimelinesRetweetedByMeCall
func (*TimelinesRetweetedByMeCall) Page ¶
func (c *TimelinesRetweetedByMeCall) Page(page int) *TimelinesRetweetedByMeCall
func (*TimelinesRetweetedByMeCall) SinceId ¶
func (c *TimelinesRetweetedByMeCall) SinceId(since_id string) *TimelinesRetweetedByMeCall
func (*TimelinesRetweetedByMeCall) TrimUser ¶
func (c *TimelinesRetweetedByMeCall) TrimUser(trim_user bool) *TimelinesRetweetedByMeCall
type TimelinesRetweetedByUserCall ¶
type TimelinesRetweetedByUserCall struct {
// contains filtered or unexported fields
}
func (*TimelinesRetweetedByUserCall) Count ¶
func (c *TimelinesRetweetedByUserCall) Count(count int) *TimelinesRetweetedByUserCall
func (*TimelinesRetweetedByUserCall) Do ¶
func (c *TimelinesRetweetedByUserCall) Do() (*TweetList, error)
func (*TimelinesRetweetedByUserCall) IncludeEntities ¶
func (c *TimelinesRetweetedByUserCall) IncludeEntities(include_entities bool) *TimelinesRetweetedByUserCall
func (*TimelinesRetweetedByUserCall) MaxId ¶
func (c *TimelinesRetweetedByUserCall) MaxId(max_id string) *TimelinesRetweetedByUserCall
func (*TimelinesRetweetedByUserCall) Page ¶
func (c *TimelinesRetweetedByUserCall) Page(page int) *TimelinesRetweetedByUserCall
func (*TimelinesRetweetedByUserCall) SinceId ¶
func (c *TimelinesRetweetedByUserCall) SinceId(since_id string) *TimelinesRetweetedByUserCall
func (*TimelinesRetweetedByUserCall) TrimUser ¶
func (c *TimelinesRetweetedByUserCall) TrimUser(trim_user bool) *TimelinesRetweetedByUserCall
type TimelinesRetweetedToMeCall ¶
type TimelinesRetweetedToMeCall struct {
// contains filtered or unexported fields
}
func (*TimelinesRetweetedToMeCall) ContributorDetails ¶
func (c *TimelinesRetweetedToMeCall) ContributorDetails(contributor_details bool) *TimelinesRetweetedToMeCall
func (*TimelinesRetweetedToMeCall) Count ¶
func (c *TimelinesRetweetedToMeCall) Count(count int) *TimelinesRetweetedToMeCall
func (*TimelinesRetweetedToMeCall) Do ¶
func (c *TimelinesRetweetedToMeCall) Do() (*TweetList, error)
func (*TimelinesRetweetedToMeCall) ExcludeReplies ¶
func (c *TimelinesRetweetedToMeCall) ExcludeReplies(exclude_replies bool) *TimelinesRetweetedToMeCall
func (*TimelinesRetweetedToMeCall) IncludeEntities ¶
func (c *TimelinesRetweetedToMeCall) IncludeEntities(include_entities bool) *TimelinesRetweetedToMeCall
func (*TimelinesRetweetedToMeCall) IncludeRTS ¶
func (c *TimelinesRetweetedToMeCall) IncludeRTS(include_rts bool) *TimelinesRetweetedToMeCall
func (*TimelinesRetweetedToMeCall) MaxId ¶
func (c *TimelinesRetweetedToMeCall) MaxId(max_id string) *TimelinesRetweetedToMeCall
func (*TimelinesRetweetedToMeCall) Page ¶
func (c *TimelinesRetweetedToMeCall) Page(page int) *TimelinesRetweetedToMeCall
func (*TimelinesRetweetedToMeCall) SinceId ¶
func (c *TimelinesRetweetedToMeCall) SinceId(since_id string) *TimelinesRetweetedToMeCall
func (*TimelinesRetweetedToMeCall) TrimUser ¶
func (c *TimelinesRetweetedToMeCall) TrimUser(trim_user bool) *TimelinesRetweetedToMeCall
type TimelinesRetweetedToUserCall ¶
type TimelinesRetweetedToUserCall struct {
// contains filtered or unexported fields
}
func (*TimelinesRetweetedToUserCall) Count ¶
func (c *TimelinesRetweetedToUserCall) Count(count int) *TimelinesRetweetedToUserCall
func (*TimelinesRetweetedToUserCall) Do ¶
func (c *TimelinesRetweetedToUserCall) Do() (*TweetList, error)
func (*TimelinesRetweetedToUserCall) IncludeEntities ¶
func (c *TimelinesRetweetedToUserCall) IncludeEntities(include_entities bool) *TimelinesRetweetedToUserCall
func (*TimelinesRetweetedToUserCall) MaxId ¶
func (c *TimelinesRetweetedToUserCall) MaxId(max_id string) *TimelinesRetweetedToUserCall
func (*TimelinesRetweetedToUserCall) Page ¶
func (c *TimelinesRetweetedToUserCall) Page(page int) *TimelinesRetweetedToUserCall
func (*TimelinesRetweetedToUserCall) SinceId ¶
func (c *TimelinesRetweetedToUserCall) SinceId(since_id string) *TimelinesRetweetedToUserCall
func (*TimelinesRetweetedToUserCall) TrimUser ¶
func (c *TimelinesRetweetedToUserCall) TrimUser(trim_user bool) *TimelinesRetweetedToUserCall
type TimelinesRetweetsOfMeCall ¶
type TimelinesRetweetsOfMeCall struct {
// contains filtered or unexported fields
}
func (*TimelinesRetweetsOfMeCall) Count ¶
func (c *TimelinesRetweetsOfMeCall) Count(count int) *TimelinesRetweetsOfMeCall
func (*TimelinesRetweetsOfMeCall) Do ¶
func (c *TimelinesRetweetsOfMeCall) Do() (*TweetList, error)
func (*TimelinesRetweetsOfMeCall) IncludeEntities ¶
func (c *TimelinesRetweetsOfMeCall) IncludeEntities(include_entities bool) *TimelinesRetweetsOfMeCall
func (*TimelinesRetweetsOfMeCall) MaxId ¶
func (c *TimelinesRetweetsOfMeCall) MaxId(max_id string) *TimelinesRetweetsOfMeCall
func (*TimelinesRetweetsOfMeCall) Page ¶
func (c *TimelinesRetweetsOfMeCall) Page(page int) *TimelinesRetweetsOfMeCall
func (*TimelinesRetweetsOfMeCall) SinceId ¶
func (c *TimelinesRetweetsOfMeCall) SinceId(since_id string) *TimelinesRetweetsOfMeCall
func (*TimelinesRetweetsOfMeCall) TrimUser ¶
func (c *TimelinesRetweetsOfMeCall) TrimUser(trim_user bool) *TimelinesRetweetsOfMeCall
type TimelinesService ¶
type TimelinesService struct {
// contains filtered or unexported fields
}
func (*TimelinesService) HomeTimeline ¶
func (r *TimelinesService) HomeTimeline() *TimelinesHomeTimelineCall
func (*TimelinesService) List ¶
func (r *TimelinesService) List(userid string) *TimelinesListCall
Search: Search all public profiles.
func (*TimelinesService) Mentions ¶
func (r *TimelinesService) Mentions() *TimelinesMentionsCall
func (*TimelinesService) PublicTimeline ¶
func (r *TimelinesService) PublicTimeline() *TimelinesPublicTimelineCall
func (*TimelinesService) RetweetedByMe ¶
func (r *TimelinesService) RetweetedByMe() *TimelinesRetweetedByMeCall
func (*TimelinesService) RetweetedByUser ¶
func (r *TimelinesService) RetweetedByUser(id string) *TimelinesRetweetedByUserCall
func (*TimelinesService) RetweetedToMe ¶
func (r *TimelinesService) RetweetedToMe() *TimelinesRetweetedToMeCall
func (*TimelinesService) RetweetedToUser ¶
func (r *TimelinesService) RetweetedToUser(id string) *TimelinesRetweetedToUserCall
func (*TimelinesService) RetweetsOfMe ¶
func (r *TimelinesService) RetweetsOfMe() *TimelinesRetweetsOfMeCall
type Transport ¶
type Transport struct { *Config *Token // Transport is the HTTP transport to use when making requests. // It will default to http.DefaultTransport if nil. // (It should never be an oauth.Transport.) Transport http.RoundTripper }
func (*Transport) AccessToken ¶
type TrendLocation ¶
type TrendLocationList ¶
type TrendLocationList []TrendLocation
type Tweet ¶
type Tweet struct { Contributors string `json:"contributors"` User *User `json:"user"` // Tweet author Truncated bool `json:"truncated"` Text string `json:"text"` InReplyToScreenName string `json:"in_reply_to_screen_name"` RetweetCount int64 `json:"retweet_count"` Entities struct { Urls []struct { DisplayUrl string `json:"display_url"` Indices []int64 `json:"indices"` Url string `json:"url"` ExpandedUrl string `json:"expanded_url"` } `json:"urls"` Hashtags []struct { Text string `json:"text"` Indices []int64 `json:"indices"` } `json:"hashtags"` UserMentions []struct { ScreenName string `json:"screen_name"` Name string `json:"name"` Indices []int64 `json:"indices"` IdStr string `json:"id_str"` Id int64 `json:"id"` } `json:"user_mentions"` } `json:"entities"` Geo string `json:"geo"` InReplyToUserId int64 `json:"in_reply_to_user_id"` IdStr string `json:"id_str"` CreatedAt string `json:"created_at"` Source string `json:"source"` Id int64 `json:"id"` InReplyToStatusId string `json:"in_reply_to_status_id"` PossiblySensitive bool `json:"possibly_sensitive"` Retweeted bool `json:"retweeted"` InReplyToUserIdStr string `json:"in_reply_to_user_id_str"` Coordinates string `json:"coordinates"` Favorited bool `json:"favorited"` Place string `json:"place"` InReplyToStatusIdStr string `json:"in_reply_to_status_id_str"` }
Tweet represents a single tweet
type TweetsDestroyCall ¶
type TweetsDestroyCall struct {
// contains filtered or unexported fields
}
func (*TweetsDestroyCall) Do ¶
func (c *TweetsDestroyCall) Do() (*Tweet, error)
func (*TweetsDestroyCall) IncludeEntities ¶
func (c *TweetsDestroyCall) IncludeEntities(include_entities bool) *TweetsDestroyCall
func (*TweetsDestroyCall) TrimUser ¶
func (c *TweetsDestroyCall) TrimUser(trim_user bool) *TweetsDestroyCall
type TweetsRetweetCall ¶
type TweetsRetweetCall struct {
// contains filtered or unexported fields
}
func (*TweetsRetweetCall) Do ¶
func (c *TweetsRetweetCall) Do() (*Tweet, error)
func (*TweetsRetweetCall) IncludeEntities ¶
func (c *TweetsRetweetCall) IncludeEntities(include_entities bool) *TweetsRetweetCall
func (*TweetsRetweetCall) TrimUser ¶
func (c *TweetsRetweetCall) TrimUser(trim_user bool) *TweetsRetweetCall
type TweetsRetweetedByCall ¶
type TweetsRetweetedByCall struct {
// contains filtered or unexported fields
}
func (*TweetsRetweetedByCall) Count ¶
func (c *TweetsRetweetedByCall) Count(count int) *TweetsRetweetedByCall
func (*TweetsRetweetedByCall) Do ¶
func (c *TweetsRetweetedByCall) Do() (*UserList, error)
func (*TweetsRetweetedByCall) Page ¶
func (c *TweetsRetweetedByCall) Page(page int) *TweetsRetweetedByCall
type TweetsRetweetedByIdsCall ¶
type TweetsRetweetedByIdsCall struct {
// contains filtered or unexported fields
}
func (*TweetsRetweetedByIdsCall) Count ¶
func (c *TweetsRetweetedByIdsCall) Count(count int) *TweetsRetweetedByIdsCall
func (*TweetsRetweetedByIdsCall) Do ¶
func (c *TweetsRetweetedByIdsCall) Do() (*[]string, error)
func (*TweetsRetweetedByIdsCall) Page ¶
func (c *TweetsRetweetedByIdsCall) Page(page int) *TweetsRetweetedByIdsCall
type TweetsRetweetsCall ¶
type TweetsRetweetsCall struct {
// contains filtered or unexported fields
}
func (*TweetsRetweetsCall) Count ¶
func (c *TweetsRetweetsCall) Count(count int) *TweetsRetweetsCall
func (*TweetsRetweetsCall) Do ¶
func (c *TweetsRetweetsCall) Do() (*TweetList, error)
func (*TweetsRetweetsCall) IncludeEntities ¶
func (c *TweetsRetweetsCall) IncludeEntities(include_entities bool) *TweetsRetweetsCall
func (*TweetsRetweetsCall) Page ¶
func (c *TweetsRetweetsCall) Page(page int) *TweetsRetweetsCall
func (*TweetsRetweetsCall) TrimUser ¶
func (c *TweetsRetweetsCall) TrimUser(trim_user bool) *TweetsRetweetsCall
type TweetsService ¶
type TweetsService struct {
// contains filtered or unexported fields
}
func (*TweetsService) Destroy ¶
func (r *TweetsService) Destroy(id string) *TweetsDestroyCall
func (*TweetsService) Retweet ¶
func (r *TweetsService) Retweet(id string) *TweetsRetweetCall
func (*TweetsService) RetweetedBy ¶
func (r *TweetsService) RetweetedBy(id string) *TweetsRetweetedByCall
func (*TweetsService) RetweetedByIds ¶
func (r *TweetsService) RetweetedByIds(id string) *TweetsRetweetedByIdsCall
func (*TweetsService) Retweets ¶
func (r *TweetsService) Retweets(id string) *TweetsRetweetsCall
func (*TweetsService) Show ¶
func (r *TweetsService) Show(id string) *TweetsShowCall
func (*TweetsService) Update ¶
func (r *TweetsService) Update(status string) *TweetsUpdateCall
Search: Search all public profiles.
func (*TweetsService) UpdateWithMedia ¶
func (r *TweetsService) UpdateWithMedia(status, mediaName string, mediaData []byte) *TweetsUpdateWithMediaCall
type TweetsShowCall ¶
type TweetsShowCall struct {
// contains filtered or unexported fields
}
func (*TweetsShowCall) Do ¶
func (c *TweetsShowCall) Do() (*Tweet, error)
func (*TweetsShowCall) IncludeEntities ¶
func (c *TweetsShowCall) IncludeEntities(include_entities bool) *TweetsShowCall
func (*TweetsShowCall) TrimUser ¶
func (c *TweetsShowCall) TrimUser(trim_user bool) *TweetsShowCall
type TweetsUpdateCall ¶
type TweetsUpdateCall struct {
// contains filtered or unexported fields
}
func (*TweetsUpdateCall) Do ¶
func (c *TweetsUpdateCall) Do() (*Tweet, error)
type TweetsUpdateWithMediaCall ¶
type TweetsUpdateWithMediaCall struct {
// contains filtered or unexported fields
}
func (*TweetsUpdateWithMediaCall) Do ¶
func (c *TweetsUpdateWithMediaCall) Do() (*Tweet, error)
type User ¶
type User struct { ScreenName string `json:"screen_name"` ListedCount int64 `json:"listed_count"` FollowersCount int64 `json:"followers_count"` Location string `json:"location"` ProfileBackgroundImageUrl string `json:"profile_background_image_url"` Name string `json:"name"` Notifications bool `json:"notifications"` Protected bool `json:"protected"` IdStr string `json:"id_str"` ProfileBackgroundColor string `json:"profile_background_color"` CreatedAt string `json:"created_at"` Url string `json:"url"` TimeZone string `json:"time_zone"` Id int64 `json:"id"` Verified bool `json:"verified"` ProfileLinkColor string `json:"profile_link_color"` ProfileImageUrl string `json:"profile_image_url"` Status *Tweet `json:"status"` ProfileUseBackgroundImage bool `json:"profile_use_background_image"` FavouritesCount int64 `json:"favourites_count"` ProfileSidebarFillColor string `json:"profile_sidebar_fill_color"` UtcOffset int64 `json:"utc_offset"` IsTranslator bool `json:"is_translator"` FollowRequestSent bool `json:"follow_request_sent"` Following bool `json:"following"` ProfileBackgroundTile bool `json:"profile_background_tile"` ShowAllInlineMedia bool `json:"show_all_inline_media"` ProfileTextColor string `json:"profile_text_color"` Lang string `json:"lang"` StatusesCount int64 `json:"statuses_count"` ContributorsEnabled bool `json:"contributors_enabled"` FriendsCount int64 `json:"friends_count"` GeoEnabled bool `json:"geo_enabled"` Description string `json:"description"` ProfileSidebarBorderColor string `json:"profile_sidebar_border_color"` }
type UsersContributeesCall ¶
type UsersContributeesCall struct {
// contains filtered or unexported fields
}
func (*UsersContributeesCall) Do ¶
func (c *UsersContributeesCall) Do() (*UserList, error)
func (*UsersContributeesCall) IncludeEntities ¶
func (c *UsersContributeesCall) IncludeEntities(include_entities bool) *UsersContributeesCall
func (*UsersContributeesCall) ScreenName ¶
func (c *UsersContributeesCall) ScreenName(screen_name string) *UsersContributeesCall
func (*UsersContributeesCall) SkipStatus ¶
func (c *UsersContributeesCall) SkipStatus(skip_status bool) *UsersContributeesCall
func (*UsersContributeesCall) UserId ¶
func (c *UsersContributeesCall) UserId(user_id string) *UsersContributeesCall
type UsersContributorsCall ¶
type UsersContributorsCall struct {
// contains filtered or unexported fields
}
func (*UsersContributorsCall) Do ¶
func (c *UsersContributorsCall) Do() (*Tweet, error)
func (*UsersContributorsCall) IncludeEntities ¶
func (c *UsersContributorsCall) IncludeEntities(include_entities bool) *UsersContributorsCall
func (*UsersContributorsCall) ScreenName ¶
func (c *UsersContributorsCall) ScreenName(screen_name string) *UsersContributorsCall
func (*UsersContributorsCall) SkipStatus ¶
func (c *UsersContributorsCall) SkipStatus(skip_status bool) *UsersContributorsCall
func (*UsersContributorsCall) UserId ¶
func (c *UsersContributorsCall) UserId(user_id string) *UsersContributorsCall
type UsersLookUpCall ¶
type UsersLookUpCall struct {
// contains filtered or unexported fields
}
func (*UsersLookUpCall) Do ¶
func (c *UsersLookUpCall) Do() (*UserList, error)
func (*UsersLookUpCall) IncludeEntities ¶
func (c *UsersLookUpCall) IncludeEntities(include_entities bool) *UsersLookUpCall
func (*UsersLookUpCall) ScreenName ¶
func (c *UsersLookUpCall) ScreenName(screen_name string) *UsersLookUpCall
func (*UsersLookUpCall) UserId ¶
func (c *UsersLookUpCall) UserId(user_id string) *UsersLookUpCall
type UsersSearchCall ¶
type UsersSearchCall struct {
// contains filtered or unexported fields
}
func (*UsersSearchCall) Do ¶
func (c *UsersSearchCall) Do() (*UserList, error)
func (*UsersSearchCall) IncludeEntities ¶
func (c *UsersSearchCall) IncludeEntities(include_entities bool) *UsersSearchCall
func (*UsersSearchCall) Page ¶
func (c *UsersSearchCall) Page(page int) *UsersSearchCall
func (*UsersSearchCall) PerPage ¶
func (c *UsersSearchCall) PerPage(per_page int) *UsersSearchCall
type UsersService ¶
type UsersService struct {
// contains filtered or unexported fields
}
func (*UsersService) Contributees ¶
func (r *UsersService) Contributees() *UsersContributeesCall
func (*UsersService) Contributors ¶
func (r *UsersService) Contributors() *UsersContributorsCall
func (*UsersService) LookUp ¶
func (r *UsersService) LookUp() *UsersLookUpCall
func (*UsersService) Search ¶
func (r *UsersService) Search(q string) *UsersSearchCall
func (*UsersService) Show ¶
func (r *UsersService) Show() *UsersShowCall
func (*UsersService) SuggestedCategories ¶
func (r *UsersService) SuggestedCategories() *UsersSuggestedCategoriesCall
func (*UsersService) SuggestedUsers ¶
func (r *UsersService) SuggestedUsers(slug string) *UsersSuggestedUsersCall
type UsersShowCall ¶
type UsersShowCall struct {
// contains filtered or unexported fields
}
func (*UsersShowCall) Do ¶
func (c *UsersShowCall) Do() (*User, error)
func (*UsersShowCall) IncludeEntities ¶
func (c *UsersShowCall) IncludeEntities(include_entities bool) *UsersShowCall
func (*UsersShowCall) ScreenName ¶
func (c *UsersShowCall) ScreenName(screen_name string) *UsersShowCall
func (*UsersShowCall) UserId ¶
func (c *UsersShowCall) UserId(user_id string) *UsersShowCall
type UsersSuggestedCategoriesCall ¶
type UsersSuggestedCategoriesCall struct {
// contains filtered or unexported fields
}
func (*UsersSuggestedCategoriesCall) Do ¶
func (c *UsersSuggestedCategoriesCall) Do() (*CategoryList, error)
func (*UsersSuggestedCategoriesCall) Lang ¶
func (c *UsersSuggestedCategoriesCall) Lang(lang string) *UsersSuggestedCategoriesCall
type UsersSuggestedUsersCall ¶
type UsersSuggestedUsersCall struct {
// contains filtered or unexported fields
}
func (*UsersSuggestedUsersCall) Do ¶
func (c *UsersSuggestedUsersCall) Do() (*Category, error)
func (*UsersSuggestedUsersCall) Lang ¶
func (c *UsersSuggestedUsersCall) Lang(lang string) *UsersSuggestedUsersCall
Click to show internal directories.
Click to hide internal directories.