GoogleCivicApi.Representatives (GoogleCivicApi v0.1.1) View Source

Documentation for `GoogleCivicApi.Representatives``

Link to this section Summary

Functions

Returns a list of representative's basic information and contact for a given address

Link to this section Functions

Returns a list of representative's basic information and contact for a given address

Examples

iex> GoogleCivicApi.Representatives.byAddress(some_baltimore_addr)
  [ %{
      locations: [
      %{
          address: %{
          city: "Baltimore",
          line1: "111 North Calvert Street",
          state: "MD"
          }
      }
      ],
      name: "Marilyn Bentley",
      party: "Democratic Party",
      phones: ["(410) 333-3733"]
  }]