Skip to content

mthaddon/asana

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Asana python api

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
  • get_tags
  • get_task
  • list_projects
  • list_stories
  • list_tasks
  • list_users
  • list_workspaces
  • rm_project_task
  • update_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')

About

Python Asana API binding

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 82.4%
  • Shell 17.6%