AmazonCreatorsAPI.HTTPClient.HTTPoison (amazon_creators_api v0.5.0)

HTTPoison adapter for AmazonCreatorsAPI.HTTPClient behaviour.

This is the default HTTP client implementation that wraps the HTTPoison library. It converts HTTPoison-specific response and error structures into the normalized format defined by the AmazonCreatorsAPI.HTTPClient behaviour.

Usage

This adapter is used by default and doesn't require explicit configuration. However, you can explicitly configure it:

# config/config.exs
config :amazon_creators_api,
  http_client: AmazonCreatorsAPI.HTTPClient.HTTPoison