View Source AppStore.API.Config (App Store v0.2.0)
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
Returns the sandbox API server URL: https://api.storekit-sandbox.itunes.apple.com
Types
Functions
Build the AppStore client, used by functions in module AppStore.API
Options
server_url
: Optional, the API server URL, default to the value ofAppStore.API.Config.production_server_url/0
http_client
: Optional, the module used to make HTTP calls, default toAppStore.HTTPClient.DefaultClient
json_coder
: Optional, the module used as JSON encoder & decoder, default toAppStore.JSON.DefaultCoder
@spec production_server_url() :: String.t()
Returns the production API server URL: https://api.storekit.itunes.apple.com
@spec sandbox_server_url() :: String.t()
Returns the sandbox API server URL: https://api.storekit-sandbox.itunes.apple.com