Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

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)
})

Keywords

none

Install

npm i companies-house

DownloadsWeekly Downloads

7

Version

1.0.0

License

MIT

Last publish

Collaborators

  • avatar