{"id":13414094,"url":"https://github.com/wit-ai/wit-go","last_synced_at":"2025-05-16T16:07:18.485Z","repository":{"id":44422182,"uuid":"145381084","full_name":"wit-ai/wit-go","owner":"wit-ai","description":"Go client for wit.ai HTTP API","archived":false,"fork":false,"pushed_at":"2025-02-28T11:20:18.000Z","size":130,"stargazers_count":167,"open_issues_count":0,"forks_count":34,"subscribers_count":24,"default_branch":"main","last_synced_at":"2025-05-10T23:08:39.310Z","etag":null,"topics":["go","nlu","wit"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/wit-ai.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2018-08-20T07:18:40.000Z","updated_at":"2025-04-27T01:50:32.000Z","dependencies_parsed_at":"2024-10-26T09:45:01.056Z","dependency_job_id":"b764e86f-5d64-4549-a39f-04bdd5aa1e2f","html_url":"https://github.com/wit-ai/wit-go","commit_stats":null,"previous_names":["plutov/wit.ai"],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wit-ai%2Fwit-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wit-ai%2Fwit-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wit-ai%2Fwit-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wit-ai%2Fwit-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wit-ai","download_url":"https://codeload.github.com/wit-ai/wit-go/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254564128,"owners_count":22092122,"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":["go","nlu","wit"],"created_at":"2024-07-30T20:01:57.497Z","updated_at":"2025-05-16T16:07:18.454Z","avatar_url":"https://github.com/wit-ai.png","language":"Go","funding_links":[],"categories":["Third-party APIs","Go","第三方api","第三方API`第三方API 汇总`","第三方API","Utility"],"sub_categories":["Utility/Miscellaneous","实用程序/Miscellaneous","HTTP Clients","查询语","交流","Fail injection"],"readme":"![wit.ai](https://s3.amazonaws.com/pliutau.com/wit.png)\n\n[![Go Reference](https://pkg.go.dev/badge/github.com/wit-ai/wit-go)](https://pkg.go.dev/github.com/wit-ai/wit-go)\n\n_This repository is community-maintained. We gladly accept pull requests. Please\nsee the [Wit HTTP Reference](https://wit.ai/docs/http/latest) for all supported\nendpoints._\n\nGo client for [wit.ai](https://wit.ai/) HTTP API.\n\nAPI version: 20240304\n\n## Install\n\n```\ngo get -u github.com/wit-ai/wit-go/v2\n```\n\n## Usage\n\n```go\npackage main\n\nimport (\n    \"os\"\n    \"fmt\"\n\n    witai \"github.com/wit-ai/wit-go/v2\"\n)\n\nfunc main() {\n    client := witai.NewClient(os.Getenv(\"WIT_AI_TOKEN\"))\n    // Use client.SetHTTPClient() to set custom http.Client\n\n    msg, _ := client.Parse(\u0026witai.MessageRequest{\n        Query: \"hello\",\n    })\n    fmt.Printf(\"%v\", msg)\n}\n```\n\n## Testing\n\nUnit tests are executed by Github Actions.\n\n### Unit tests\n\n```\ngo test -race -v\n```\n\n### Integration tests\n\nIntegration tests have to be executed manually by providing a valid token via\n`WITAI_INTEGRATION_TOKEN` env var.\n\nIntegration tests are connecting to real Wit.ai API, so you need to provide a\nvalid token:\n\n```\nWITAI_INTEGRATION_TOKEN={SERVER_ACCESS_TOKEN} go test -v -tags=integration\n```\n\n## License\n\nThe license for wit-go can be found in LICENSE file in the root directory of\nthis source tree.\n\n## Terms of Use\n\nOur terms of use can be found at https://opensource.facebook.com/legal/terms.\n\n## Privacy Policy\n\nOur privacy policy can be found at\nhttps://opensource.facebook.com/legal/privacy.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwit-ai%2Fwit-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwit-ai%2Fwit-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwit-ai%2Fwit-go/lists"}