| Copyright | (c) 2015 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.Google.Resource.CivicInfo.Elections.ElectionQuery
Contents
Description
List of available elections to query.
See: Google Civic Information API Reference for civicinfo.elections.electionQuery.
- type ElectionsElectionQueryResource = "civicinfo" :> ("v2" :> ("elections" :> (QueryParam "alt" AltJSON :> Get `[JSON]` ElectionsQueryResponse)))
- electionsElectionQuery :: ElectionsElectionQuery
- data ElectionsElectionQuery
REST Resource
type ElectionsElectionQueryResource = "civicinfo" :> ("v2" :> ("elections" :> (QueryParam "alt" AltJSON :> Get `[JSON]` ElectionsQueryResponse))) Source
A resource alias for civicinfo.elections.electionQuery method which the
ElectionsElectionQuery request conforms to.
Creating a Request
electionsElectionQuery :: ElectionsElectionQuery Source
Creates a value of ElectionsElectionQuery with the minimum fields required to make a request.
data ElectionsElectionQuery Source
List of available elections to query.
See: electionsElectionQuery smart constructor.