AppStore.API.Config (App Store v0.4.0)

View Source

Summary

Functions

Build the AppStore client, used by functions in module AppStore.API

Returns the production API server URL: https://api.storekit.itunes.apple.com

Types

t()

@type t() :: %AppStore.API.Config{
  http_client: module(),
  json_coder: module(),
  server_url: String.t()
}

Functions

build(opts \\ [])

@spec build(keyword()) :: t()

Build the AppStore client, used by functions in module AppStore.API

Options

production_server_url()

@spec production_server_url() :: String.t()

Returns the production API server URL: https://api.storekit.itunes.apple.com

sandbox_server_url()

@spec sandbox_server_url() :: String.t()

Returns the sandbox API server URL: https://api.storekit-sandbox.itunes.apple.com