{"id":44147379,"url":"https://github.com/orijtech/asana","last_synced_at":"2026-02-09T02:36:14.602Z","repository":{"id":71266772,"uuid":"90015587","full_name":"orijtech/asana","owner":"orijtech","description":"Asana API client in Go","archived":false,"fork":false,"pushed_at":"2018-10-31T18:54:13.000Z","size":97,"stargazers_count":11,"open_issues_count":3,"forks_count":11,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-11-12T03:27:15.845Z","etag":null,"topics":["asana","asana-api","golang"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/orijtech.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,"governance":null}},"created_at":"2017-05-02T09:31:52.000Z","updated_at":"2024-04-23T03:14:34.000Z","dependencies_parsed_at":"2023-05-20T09:30:45.049Z","dependency_job_id":null,"html_url":"https://github.com/orijtech/asana","commit_stats":null,"previous_names":["odeke-em/asana"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/orijtech/asana","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orijtech%2Fasana","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orijtech%2Fasana/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orijtech%2Fasana/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orijtech%2Fasana/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/orijtech","download_url":"https://codeload.github.com/orijtech/asana/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orijtech%2Fasana/sbom","scorecard":{"id":712356,"data":{"date":"2025-08-11","repo":{"name":"github.com/orijtech/asana","commit":"987896ac08a13aa0f6db1fb5faed9e54ae64bde6"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":1,"reason":"Found 1/10 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 10 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-22T08:31:00.975Z","repository_id":71266772,"created_at":"2025-08-22T08:31:00.975Z","updated_at":"2025-08-22T08:31:00.975Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29254316,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-09T01:52:29.835Z","status":"online","status_checked_at":"2026-02-09T02:00:09.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["asana","asana-api","golang"],"created_at":"2026-02-09T02:36:13.839Z","updated_at":"2026-02-09T02:36:14.593Z","avatar_url":"https://github.com/orijtech.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# asana\nAsana API client implemented in Go\n\n## Requirements:\n* Personal Authentication Token set in your environment as\n`ASANA_PERSONAL_ACCESS_TOKEN`\nor you could pass in a key when initializing a client.\n\n* Currently their API only has v1 so that's the client we'll use.\n\n## Preamble:\n```go\nimport (\n\t\"fmt\"\n\t\"log\"\n\t\"os\"\n\n\t\"github.com/odeke-em/asana/v1\"\n)\n```\n\n## Example creating a task\n```go\nfunc main() {\n\tclient, err := asana.NewClient()\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\n\tsetupServers, err := client.CreateTask(\u0026asana.TaskRequest{\n\t\tAssignee:  \"emm.odeke@gmail.com\",\n\t\tNotes:     \"Please ensure to setup the servers, then ping our group\",\n\t\tName:      \"server setup\",\n\t\tWorkspace: \"331783765164429\",\n\t\tFollowers: []asana.UserID{\n\t\t\t\"emmanuel@orijtech.com\",\n\t\t},\n\t})\n\n\tif err != nil {\n\t\tlog.Fatalf(\"the error: %#v\", err)\n\t}\n\n\tlog.Printf(\"Here is the task: %#v\", setupServers)\n}\n```\n\n## List all your workspaces\n```go\nfunc main() {\n\tclient, err := asana.NewClient()\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\n\tworkspacesChan, err := client.ListMyWorkspaces()\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\n\tpageCount := 0\n\tfor page := range workspacesChan {\n\t\tfor i, workspace := range page.Workspaces {\n\t\t\tlog.Printf(\"Page: #%d i: %d workspace: %#v\", pageCount, i, workspace)\n\t\t}\n\t\tpageCount += 1\n\t}\n}\n```\n\n## Find an attachment by id\n```go\nfunc main() {\n\tclient, err := asana.NewClient()\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\n\tfoundAttachment, err := client.FindAttachmentByID(\"5678\")\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\tfmt.Printf(\"Found attachment: %#v\\n\", foundAttachment)\n}\n```\n\n## Upload an attachment to a task\n```go\nfunc main() {\n\timageR, err := os.Open(\"./testdata/messengerQR.png\")\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\tdefer imageR.Close()\n\n\tclient, err := asana.NewClient()\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\n\trespAttachment, err := client.UploadAttachment(\u0026asana.AttachmentUpload{\n\t\tTaskID: \"331727965981099\",\n\t\tName:   \"messenger QR code\",\n\t\tBody:   imageR,\n\t})\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\tfmt.Printf(\"Response attachment: %#v\\n\", respAttachment)\n}\n```\n\n## List all attachments for a task\n```go\nfunc main() {\n\tclient, err := asana.NewClient()\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\n\tattachmentsPage, err := client.ListAllAttachmentsForTask(\"331727965981099\")\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\n\tfor i, task := range attachmentsPage.Attachments {\n\t\tfmt.Printf(\"Task #%d: %#v\\n\\n\", i, task)\n\t}\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forijtech%2Fasana","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forijtech%2Fasana","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forijtech%2Fasana/lists"}