Tentacat v1.6.0 Tentacat.Users.Followers View Source
Link to this section Summary
Functions
Follow given user
List users the authenticated user follows
List users the given user follows
List followers for the authenticated user
List followers for given user
Check if authenticated user follows given user
Check if given user follows another given user
Unfollow given user
Link to this section Functions
follow(client, target_user) View Source
Follow given user.
Example
Tentacat.Users.Followers.follow client, "edgurgel"
More info at: https://developer.github.com/v3/users/followers/#follow-a-user
followers(client)
View Source
followers(Tentacat.Client.t()) :: Tentacat.response()
followers(Tentacat.Client.t()) :: Tentacat.response()
List users the authenticated user follows
Example
Tentacat.Users.Followers.followers client
More info at: http://developer.github.com/v3/users/followers/#list-followers-of-a-user
followers(client, user_name) View Source
List users the given user follows
Example
Tentacat.Users.Followers.followers client, "edgurgel"
More info at: http://developer.github.com/v3/users/followers/#list-followers-of-a-user
following(client)
View Source
following(Tentacat.Client.t()) :: Tentacat.response()
following(Tentacat.Client.t()) :: Tentacat.response()
List followers for the authenticated user
Example
Tentacat.Users.Followers.following client
More info at: http://developer.github.com/v3/users/followers/#list-users-followed-by-another-user
following(client, options) View Source
List followers for given user
Example
Tentacat.Users.Followers.following client, "edgurgel"
More info at: http://developer.github.com/v3/users/followers/#list-users-followed-by-another-user
following(client, user_name, options) View Source
following?(client, target_user) View Source
Check if authenticated user follows given user.
Example
Tentacat.Users.Followers.following? client, "edgurgel"
More info at: https://developer.github.com/v3/users/followers/#check-if-you-are-following-a-user
following?(client, user_name, target_user) View Source
Check if given user follows another given user.
Example
Tentacat.Users.Followers.following? client, "edgurgel", "iurifq"
More info at: https://developer.github.com/v3/users/followers/#check-if-one-user-follows-another
unfollow(client, target_user) View Source
Unfollow given user.
Example
Tentacat.Users.Followers.unfollow client, "edgurgel"
More info at: https://developer.github.com/v3/users/followers/#unfollow-a-user