API v0.4.x now the default (and adds another tiny new feature)

Last week we launched Version 0.4 of OpenCorporates’ API, and with it brought some rather sexy new features (such as power searches, searching by address, new industry code functionality, and searching officers by address). As promised this has been on-demand for the past week, with v0.3.2 remaining the default in order to allow our regular users to try it out, and shake down the features in case there were any bugs.

Well, we found one (the behaviour of inactive filter was not quite as documented – thanks Mike!), fixed that, and while we were at it added a feature which didn’t quite make the cut for v0.4: restricting search results to companies by multiple industry codes, i.e. where the companies must have all the industry codes supplied, not just one of them.

Compare these two API calls:

Kind of cool, no?

So 0.4.x is now the default, specifically 0.4.1 (we increment versions whenever there’s a change which changes behaviour even if it’s fixing a bug to ensure the principle of least surprise for users of the API). v0.2 will be getting removed shortly, so we advise any users of this version to upgrade soon.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s