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.4] - 16.04.2020
------------------------------

Bugg fix
^^^^^^^^
* gcloud not authorized

[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.4.tar.gz (9.4 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.4-py3-none-any.whl (19.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: willowlabs-0.5.4.tar.gz
  • Upload date:
  • Size: 9.4 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.4.tar.gz
Algorithm Hash digest
SHA256 696fe1d9f532e8d4adc5f2090c27d6861ef131127b4ecd5cadc4a433a2bfd4e9
MD5 08eb85ab7250fc34b3fac2717a846cc1
BLAKE2b-256 4c4e9b97f43b2e62d57eca5c17d435bf686e729b20fb193cde3ef73c4e28bbf8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: willowlabs-0.5.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4a9a7ad2102cf27ba5107c81a99ff401b6034dd8766c5d1d7ce3af2c554fae0c
MD5 9adcd47478d592a356f869d8ee793156
BLAKE2b-256 82b1cd18e77624b1aa7e4e6318d2ecb6a3e9d049dd149ffa037a47e249ec631f

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