Simple python wrapper for Companies House API
Project description
COMPANIES HOUSE API Client
This is a Python client for the COMPANIES HOUSE API
Installation
You can install the package into your project via pip:
pip install companies_house_api_client
USAGE
To use the COMPANIES HOUSE API client, you first need to set up environment variables for the required credentials:
export COMPANIES_HOUSE_APIKEY=your-api-key
export COMPANIES_HOUSE_HOST=https://api.company-information.service.gov.uk
EXAMPLE
By setting the test parameter to true, you can play arround with api:
from companies_house_api_client import CompaniesHouse
# Create a Companies House API client instance
ch = CompaniesHouse()
# Call an API method
companies = ch.get_company_profile("12312312")
TESTS
Make sure pytest is installed on your environment
python3 -m pytest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for companies_house_api_client-0.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0475e8c8ace7c09470751d7d30b7451df91dfa0a71cf20d22ff64838421834d0 |
|
MD5 | 7e78675e437e33945eff77c2dd352bed |
|
BLAKE2b-256 | e28c51d3ac8890c9bfd7be277be85bd953bca468a0b82ac648499b64364c5367 |
Close
Hashes for companies_house_api_client-0.0.3-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56395a2cdde179d0e3da9a859d111d2d858f344f31c4df2702e9d53a40eba9ff |
|
MD5 | fee0dd33611c91e6d6dafa66951de307 |
|
BLAKE2b-256 | 67e644a3a72550063413f6e3fad57fbd672847089d66e3bd57645eeb73ca8ed5 |