Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/witnessmenow/arduino-slack-api
An arduino library to wrap the Slack API
https://github.com/witnessmenow/arduino-slack-api
Last synced: 17 days ago
JSON representation
An arduino library to wrap the Slack API
- Host: GitHub
- URL: https://github.com/witnessmenow/arduino-slack-api
- Owner: witnessmenow
- License: mit
- Created: 2020-06-11T21:26:54.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-07-06T23:11:11.000Z (over 2 years ago)
- Last Synced: 2024-10-11T11:50:45.916Z (about 1 month ago)
- Language: C++
- Size: 22.5 KB
- Stars: 39
- Watchers: 5
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# arduino-slack-api
An arduino library to wrap the Slack APICurrently the library supports updating your Presence and setting a Custom Status.
![img](https://i.imgur.com/UUIQj2P.jpg)
## Help support what I do!
I have created a lot of different Arduino libraries that I hope people can make use of. [If you enjoy my work, please consider becoming a Github sponsor!](https://github.com/sponsors/witnessmenow/)
### Getting Auth Token (this may change)
- Create a new Slack App [here](https://api.slack.com/apps)
- Name your app anything, set the "Development Slack Workspace" to the workspace you want to update your status in
- This will bring you to a new page, on the left hand-side there is a menu. Click "OAuth & Permissions"
- Go down to "Scopes", then under "User Token Scopes", click the "Add an OAuth Scope" button
- Add the scopes you need. Here is a list of supported features in this library and their required scopes:| Enpoint | scope |
| ------------- |-------------|
| setPresence | users:write |
| setCustomStatus | users.profile:write |- scroll up to the top of the page and click "install app to workspace"
- Click "Allow" on the next page
- You will now have an OAuth Access Token up the top of the page, this is uses as the SLACK_ACCESS_TOKEN