SlackWebAPI
One way to interact with the Slack platform is its HTTP RPC-based Web API, a collection of methods requiring OAuth 2.0-based user, bot, or workspace tokens blessed with related OAuth scopes.
openapi-generator generate -i https://api.slack.com/specs/openapi/v2/slack_web.json -g elixir -o ./Building
To install the required dependencies and to build the elixir project, run:
mix local.hex --force
mix do deps.get, compileLocal Development - Versions
- elixir 1.14.2
- erlang 25.2
NOTE: this should match the .tool-versions file
Installation
If available in Hex, the package can be installed
by adding slack_web_api to your list of dependencies in mix.exs:
def deps do
[{:slack_web_api, "~> 0.1.0"}]
endDocumentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/slack_web_api.