🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

companies-house

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

companies-house

Companies House API client

1.0.0
latest
Source
npm
Version published
Weekly downloads
2
100%
Maintainers
1
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 15 Aug 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts