A python client for typed interactions with the Mode Analytics API.


Keywords
mode, analytics, python
License
MIT
Install
pip install pymode==1.3.0

Documentation

pymode

PyPI version PyPI - Status Build Status PyPI - Python Version PyPI - License

PyMode is a Python 3.x library to enable typed interactions with the Mode Analytics v2 API.

Installation

$ pip install pymode

Example Usage

import os
from pymode import Mode

ORGANIZATION = os.environ["MODE_ORGANIZATION"]
TOKEN = os.environ["MODE_API_TOKEN"]
PASSWORD = os.environ["MODE_API_PASSWORD"]

mode = Mode(organization=ORGANIZATION, token=TOKEN, password=PASSWORD)