ExTrends v0.1.0 ExTrends.TopCharts View Source

Google top charts operation

Request data from Google's Top Charts section.

Link to this section Summary

Link to this section Functions

Link to this function

request(date, geo \\ "GLOBAL", hl \\ "en-US", tz \\ 0)

View Source
request(
  date :: binary() | integer(),
  geo :: binary(),
  hl :: binary(),
  tz :: integer()
) :: ExTrends.Operation.TopCharts.t()

To build top charts operation

Args:

  • date - Time of interest(YYYY or YYYYMM). Example 201611 for November 2016 Top Chart data.
  • geo - Location of interest.
  • hl - Preferred language (defaults to en-US. Ref: language-codes)
  • tz - Timezone Offset from UTC in minutes (defaults to 0)

Examples

ExTrends.TopCharts.request("2019") |> ExTrends.run()