{"id":26122939,"url":"https://github.com/clarifai/clarifai-go","last_synced_at":"2026-03-09T15:33:01.212Z","repository":{"id":57496937,"uuid":"43333065","full_name":"Clarifai/clarifai-go","owner":"Clarifai","description":"DEPRECATED: please use https://github.com/Clarifai/clarifai-go-grpc","archived":false,"fork":false,"pushed_at":"2024-10-10T15:16:59.000Z","size":35,"stargazers_count":55,"open_issues_count":8,"forks_count":15,"subscribers_count":43,"default_branch":"master","last_synced_at":"2025-01-12T09:52:10.064Z","etag":null,"topics":["clarifai","go","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Clarifai.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-09-28T23:33:59.000Z","updated_at":"2024-10-10T15:17:02.000Z","dependencies_parsed_at":"2025-03-10T15:13:37.278Z","dependency_job_id":"53d97bd8-c74e-4a0c-afeb-7d8aac4971be","html_url":"https://github.com/Clarifai/clarifai-go","commit_stats":null,"previous_names":["cassidoo/clarifai","cassidoo/clarifai-go","samuelcouch/clarifai"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clarifai%2Fclarifai-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clarifai%2Fclarifai-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clarifai%2Fclarifai-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clarifai%2Fclarifai-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Clarifai","download_url":"https://codeload.github.com/Clarifai/clarifai-go/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244066179,"owners_count":20392406,"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":["clarifai","go","golang"],"created_at":"2025-03-10T15:13:35.036Z","updated_at":"2026-03-09T15:33:01.150Z","avatar_url":"https://github.com/Clarifai.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"![image](https://github.com/user-attachments/assets/eed8dfe5-bfb6-4dfc-86b4-51e1f9a887f4)\n\n# Clarifai Golang Library\n\nLibrary for our v1 [API](https://clarifai.com/developer/guide-v1/).\n\n[![GoDoc](https://godoc.org/github.com/Clarifai/clarifai-go?status.svg)](https://godoc.org/github.com/Clarifai/clarifai-go)\n\n## Disclaimer\n\nThis API client only supports Clarifai v1 API. Stay tuned for the v2 support.\n\n## Usage\n`go get github.com/clarifai/clarifai-go`\n\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/clarifai/clarifai-go\"\n)\n\nfunc main() {\n\tclient := clarifai.NewClient(\"\u003cclient_id\u003e\", \"\u003cclient_secret\u003e\")\n\t// Get the current status of things\n\tinfo, err := client.Info()\n\tif err != nil {\n\t\tfmt.Println(err)\n\t} else {\n\t\tfmt.Printf(\"%+v\\n\", info)\n\t}\n\t// Let's get some context about these images\n\turls := []string{\"https://samples.clarifai.com/metro-north.jpg\", \"https://samples.clarifai.com/puppy.jpeg\"}\n\t// Give it to Clarifai to run their magic\n\ttag_data, err := client.Tag(clarifai.TagRequest{URLs: urls})\n\n\tif err != nil {\n\t\tfmt.Println(err)\n\t} else {\n\t\tfmt.Printf(\"%+v\\n\", tag_data) // See what we got!\n\t}\n\n\tfeedback_data, err := client.Feedback(clarifai.FeedbackForm{\n\t\tURLs:    urls,\n\t\tAddTags: []string{\"cat\", \"animal\"},\n\t})\n\n\tif err != nil {\n\t\tfmt.Println(err)\n\t} else {\n\t\tfmt.Printf(\"%+v\\n\", feedback_data)\n\t}\n}\n```\n\n## Testing\nRun `go test`\n\n##Special Thanks\n\nThanks so much to [Sam Couch](https://github.com/samuelcouch) for his amazing contribution to the Clarifai client libraries by starting this one and graciously handing it off to us. Follow him on Twitter [@SamuelCouch](http://twitter.com/SamuelCouch).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclarifai%2Fclarifai-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclarifai%2Fclarifai-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclarifai%2Fclarifai-go/lists"}