Python Asana API binding
Python Shell
Switch branches/tags
Nothing to show
Latest commit cbd70a6 Feb 15, 2015 @pandemicsyn Update README.md
Permalink
Failed to load latest commit information.
asana Merge pull request #41 from codito/python3 Feb 14, 2015
docs add new calls docs Jan 1, 2013
tests
.gitignore Docs and packaging Sep 7, 2012
LICENSE
README.md
requirements.txt
setup.py Update setup.py with pypi info Dec 7, 2012
tox.ini

README.md

Asana python api - unmaintained

Asana now has official python bindings its also important to note that Asana took over the "asana" pypi name.

python wrapper for the Asana API

Documentation is available at: AsanaAPI

This project is a work in progress. Here's what's currently available:

  • add_project_task
  • add_story
  • add_tag_task
  • create_project
  • create_tag
  • create_task
  • add_parent
  • create_subtask
  • get_basic_auth
  • get_project
  • get_project_tasks
  • get_story
  • get_subtasks
  • get_tag_tasks
  • rm_tag_task
  • get_task_tags
  • get_tags
  • get_task
  • list_projects
  • list_stories
  • list_tasks
  • list_users
  • list_workspaces
  • rm_project_task
  • update_project
  • delete_project
  • update_task
  • update_workspace
  • user_info

Todo:

  • All the things!
  • unittests
  • Better error handling

Sample:

from asana import asana
asana_api = asana.AsanaAPI('YourAsanaAPIKey', debug=True)

# see your workspaces
myspaces = asana_api.list_workspaces()  #Result: [{u'id': 123456789, u'name': u'asanapy'}]

# create a new project
asana_api.create_project('test project', myspaces[0]['id'])

# create a new task
asana_api.create_task('yetanotherapitest', myspaces[0]['id'], assignee_status='later', notes='some notes')

# add a story to task
asana_api.add_story(mytask, 'omgwtfbbq')