Note
This package was created with the OpenAPI code generator and using the OpsGenie OpenAPI Specification.
Opsgeniex
is a client library for the Opsgenie REST API.
Add opsgeniex
to your list of dependencies in mix.exs
:
def deps do
[
{:opsgeniex, "~> 1.0.0"}
]
end
client = Opsgeniex.Connection.new(base_url: "https://api.eu.opsgenie.com", api_key: "your_api_key")
{:ok, response} = Opsgeniex.Api.Team.list_teams(client)