news_api v0.2.0 TopHeadlines.Params View Source

Link to this section Summary

Link to this section Types

Link to this type

category()

View Source
category() ::
  :business
  | :entertainment
  | :general
  | :health
  | :science
  | :sports
  | :technology
Link to this type

country()

View Source
country() ::
  :ae
  | :ar
  | :at
  | :au
  | :be
  | :bg
  | :br
  | :ca
  | :ch
  | :cn
  | :co
  | :cu
  | :cz
  | :de
  | :eg
  | :fr
  | :gb
  | :gr
  | :hk
  | :hu
  | :id
  | :ie
  | :il
  | :in
  | :it
  | :jp
  | :kr
  | :lt
  | :lv
  | :ma
  | :mx
  | :my
  | :ng
  | :nl
  | :no
  | :nz
  | :ph
  | :pl
  | :pt
  | :ro
  | :rs
  | :ru
  | :sa
  | :se
  | :sg
  | :si
  | :sk
  | :th
  | :tr
  | :tw
  | :ua
  | :us
  | :ve
  | :za
Link to this type

t()

View Source
t() :: %TopHeadlines.Params{
  category: category(),
  country: country(),
  page: integer(),
  pageSize: integer(),
  q: String.t(),
  sources: String.t()
}

Link to this section Functions