Skip to content

Latest commit

 

History

History
62 lines (42 loc) · 1.9 KB

index.rst

File metadata and controls

62 lines (42 loc) · 1.9 KB

Lebanese Parliament API (nouwweb)

About

This is an API to query information about Lebanese members of parliament. The current data reflects the 2009 Parliament. The project is a joint effort by SMEX and Lamba Labs.

Important links:

Usage

The API is very simple to use and follows REST parameter conventions. A request to the API will return a JSON list of results according to the URL param string.

Users can either get a list of values such as the list of districts at the endpoint /districts, or search for a subset of members of parliament using the endpoint /search.

For example, here's the list of legislators that have a mobile phone in the district Beirut I

curl 'http://api.openleb.io/search?mobile=true&district=Beirut%20I&prettyprint=true'

API details:

.. toctree::
        :maxdepth: 2

        usage/search
        usage/lists


Contributing

To contribute, fork the github repo or raise an issue. You can also suggest changes on our mailing list here.

Authors

Indices and tables