Export registration information from the UK Companies House into an Excel file
The module receives an Excel with UK company number and adds the current registration details (name, address, directors, next confirmation statement and annual account deadlines) from the Companies House API.
The main entry point file is companies_house_exporter.py
To get a local copy up and running follow these simple steps.
Install all prerequisites from the included requirements.txt.
- pip install -r /path/to/requirements.txt
-
Clone the repo
git clone https://github.com/github_shaishulman/CompaniesHouse_Exporter.git
-
Install prerequisites
pip install -r /path/to/requirements.txt
-
Apply for a developer API from the Companies House
https://developer.company-information.service.gov.uk/get-started
-
Save the API into a text file named "api_key.txt" (optional)
-
Prepae an Excel file with the registration numbers of the companies you are interested in (you use xls_file_template.xlsx)
-
Get directors and next deadlines information for the companies listed on "xls_file_template.xlsx"
python companies_house_exporter.py -n -d -f "xls_file_template.xlsx"
-
Only get basic information and directly specify API key
python companies_house_exporter.py -"xls_file_template.xlsx" -k 123456789
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Shai Shulman - @shaishulman - [email protected]
Project Link: https://github.com/github_shaishulman/CompaniesHouse_Exporter