The "elections" collection of methods.
More...
|
| call ($name, $arguments, $expected_class=null) |
| TODO: This function needs simplifying.
|
|
| electionQuery ($optParams=array()) |
| List of available elections to query.
|
|
| voterInfoQuery ($address, $optParams=array()) |
| Looks up information relevant to a voter based on the voter's registered address.
|
|
|
| convertToArrayAndStripNulls ($o) |
|
The "elections" collection of methods.
Typical usage is: $civicinfoService = new Google_Service_CivicInfo(...); $elections = $civicinfoService->elections;
◆ call()
Google_Service_Resource::call |
( |
| $name, |
|
|
| $arguments, |
|
|
| $expected_class = null ) |
|
inherited |
TODO: This function needs simplifying.
- Parameters
-
$name | |
$arguments | |
$expected_class | - optional, the expected class name |
- Return values
-
Google_Http_Request|expected_class | |
- Exceptions
-
◆ electionQuery()
Google_Service_CivicInfo_Elections_Resource::electionQuery |
( |
| $optParams = array() | ) |
|
List of available elections to query.
(elections.electionQuery)
- Parameters
-
array | $optParams | Optional parameters. |
- Return values
-
◆ voterInfoQuery()
Google_Service_CivicInfo_Elections_Resource::voterInfoQuery |
( |
| $address, |
|
|
| $optParams = array() ) |
Looks up information relevant to a voter based on the voter's registered address.
(elections.voterInfoQuery)
- Parameters
-
string | $address | The registered address of the voter to look up. |
array | $optParams | Optional parameters. |
@opt_param string electionId The unique ID of the election to look up. A list of election IDs can be obtained at https://www.googleapis.com/civicinfo/{version}/elections @opt_param bool officialOnly If set to true, only data from official state sources will be returned.
- Return values
-
The documentation for this class was generated from the following file:
- lib/google/src/Google/Service/CivicInfo.php