Skip to main content

Unofficial Open Corporates Client

Project description

CHANGELOG

Improvements:

  • can now get information on an individual company, including company officer's information
  • added flag -n/--company-number ;used for specifying which company to get information on
  • added flag -j/--jurisdiction-code ;used for specifying which jurisdiction code to check (recommended: should be used with -n/--company-number)
  • bug fixes

Unofficial Open Corporates CLI

occli Python Version OS GitHub CodeFactor Lines of code PyPI Downloads GitHub repo size

Open Corporates is a website that shares data on corporations under the copyleft Open Database License. This is an unofficial open corporates command line client.

Installation

Clone From Github:

$ git clone https://github.com/rlyonheart/occli.git

$ cd occli

Install From PyPI:

$ pip install occli

Upgrade to latest version:

$ python -m pip install --upgrade occli

Usage

Github Clone:

$ python occli -c COMPANY-NAME

Viewing API version information:

$ python occli --versions

Getting information on an individual company:

$ python occli -n COMPANY-NUMBER -j JURISDICTION-CODE

PyPI Package:

$ occli -c COMPANY-NAME

Viewing version information

$ occli --versions

Getting information on an individual company:

$ occli -n COMPANY-NUMBER -j JURISDICTION-CODE

Optional Arguments

Flag MetaVar Usage
-c/--company COMPANYNAME name of company
-j/--jurisdiction-code JURISDICTION-CODE company jurisdiction code
-n/--company-number COMPANYNUMBER company number
--versions get latest Open Corporates API version information
-o/--output FILENAME output filename
-r/--raw return results in raw json format
-v/--verbosity run program in verbose mode

LICENSE

license

About author

Contact author

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

occli-0.3.0.tar.gz (5.1 kB view hashes)

Uploaded Source

Built Distribution

occli-0.3.0-py2.py3-none-any.whl (17.6 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page