/occli

A command line tool that queries the Open Corporates Database and returns data on corporations under the copyleft Open Database License.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Archived: Open Corporates API is no longer public

logo

Python Version GitHub CodeFactor PyPI Downloads GitHub repo size

Occli is a command line tool that queries the Open Corporates Database and returns data on corporations under the copyleft Open Database License.

Installation

Clone from Github

git clone https://github.com/rly0nheart/occli.git
cd occli
python setup.py sdist bdist_wheel
pip install dist/occli-[version.tag]-py3-none.whl

Install from PyPI

pip install occli

Usage

occli 'query'

Updating

pip install --upgrade occli

Optional Arguments

Option Argument Usage
-o/--output path/to/file write output to a specified file
-c/--count number of results to return (1-30) (default: 30)
-v/--verbose enable verbosity

Note

Occli is in no way affiliated with Open Corporates. This project only uses their public API, therefore, user privacy policies and terms of service will be applied as provided by Open Corporates itself.

LICENSE

license