Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

Lumapps SDK for Python

Project description

Lumapps SDK License: MIT Black style

Please be aware the this sdk is still in beta version (0.1) and is undergoing a fast paced evolution that may break change the behaviour of some helpers

Make sure of the version you are using (Git tags & releases)

LumApps SDK is a set of tools to manipulate the Lumapps API.

This includes:

  • a client that support all the routes of the API (located in folder lumapps_api_client)
  • a set of helper classes to easily manipulate LumApps elements as Python Objects and classes (folder lumapps_api_helpers)

Quick start


$ pip install lumapps-sdk

Get your token

LumApps supports multiple ways of authentification. The fastest one to implement is the following:

Get your token by logging to your LumApps account. Go to and authentificate. Once connected, open the javascript console of your browser and run:

var instance = window.location.pathname.split('/');
instance = instance[instance.length-2];
fetch(window.location.origin+"/service/init?customerHost=""&instanceSlug="+instance+"&slug=").then(data=>{return data.json()}).then(res => {console.log(res.token)})

This will generate your personal Lumapps token that will be active for 60 minutes, and that we will use in the following steps


from lumapps.client import ApiClient
token = "MY TOKEN"
api = ApiClient(token=token)

Your first API call

Let’s display the full name of a registered user in lumapps

user_email = "YOUR EMAIL"
usr = api.get_call("user", "get", email=user_email)
print("Hello {}".format(usr.get("fullName", "")))


The SDK documentation is available here.

Code convention

Docstring in PEP 484 type annotations format adapted to python 2.7 using comments.

How to get help, contribute, or provide feedback

Please refer to our contributing guidelines.

Project details

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
lumapps_sdk-0.1.3-py2.py3-none-any.whl (24.7 kB) Copy SHA256 hash SHA256 Wheel py2.py3
lumapps-sdk-0.1.3.tar.gz (20.6 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page