{"id":16244596,"url":"https://github.com/indexzero/node-asana-api","last_synced_at":"2025-07-25T05:37:06.478Z","repository":{"id":3617193,"uuid":"4682655","full_name":"indexzero/node-asana-api","owner":"indexzero","description":"A node.js client implementation for Asana API.","archived":false,"fork":false,"pushed_at":"2018-11-30T06:35:23.000Z","size":217,"stargazers_count":42,"open_issues_count":0,"forks_count":16,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-10-18T21:04:29.165Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/indexzero.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-06-16T05:48:48.000Z","updated_at":"2024-07-03T09:11:20.000Z","dependencies_parsed_at":"2022-09-10T20:20:32.095Z","dependency_job_id":null,"html_url":"https://github.com/indexzero/node-asana-api","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indexzero%2Fnode-asana-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indexzero%2Fnode-asana-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indexzero%2Fnode-asana-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indexzero%2Fnode-asana-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/indexzero","download_url":"https://codeload.github.com/indexzero/node-asana-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244483830,"owners_count":20460189,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T14:19:51.113Z","updated_at":"2025-03-19T18:33:10.841Z","avatar_url":"https://github.com/indexzero.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# asana-api\n\nA Node.js client implementation for Asana API.\n\n## Usage\n\n### Create the client with an API key\n\n``` js\n  var asana = require('asana-api');\n\n  var client = asana.createClient({\n    apiKey: 'your-secret-api-key'\n  });\n\n  client.users.list(function (err, users) {\n    //\n    // List all users for this Asana account.\n    //\n    console.dir(users);\n  });\n```\n\n### Alternatively, create the client with an OAuth access token\n\n``` js\n  var asana = require('asana-api');\n\n  var client = asana.createClient({\n    token: 'your-oauth-token'\n  });\n\n  client.users.list(function (err, users) {\n    //\n    // List all users for this Asana account.\n    //\n    console.dir(users);\n  });\n```\n\n**Or go even further and supply enough information for OAuth to refresh the access token**\n\n``` js\n  var asana = require('asana-api');\n\n  var client = asana.createClient({\n    oauth: {\n      accessToken : \"your-oauth-token\",\n      refreshToken : \"your-oauth-refresh-token\",\n      clientId : \"your-client-id\",\n      clientSecret : \"your-client-secret\",\n      redirectUrl : \"your-redirect-url-to-store-new-token\"\n    }\n  });\n\n  client.users.list(function (err, users) {\n    //\n    // List all users for this Asana account.\n    //\n    console.dir(users);\n  });\n```\n\n## API Coverage\n\n### Implemented\n\n``` scala\n  GET  /users\n  GET  /users\n  GET  /users/me\n  GET  /users/:user-id\n\n  GET  /workspaces\n  GET  /workspaces/:workspace-id/tasks\n  GET  /workspaces/:workspace-id/projects\n  GET  /organizations/:workspace-id/teams\n\n  POST /tasks\n  GET  /tasks\n  PUT  /tasks/:task-id\n  GET  /tasks/:task-id\n  DELETE /tasks/:task-id\n  GET  /tasks/:task-id/stories\n  POST /tasks/:task-id/stories\n  POST /tasks/:task-id/addProject\n\n  GET  /projects\n  GET  /projects/:project-id/tasks\n\n  POST /tags\n  GET  /tags\n  GET  /tags/:tag-id\n  PUT  /tags/:tag-id\n  GET  /tags/:tag-id/tasks\n```\n\n### Not Implemented\n\n``` scala\n  GET  /tasks/:task-id/projects\n  POST /tasks/:task-id/removeProject\n\n  GET /projects/:project-id\n  PUT /projects/:project-id\n\n  GET /stories/:story-id\n\n  PUT  /workspaces/:workspace-id\n  POST /workspaces/:workspace-id/tasks\n  GET  /workspaces/:workspace-id/users\n```\n\n## Run Tests\n\n``` bash\n  $ npm test\n```\n\n#### AUTHOR: [Charlie Robbins][0]\n#### LICENSE: MIT\n\n[0]: http://sudomakethought.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findexzero%2Fnode-asana-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Findexzero%2Fnode-asana-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findexzero%2Fnode-asana-api/lists"}