Streamex is a GetStream client library for the Elixir language.
Add Streamex to your mix.exs
file:
def deps do
[{:streamex, "~> 0.3.0"}]
end
then run mix deps.get
to install the library.
Ensure Streamex is started before your application:
def application do
[applications: [:streamex]]
end
Then setup configuration values in your config/[env].exs
file:
config :streamex, region: "api_region",
key: "api_key",
secret: "api_secret"
Refer to Streamex documentation.
Usage examples may be also found in /test
folder.