qiitex v0.2.0 Qiitex.User

Link to this section Summary

Functions

Follow a user

List users a user is following

List users who are following a user

Check if the current user is following a user

List users in newest order

List users who stocked an item in recent-stocked order

Unfollow a user

Link to this section Functions

Link to this function authenticated_user(client)
Link to this function find(client, user_id)

Get a user.

example

  Qiitex.Users.find client, "clientid"
Link to this function follow(client, user_id)

Follow a user.

example

  Qiitex.Users.follow client, "userid"
Link to this function followees(client, user_id, params \\ [])

List users a user is following

example

  Qiitex.Users.followees client, "userid"
  Qiitex.Users.followees client, "userid", %{page: 1, per_page: 40}
Link to this function followers(client, user_id)

List users who are following a user.

example

  Qiitex.Users.followers client, "userid"
  Qiitex.Users.followers client, "userid", %{page: 1, per_page: 40}
Link to this function get_follow(client, user_id)

Check if the current user is following a user.

example

  Qiitex.Users.get_follow client, "userid"
Link to this function list(client, params \\ [])

List users in newest order.

example

  Qiitex.Users.list client
  Qiitex.Users.list client, %{page: 1, per_page: 40}
Link to this function list_item_stockers(client, item_id, params \\ [])

List users who stocked an item in recent-stocked order.

example

  Qiitex.Users.list_item_stockers client, "itemid"
  Qiitex.Users.list_item_stockers client, "itemid", %{page: 1, per_page: 40}
Link to this function unfollow(client, user_id)

Unfollow a user.

example

  Qiitex.Users.unfollow client, "userid"