Ex.Pnut v0.1.0 ExPnut.User.Badges View Source

Badges are accessible to users who are current badge holders.

A user can set what badge to display on their profile from their account, or a client can update it by updating the user.

Endpoints:

  • Get a badge
  • Get all badges
  • Get the authenticated user's badges

https://pnut.io/docs/api/resources/users/badges

Link to this section Summary

Functions

Retrieve a list of all badges. It is not paginated.

Retrieve a list of all badges for the authenticated user. It is not paginated.

Link to this section Functions

Link to this function

get_badge(client, badge_id, user_params \\ %UserParams{}) View Source

Retrieve a badge object.

Link to this function

get_badges(client, user_params \\ %UserParams{}) View Source

Retrieve a list of all badges. It is not paginated.

Link to this function

get_my_badges(client, user_params \\ %UserParams{}) View Source

Retrieve a list of all badges for the authenticated user. It is not paginated.