{ "info": { "author": "LumApps", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "**Lumapps SDK**\n===============\n\n.. image:: https://circleci.com/gh/lumapps/lumapps-sdk.svg?style=svg\n :target: https://circleci.com/gh/lumapps/lumapps-sdk\n\n.. image:: https://black.readthedocs.io/en/stable/_static/license.svg\n :target: https://github.com/lumapps/lumapps-sdk/blob/master/LICENSE.rst\n :alt: License: MIT\n\n.. image:: https://img.shields.io/badge/code%20style-black-000000.svg\n :target: https://github.com/ambv/black\n :alt: Black style\n\n\n*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*\n\n*Make sure of the version you are using (Git tags & releases)*\n\n----\n\nLumapps SDK is a set of tools to manipulate the `Lumapps API `_.\n\nThis includes: \n\n- a client that support all the routes of the API (located in folder lumapps_api_client)\n- a set of helper classes to easily manipulate Lumapps elements as Python Objects and classes (folder lumapps_api_helpers)\n\n\nQuick start\n===========\n\nInstallation\n------------\n\n``$ pip install lumapps-sdk``\n\n\nGet your token\n--------------\n\nLumapps supports multiple ways of authentification.\nThe fastest one to implement is the following:\n\nGet your token by logging to your Lumapps account.\nGo to `https://sites.lumapps.com `_ and authentificate.\nOnce connected, open the javascript console of your browser and run:\n\n.. code-block:: javascript\n\n var instance = window.location.pathname.split('/');\n instance = instance[instance.length-2];\n fetch(window.location.origin+\"/service/init?customerHost=\"+window.location.host+\"&instanceSlug=\"+instance+\"&slug=\").then(data=>{return data.json()}).then(res => {console.log(res.token)})\n\n\nThis will generate your personal Lumapps token that will be active for 60 minutes, and that we will use in the following steps\n\nAuthentificate\n--------------\n\n.. code-block:: python\n\n from lumapps.client import ApiClient\n token = \"MY TOKEN\"\n api = ApiClient(token=token)\n\nYour first API call\n~~~~~~~~~~~~~~~~~~~\n\nLet's display the full name of a registered user in lumapps\n\n.. code-block:: python\n\n user_email = \"YOUR EMAIL\"\n usr = api.get_call(\"user\", \"get\", email=user_email)\n print(\"Hello {}\".format(usr.get(\"fullName\", \"\")))\n\n\n\nDocumentation\n=============\n\nThe SDK documentation is available `here `_.\n\nCode convention\n---------------\n\nDocstring in PEP 484 type annotations format adapted to python 2.7 using comments.\n\nHow to get help, contribute, or provide feedback\n================================================\n\nPlease refer to our `contributing guidelines `_.\n\nCopyright and license\n=====================\n\nLumapps SDK is licensed under A MIT license - see the `LICENSE.rst `_ file.\n\n", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/lumapps/lumapps-sdk", "keywords": "lumapps sdk", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "lumapps-sdk-fork-poetry", "package_url": "https://pypi.org/project/lumapps-sdk-fork-poetry/", "platform": "", "project_url": "https://pypi.org/project/lumapps-sdk-fork-poetry/", "project_urls": { "CI": "https://circleci.com/gh/lumapps/lumapps-sdk", "Documentation": "https://lumapps.github.io/lumapps-sdk/", "Homepage": "https://github.com/lumapps/lumapps-sdk", "Issues": "https://github.com/lumapps/lumapps-sdk/issues", "Source": "https://github.com/lumapps/lumapps-sdk" }, "release_url": "https://pypi.org/project/lumapps-sdk-fork-poetry/0.2.2/", "requires_dist": [ "requests (==2.20.1)", "google-api-python-client (==1.7.7)" ], "requires_python": ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*", "summary": "Lumapps SDK for Python", "version": "0.2.2" }, "last_serial": 4773074, "releases": { "0.2.2": [ { "comment_text": "", "digests": { "md5": "c6dc51e3043a85a0612c5cd98479c5be", "sha256": "a6655228f9ae58d2abb46a48eff1e6bf28134688347c1d917ee6a7021f930774" }, "downloads": -1, "filename": "lumapps_sdk_fork_poetry-0.2.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c6dc51e3043a85a0612c5cd98479c5be", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*", "size": 25481, "upload_time": "2019-02-02T20:57:03", "url": "https://files.pythonhosted.org/packages/54/89/16c91e658343a53a4878eefa7194b9936c1f854a3a52657f554b4d8c9b3e/lumapps_sdk_fork_poetry-0.2.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5390c498688d707e1009f5479b56b264", "sha256": "f29393ac19dc410494e1fe9655875f58bef8584658921ee691f5156d7263755b" }, "downloads": -1, "filename": "lumapps-sdk-fork-poetry-0.2.2.tar.gz", "has_sig": false, "md5_digest": "5390c498688d707e1009f5479b56b264", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*", "size": 21173, "upload_time": "2019-02-02T20:57:05", "url": "https://files.pythonhosted.org/packages/26/3c/044d03c6bbd2c7619be3ff948b497b4f05d924fc35c29476a4c1bed030e5/lumapps-sdk-fork-poetry-0.2.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c6dc51e3043a85a0612c5cd98479c5be", "sha256": "a6655228f9ae58d2abb46a48eff1e6bf28134688347c1d917ee6a7021f930774" }, "downloads": -1, "filename": "lumapps_sdk_fork_poetry-0.2.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c6dc51e3043a85a0612c5cd98479c5be", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*", "size": 25481, "upload_time": "2019-02-02T20:57:03", "url": "https://files.pythonhosted.org/packages/54/89/16c91e658343a53a4878eefa7194b9936c1f854a3a52657f554b4d8c9b3e/lumapps_sdk_fork_poetry-0.2.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5390c498688d707e1009f5479b56b264", "sha256": "f29393ac19dc410494e1fe9655875f58bef8584658921ee691f5156d7263755b" }, "downloads": -1, "filename": "lumapps-sdk-fork-poetry-0.2.2.tar.gz", "has_sig": false, "md5_digest": "5390c498688d707e1009f5479b56b264", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*", "size": 21173, "upload_time": "2019-02-02T20:57:05", "url": "https://files.pythonhosted.org/packages/26/3c/044d03c6bbd2c7619be3ff948b497b4f05d924fc35c29476a4c1bed030e5/lumapps-sdk-fork-poetry-0.2.2.tar.gz" } ] }