{"id":37185916,"url":"https://github.com/whywaita/slack","last_synced_at":"2026-01-14T21:32:42.674Z","repository":{"id":57653233,"uuid":"156587345","full_name":"whywaita/slack","owner":"whywaita","description":"Slack API in Go","archived":false,"fork":true,"pushed_at":"2022-01-26T17:53:19.000Z","size":1575,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-20T11:16:04.084Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"slack-go/slack","license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/whywaita.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":"audit.go","citation":null,"codeowners":null,"security":"security.go","support":null}},"created_at":"2018-11-07T17:59:16.000Z","updated_at":"2022-01-26T16:46:08.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/whywaita/slack","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/whywaita/slack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whywaita%2Fslack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whywaita%2Fslack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whywaita%2Fslack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whywaita%2Fslack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/whywaita","download_url":"https://codeload.github.com/whywaita/slack/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whywaita%2Fslack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28435187,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T18:57:19.464Z","status":"ssl_error","status_checked_at":"2026-01-14T18:52:48.501Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-01-14T21:32:41.789Z","updated_at":"2026-01-14T21:32:42.639Z","avatar_url":"https://github.com/whywaita.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"Slack API in Go [![Go Reference](https://pkg.go.dev/badge/github.com/slack-go/slack.svg)](https://pkg.go.dev/github.com/slack-go/slack)\n===============\n\nThis is the original Slack library for Go created by Norberto Lopes, transferred to a GitHub organization.\n\nYou can also chat with us on the #slack-go, #slack-go-ja Slack channel on the Gophers Slack.\n\n![logo](logo.png \"icon\")\n\nThis library supports most if not all of the `api.slack.com` REST\ncalls, as well as the Real-Time Messaging protocol over websocket, in\na fully managed way.\n\n## Project Status\nThere is currently no major version released.\nTherefore, minor version releases may include backward incompatible changes.\n\nSee [CHANGELOG.md](https://github.com/slack-go/slack/blob/master/CHANGELOG.md) or [Releases](https://github.com/slack-go/slack/releases) for more information about the changes.\n\n## Installing\n\n### *go get*\n\n    $ go get -u github.com/slack-go/slack\n\n## Example\n\n### Getting all groups\n\n```golang\nimport (\n\t\"fmt\"\n\n\t\"github.com/slack-go/slack\"\n)\n\nfunc main() {\n\tapi := slack.New(\"YOUR_TOKEN_HERE\")\n\t// If you set debugging, it will log all requests to the console\n\t// Useful when encountering issues\n\t// slack.New(\"YOUR_TOKEN_HERE\", slack.OptionDebug(true))\n\tgroups, err := api.GetUserGroups(false)\n\tif err != nil {\n\t\tfmt.Printf(\"%s\\n\", err)\n\t\treturn\n\t}\n\tfor _, group := range groups {\n\t\tfmt.Printf(\"ID: %s, Name: %s\\n\", group.ID, group.Name)\n\t}\n}\n```\n\n### Getting User Information\n\n```golang\nimport (\n    \"fmt\"\n\n    \"github.com/slack-go/slack\"\n)\n\nfunc main() {\n    api := slack.New(\"YOUR_TOKEN_HERE\")\n    user, err := api.GetUserInfo(\"U023BECGF\")\n    if err != nil {\n\t    fmt.Printf(\"%s\\n\", err)\n\t    return\n    }\n    fmt.Printf(\"ID: %s, Fullname: %s, Email: %s\\n\", user.ID, user.Profile.RealName, user.Profile.Email)\n}\n```\n\n## Minimal Socket Mode usage:\n\nSee https://github.com/slack-go/slack/blob/master/examples/socketmode/socketmode.go\n\n\n## Minimal RTM usage:\n\nAs mentioned in https://api.slack.com/rtm - for most applications, Socket Mode is a better way to communicate with Slack.\n\nSee https://github.com/slack-go/slack/blob/master/examples/websocket/websocket.go\n\n\n## Minimal EventsAPI usage:\n\nSee https://github.com/slack-go/slack/blob/master/examples/eventsapi/events.go\n\n\n## Contributing\n\nYou are more than welcome to contribute to this project.  Fork and\nmake a Pull Request, or create an Issue if you see any problem.\n\nBefore making any Pull Request please run the following:\n\n```\nmake pr-prep\n```\n\nThis will check/update code formatting, linting and then run all tests\n\n## License\n\nBSD 2 Clause license\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhywaita%2Fslack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwhywaita%2Fslack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhywaita%2Fslack/lists"}