Tentacat v2.2.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

Link to this function

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

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

Link to this function

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

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

Link to this function

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

Link to this function

following(client, user_name, options)

View Source
Link to this function

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

Link to this function

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

Link to this function

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