Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sekunho/slack_http
a slack http client (wip)
https://github.com/sekunho/slack_http
rust slack
Last synced: 15 days ago
JSON representation
a slack http client (wip)
- Host: GitHub
- URL: https://github.com/sekunho/slack_http
- Owner: sekunho
- License: bsd-3-clause
- Created: 2024-05-13T16:03:29.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-07-27T13:26:19.000Z (3 months ago)
- Last Synced: 2024-10-04T21:36:35.678Z (about 1 month ago)
- Topics: rust, slack
- Language: Rust
- Homepage:
- Size: 72.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# slack_http
`slack_http` is an HTTP client for Slack's API. Each endpoint (except `oauth.*`
`openid.*`) is tested against Slack's real servers from issuing the request, to
deserializing its response -- no mocks!## Test environment
Since this library depends on integration tests, there's some setup required for
you to run them locally.1. Create a simple Slack [app](https://api.slack.com/apps). See [slack_manifest.json](./slack_manifest.json)
for the exact manifest.2. Ensure the following users with the following `display_name`s are present
- `OWNER`: (admin & owner)
- `MEMBER_1`: (regular member)Also, I added the _Polly_ bot because bots have missing fields apparently.
3. Ensure the following channels are present in your test WS.
| name | visibility | members |
|---------------------|------------|------------------|
| general | public | OWNER,slack_http |
| test_invite | public | OWNER |
| test_kick | public | OWNER |
| secret | private | OWNER |
| test_post_message | public | OWNER,slack_http |
| test_post_ephemeral | public | OWNER,slack_http |