python-linxo-client
===================
|PyPI| |PyPI| |Build Status| |Requirements Status|
Python client for `Linxo API <https://www.linxo.com>`__
Installation
============
The python wrapper works with Python 2.6+ and Python 3.2+.
The easiest way to get the latest stable release is to grab it from
`pypi <https://pypi.python.org/pypi/linxo>>`__ using ``pip``.
.. code:: bash
pip install linxo-client
Alternatively, you may get latest development version directly from Git.
::
pip install -e git+https://github.com/alkivi-sas/python-linxo-client.git#egg=linxo
Configuration
=============
Create a linxo.conf. They are parsend in that order.
::
# Current directory
./linxo.conf
# Home directory
~/.linxo.conf
# Global
/etc/linxo.conf
The file should contains client\_id and client\_secret with a fake
access and refresh\_token. You can obtain client\_id and client\_secret
by contacting Linxo.
\`\`\`ini [default] endpoint = prod
[prod] client\_id = dazjdkazldnoiazd,azldaz client\_secret = dazdazdza
access\_token = fake for now refresh\_token = fake for now\`\`\`\`
Next step is to generate a token
.. code:: python
# -*- encoding: utf-8 -*-
import linxo
# create a client using configuration
client = linxo.Client()
# Request token
valid_scopes = [
'accounts_manage',
'accounts_read',
'connections_manage',
'connections_sync',
'transactions_read',
'users_create']
client.generate_token(scopes=['transactions_read'])
Execute the code, you will be asked to login to linxo and you will be
redirected to localhost. Copy the code part, and the token will be save
to your configuration file automatically.
Usage
=====
.. code:: python
# -*- encoding: utf-8 -*-
import linxo
client = linxo.Client()
client.get('/transactions')
Documentation
=============
The api documentation is `available
here <https://sandbox-api.linxo.com/v2/documentation/>`__.
.. |PyPI| image:: https://img.shields.io/pypi/v/linxo.svg
.. |PyPI| image:: https://img.shields.io/pypi/status/linxo.svg
.. |Build Status| image:: https://travis-ci.org/alkivi-sas/python-linxo-client.svg?branch=master
:target: https://travis-ci.org/alkivi-sas/python-linxo-client
.. |Requirements Status| image:: https://requires.io/github/alkivi-sas/python-linxo-client/requirements.svg?branch=master
:target: https://requires.io/github/alkivi-sas/python-linxo-client/requirements/?branch=master
===================
|PyPI| |PyPI| |Build Status| |Requirements Status|
Python client for `Linxo API <https://www.linxo.com>`__
Installation
============
The python wrapper works with Python 2.6+ and Python 3.2+.
The easiest way to get the latest stable release is to grab it from
`pypi <https://pypi.python.org/pypi/linxo>>`__ using ``pip``.
.. code:: bash
pip install linxo-client
Alternatively, you may get latest development version directly from Git.
::
pip install -e git+https://github.com/alkivi-sas/python-linxo-client.git#egg=linxo
Configuration
=============
Create a linxo.conf. They are parsend in that order.
::
# Current directory
./linxo.conf
# Home directory
~/.linxo.conf
# Global
/etc/linxo.conf
The file should contains client\_id and client\_secret with a fake
access and refresh\_token. You can obtain client\_id and client\_secret
by contacting Linxo.
\`\`\`ini [default] endpoint = prod
[prod] client\_id = dazjdkazldnoiazd,azldaz client\_secret = dazdazdza
access\_token = fake for now refresh\_token = fake for now\`\`\`\`
Next step is to generate a token
.. code:: python
# -*- encoding: utf-8 -*-
import linxo
# create a client using configuration
client = linxo.Client()
# Request token
valid_scopes = [
'accounts_manage',
'accounts_read',
'connections_manage',
'connections_sync',
'transactions_read',
'users_create']
client.generate_token(scopes=['transactions_read'])
Execute the code, you will be asked to login to linxo and you will be
redirected to localhost. Copy the code part, and the token will be save
to your configuration file automatically.
Usage
=====
.. code:: python
# -*- encoding: utf-8 -*-
import linxo
client = linxo.Client()
client.get('/transactions')
Documentation
=============
The api documentation is `available
here <https://sandbox-api.linxo.com/v2/documentation/>`__.
.. |PyPI| image:: https://img.shields.io/pypi/v/linxo.svg
.. |PyPI| image:: https://img.shields.io/pypi/status/linxo.svg
.. |Build Status| image:: https://travis-ci.org/alkivi-sas/python-linxo-client.svg?branch=master
:target: https://travis-ci.org/alkivi-sas/python-linxo-client
.. |Requirements Status| image:: https://requires.io/github/alkivi-sas/python-linxo-client/requirements.svg?branch=master
:target: https://requires.io/github/alkivi-sas/python-linxo-client/requirements/?branch=master
Metadata
Release files for linxo 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| linxo-0.1.2.tar.gz | 7.6 kB | Without provenance | Details |
Release files / linxo-0.1.2.tar.gz
| Download URL | linxo-0.1.2.tar.gz |
|---|---|
| Size | 7.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
240eb2e81abc3f5c3cdbf77b36f932f4ee6a75b582a44216999c9d603d50a0e5
|
|
BLAKE2b-256 checksum How to use checksums |
1be28e70d8124b916bc4418623d0f3cd628c5c0befe16dc5c9e60114a810ef51
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for linxo 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.