*** PROJECT MOVED TO -> https://github.com/kilibits/tanzania
This repository is an extension of/built on top of https://github.com/everypolitician-scrapers/tanzania
TO RUN SCRAPPER:
Install pre-requisites
pip install -r requirements.txt
To run script
python profile_scrapper.py
To run the API server
Pre-requisites : Install Golang(https://golang.org), install gin framework(https://gin-gonic.github.io/gin/)
go run api.go
visit localhost:8080/profiles
to assert API server is running
Any problems should be submitted to issues, and any contributions should be submitted through pull requests
TODO
Scrappers:
- Scrap for questions, supplementary questions, and contributions for every member of parliament
- Migrate to Postgres
API:
- Add new GET methods
- Rename GET functions and routes