Legislature

This document provides the API references for the legislatures in the database.

API

class models.Legislature

A legislature is a time-interval between two elections.

All the fields of this model are retrieved from parliament website using a crawler.

number

The official number of the legislature.

date_start

The date corresponding to the beginning of the legislature.

date_end

The date corresponding to the end of the legislature. It can be null when is an ongoing legislature.