entities

Returns a list of entities.

Url

http://voota.es/a1

HTTP Methods

GET

Parameters

Required

  • method: entities
  • type: <politician|party>

Optional

  • sort <positive|negative>
    • default: positive
  • page: <n>
    • Default: 1
    • Page number for pagination. Method return 20 records in each call
  • limit: <n>
    • Default: 20
    • Number of records to retrieve per page

Examples

The request:

http://voota.es/a1?method=entities&type=politician

Returns:

An array of entity (politicians)

The request:

http://voota.es/a1?method=entities&type=party

Returns:

An array of entity (parties)