qiitex v0.2.0 Qiitex.Tags

Link to this section Summary

Functions

Follow a tag

Check if you are following a tag or not

List tags in newest order

unfollow a tag

List tags a user is following to in recently-tagged order

Link to this section Functions

Link to this function find(client, tag_id)

Get a tag.

Example

  Qiitex.Tags.find client, "tagid"
Link to this function follow(client, tag_id)

Follow a tag.

Example

  Qiitex.Tags.follow client, "tagid"
Link to this function get_tag_following(client, tag_id)

Check if you are following a tag or not.

example

  Qiitex.Tags.get_tag_following client, "tagid"
Link to this function list(client, params \\ [])

List tags in newest order.

Example

  Qiitex.Tags.list client
  Qiitex.Tags.list client, %{page: 1, per_page: 30, sort: "count"}
Link to this function unfollow(client, tag_id)

unfollow a tag.

example

  Qiitex.Tags.unfollow client, "tagid"
Link to this function user_following(client, user_id, params \\ [])

List tags a user is following to in recently-tagged order

Example

  Qiitex.Tags.user_following client, "userid"
  Qiitex.Tags.user_following client, "userid", %{page: 1, per_page: 40}