Porkbun (Porkbun v0.1.0)

View Source

Porkbun API Client.

Porkbun //
乾史蒂夫和朋友 //
Elixir client for the Porkbun API //

Elixir 1.18.4 Erlang 28.1

HexPM HexDocs
GitHub Type Library

Coverage

Coverage

Summary

Functions

Creates a Porkbun client struct.

Pings the Porkbun API to check connectivity.

Gets the current pricing from Porkbun.

Functions

client(opts \\ [])

Creates a Porkbun client struct.

Options

  • :api_key - Your Porkbun API key. Defaults to the PORKBUN_API environment variable.
  • :secret_key - Your Porkbun secret key. Defaults to the PORKBUN_SECRET environment variable.

ping(client \\ nil)

Pings the Porkbun API to check connectivity.

pricing()

Gets the current pricing from Porkbun.