Skip to main content

A Python package for accessing the Willow Labs APIs

Project description

.. image:: https://i.imgur.com/J2CGGYd.jpg
:target: https://willowlabs.ai
:width: 1200px
:align: center
:height: 600px
:alt: Willow Labs logo

Willow Labs Python API
========================
|docs| |pypi version| |downloads| |python version|

Willow labs APIs offers services to get information regarding companies and related entities. The main companents are:

* Information about the owners of a company. This service provides owners at all levels, meaning it recursively goes trough the ownership structure until a private owner is established.
* Basic company information as address, industry, number of employees and more.
* Signature rights and prokura holders for a company.
* Roles connected to the company, for example CEO, board members, accountant.

Function summary
----------------

+-----------------------------------------+-------------------------------------------------------+-----------+-----------------------------------+
| Service name | Description | Language | English version |
+=========================================+=======================================================+===========+===================================+
| get_basic_company_information | Basic information. | English | |
+-----------------------------------------+-------------------------------------------------------+-----------+-----------------------------------+
| get_company_ownership | Get the full ownership structure. | English | |
+-----------------------------------------+-------------------------------------------------------+-----------+-----------------------------------+
| get_company_power_of_attorney | Get everyone with power of attorney. | English | |
+-----------------------------------------+-------------------------------------------------------+-----------+-----------------------------------+
| \*get_company_prokura | Get everyone with prokura rights (power of attorney). | Norwegian | get_company_power_of_attorney |
+-----------------------------------------+-------------------------------------------------------+-----------+-----------------------------------+
| get_company_full_signatory_authority | All signature holders. | English | |
+-----------------------------------------+-------------------------------------------------------+-----------+-----------------------------------+
| \*get_company_signatur | Get all signatur (signature) holders. | Norwegian | get_company_signatory_information |
+-----------------------------------------+-------------------------------------------------------+-----------+-----------------------------------+
| get_company_signatory_information | Get the authority holder. | English | |
+-----------------------------------------+-------------------------------------------------------+-----------+-----------------------------------+
| get_company_roles | Get all roles connect to a company. | English | |
+-----------------------------------------+-------------------------------------------------------+-----------+-----------------------------------+

\* The function is a Norwegian version of an english function - see english version column for information.


Installation
----------------

.. code-block:: python

pip install -U willowlabs

Example usage
-------------

.. code-block:: python

from willowlabs.company_information.client import CompanyInformationClient
client = CompanyInformationClient("client_config.yaml")
company_basic_results = client.get_basic_company_information(organisation_number)
company_ownership_results = client.get_company_ownership(organisation_number, record_year)


Documentation
================
`Read the Docs`_

.. _Read the docs: https://willow-labs-python-api.readthedocs.io/en/doc_release/

Versions
==========
Using `Semantic Versioning 2.0.0`_.

.. _Semantic Versioning 2.0.0: https://semver.org/

[0.5.1] - 16.04.2020
------------------------------

Bugg fix
^^^^^^^^
* Readme file rendering error

[0.5.0] - 16.04.2020
------------------------------

Added
^^^^^
* Readme file documentation.


[0.4.0] - 16.04.2020
------------------------------

Added
^^^^^
* Change in import structure.

[0.3.0] - 15.04.2020
--------------------

Added
^^^^^
* New function to get roller

Bugg fix
^^^^^^^^
* Removed __init__ import

[0.2.0] - 04.04.2020
--------------------

First beta version: Basic functionality.

.. |docs| image:: https://readthedocs.org/projects/willow-labs-python-api/badge/?version=doc_release
:alt: Documentation Status
:scale: 100%
:target: https://willow-labs-python-api.readthedocs.io/en/doc_release/#?badge=doc_release

.. |pypi version| image:: https://pypip.in/v/willowlabs/badge.png
:target: https://pypi.python.org/pypi/willowlabs/
:alt: Latest PyPI version

.. |downloads| image:: https://pypip.in/d/willowlabs/badge.png
:target: https://pypi.python.org/pypi/willowlabs/
:alt: Number of PyPI downloads

.. |python version| image:: https://img.shields.io/badge/Python-3.7%20%7C%203.8-blue
:target: https://www.python.org/downloads/release/python-370
:alt: Python 3.7



License
-------

`MIT`_ © 2010-2020 Willow Labs

.. _MIT: LICENSE


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

willowlabs-0.5.3.tar.gz (19.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

willowlabs-0.5.3-py3-none-any.whl (19.1 kB view details)

Uploaded Python 3

File details

Details for the file willowlabs-0.5.3.tar.gz.

File metadata

  • Download URL: willowlabs-0.5.3.tar.gz
  • Upload date:
  • Size: 19.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for willowlabs-0.5.3.tar.gz
Algorithm Hash digest
SHA256 4f9cb6769cdd7f35121e06636ebaa5ce2e5052f9b73b15efaa1cc0770ea356b9
MD5 cb66ee50e696bb48d83e254a2e1bafc4
BLAKE2b-256 cefad86d7b836735f41b2fb98d3f590617576ad53635278b753b9c8073553fa6

See more details on using hashes here.

File details

Details for the file willowlabs-0.5.3-py3-none-any.whl.

File metadata

  • Download URL: willowlabs-0.5.3-py3-none-any.whl
  • Upload date:
  • Size: 19.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for willowlabs-0.5.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f193e420f151bcd814a6736d45198be8171cfb03e45134660d2a38ae2eb31b10
MD5 07fae0b70d07385fe4bf636cc4ba3088
BLAKE2b-256 e26c58fe317464b939b9549c04fbb5a0d5897e45ef877c06c6df3dd185f6364a

See more details on using hashes here.

Supported by

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