Reporter

Summary

Get JSON response decoded by Poison.decode! from Apple Server

Get XML formatted response from Apple Server

Get HTML formatted response from GooglePlay

Functions

app_store_rss_json!(app_id, locale \\ "en")

Specs

app_store_rss_json!(String.t, String.t) :: String.t

Get JSON response decoded by Poison.decode! from Apple Server.

error case

Not found

iex> error = %{“message” => “Not found items.”, “status_code” => “404”} iex> error["status_code"] “404”

app_store_rss_xml!(app_id, locale \\ "en")

Specs

app_store_rss_xml!(String.t, String.t) :: String.t

Get XML formatted response from Apple Server.

google_play!(package, locale \\ "en")

Specs

google_play!(String.t, String.t) :: list

Get HTML formatted response from GooglePlay.

Example

error case

Not found

iex> error = %{“message” => “Not found items.”, “status_code” => “404”} iex> error["status_code"] “404”