Skip to content
This repository has been archived by the owner on May 19, 2020. It is now read-only.

Adding get_tag method #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions asana/asana.py
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,13 @@ def get_tags(self, workspace):
"""
return self._asana('workspaces/%d/tags' % workspace)

def get_tag(self, tag_id):
"""Get tag

:param tag_id: id# of tag
"""
return self._asana('tags/%d' % tag_id)

def get_tag_tasks(self, tag_id):
"""Get tasks for a tag

Expand Down