Skip to main content

Python client for Linxo API

Project description


|PyPI| |PyPI| |Build Status| |Requirements Status|

Python client for `Linxo API <>`__


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 <>>`__ using ``pip``.

.. code:: bash

pip install linxo-client

Alternatively, you may get latest development version directly from Git.


pip install -e git+


Create a linxo.conf. They are parsend in that order.


# Current directory

# Home directory

# Global

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 = [

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.


.. code:: python

# -*- encoding: utf-8 -*-
import linxo

client = linxo.Client()


The api documentation is `available
here <>`__.

.. |PyPI| image::
.. |PyPI| image::
.. |Build Status| image::
.. |Requirements Status| image::

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

linxo-0.1.2.tar.gz (7.6 kB view hashes)

Uploaded source

Supported by

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