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

pandemicsyn/asana

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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')

About

Python Asana API binding

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published