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
^^^^^^^^
* small bug fixes

[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


Willow Labs


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

willowlabs-0.6.6-py3-none-any.whl (21.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: willowlabs-0.6.6-py3-none-any.whl
  • Upload date:
  • Size: 21.2 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.6.6-py3-none-any.whl
Algorithm Hash digest
SHA256 9c485b936aaa7a16523de1817cfe19c5a03ec9f89fc999d7e6530591687d88f5
MD5 3997267ecb9d1baf7c43832c1b6ecdab
BLAKE2b-256 fbe133057ddd81a5281528ef99a4378632bb12269863257d9ee7a05b740ad052

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