elisk v0.2.0 Elisk.Voters

Functions for retrieving information about Voters and Votes.

The responses for each API request have a common basic structure:

"data": {}, //Contains the requested data
"meta": {}, //Contains additional metadata, e.g. the values of `limit` and `offset`
"links": {} //Will contain links to connected API calls from here, e.g. pagination links

Summary

Functions

Get Voters list

Get Votes list

Functions

get_voters(args)

Get Voters list.

Method: GET

Elisk.Voters.get_voters()

=> { data, meta, links }

get_votes(args)

Get Votes list.

Method: GET

Elisk.Voters.get_votes()

=> { data, meta, links }