Reporter v0.7.0 Reporter View Source

Reporter is simple reporting App reviews library. Support AppStore and GooglePlay.

Link to this section Summary

Link to this section Functions

Link to this function app_store_rss_json(app_id, locale \\ "en") View Source
app_store_rss_json(String.t, String.t) ::
  {:error, String.t} |
  {:ok, String.t}
Link to this function app_store_rss_json!(app_id, locale \\ "en") View Source
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”

Link to this function app_store_rss_xml(app_id, locale \\ "en") View Source
app_store_rss_xml(String.t, String.t) ::
  {:error, String.t} |
  {:ok, String.t}
Link to this function app_store_rss_xml!(app_id, locale \\ "en") View Source
app_store_rss_xml!(String.t, String.t) :: String.t

Get XML formatted response from Apple Server.

Link to this function google_play(package, locale \\ "en", page_num \\ 0) View Source
google_play(String.t, String.t, Integer.t) ::
  {:ok, list} |
  {:error, String.t}
Link to this function google_play!(package, locale \\ "en", page_num \\ 0) View Source
google_play!(String.t, String.t, Integer.t) ::
  list |
  map |
  String.t

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”