ShazamKit.Client (shazam_kit v0.2.0)

Copy Markdown View Source

HTTP client for ShazamKit API.

Summary

Functions

Perform a signed GET request to the ShazamKit API.

Perform a signed POST request to the ShazamKit API.

Functions

get(endpoint, opts \\ [])

@spec get(
  String.t(),
  keyword()
) :: {:ok, map()} | {:error, term()}

Perform a signed GET request to the ShazamKit API.

post(endpoint, body, opts \\ [])

@spec post(String.t(), map(), keyword()) :: {:ok, map()} | {:error, term()}

Perform a signed POST request to the ShazamKit API.