companies-house

1.0.0 • Public • Published

Companies House

A JavaScript client for the Companies House API

Note

This is currently limited to the search API, however you can easily add whatever other APIs you need and send me a pull request.

At the time of writing the Companies House API was still in beta, and has a number of issues including HTML in results, and inconsistent casing. However, while flawed, it does actually work.

Usage

Get an API key, also known as a 'Client ID' from Companies House Developer Hub

var companiesHouse = require('companies-house')('YOUR_API_KEY')

companiesHouse.search('certsimple', function(err, res){
	console.log(err, res)
})

companiesHouse.getProfile(09378892, function(err, res){
	console.log(err, res)
})

companiesHouse.getFilingHistory(09378892, function(err, res){
	console.log(err, res)
})

companiesHouse.getOfficers(09378892, function(err, res){
	console.log(err, res)
})

/companies-house/

    Package Sidebar

    Install

    npm i companies-house

    Weekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • mikemaccana