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
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
About author
Contact author
Project details
Release history Release notifications | RSS feed
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)
Built Distribution
occli-0.3.0-py2.py3-none-any.whl
(17.6 kB
view hashes)
Close
Hashes for occli-0.3.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 070e93d402a08226b89719586885f90a4badaef50c8a3ac46fe64d5d36129635 |
|
MD5 | 1c6f31195243defc3d33464128d8c80b |
|
BLAKE2b-256 | f051e5a3ea927b1f804c2d5c34d32fba51c0cfb0845377274e9506699d4c5e34 |