Skip to main content

Unofficial Open Corporates Client

Project description

CHANGELOG

  • minor 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
pip install -r requirements.txt

Install From PyPI:

pip install occli

Upgrade to latest version:

python -m pip install --upgrade occli

Usage

Github Clone:

python occli -c COMPANYNAME

Viewing API version information:

python occli --versions

Alternatively:

chmod +x occli
./occli -c COMPANYNAME
./occli --versions

Getting information on an individual company:

./occli -n COMPANYNUMBER -j JURISDICTIONCODE

PyPI Package:

occli -c COMPANYNAME

Viewing version information

occli --versions

Getting information on an individual company:

occli -n COMPANYNUMBER -j JURISDICTIONCODE

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.1.post0.tar.gz (5.0 kB view hashes)

Uploaded Source

Built Distribution

occli-0.3.1.post0-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