# Award Emojis

## Reference

- v4 API:

  - `gitlab.v4.objects.ProjectIssueAwardEmoji`

  - `gitlab.v4.objects.ProjectIssueNoteAwardEmoji`

  - `gitlab.v4.objects.ProjectMergeRequestAwardEmoji`

  - `gitlab.v4.objects.ProjectMergeRequestNoteAwardEmoji`

  - `gitlab.v4.objects.ProjectSnippetAwardEmoji`

  - `gitlab.v4.objects.ProjectSnippetNoteAwardEmoji`

  - `gitlab.v4.objects.ProjectIssueAwardEmojiManager`

  - `gitlab.v4.objects.ProjectIssueNoteAwardEmojiManager`

  - `gitlab.v4.objects.ProjectMergeRequestAwardEmojiManager`

  - `gitlab.v4.objects.ProjectMergeRequestNoteAwardEmojiManager`

  - `gitlab.v4.objects.ProjectSnippetAwardEmojiManager`

  - `gitlab.v4.objects.ProjectSnippetNoteAwardEmojiManager`

- GitLab API: https://docs.gitlab.com/ce/api/award_emoji.html

## Examples

List emojis for a resource:

    emojis = obj.awardemojis.list()

Get a single emoji:

    emoji = obj.awardemojis.get(emoji_id)

Add (create) an emoji:

    emoji = obj.awardemojis.create({'name': 'tractor'})

Delete an emoji:

    emoji.delete
    # or
    obj.awardemojis.delete(emoji_id)