Skip to main content

Client to connect to Monica CRM API

Project description

Monica Python Client

Build Status PyPI version

Connects to the Monica API and provides an easy to use python API.


pip install monica-client

Usage example

from monica import MonicaClient

client = MonicaClient(access_token="ACCESS_TOKEN")

You can find the value for the ACCESS_TOKEN on your Monica Profile page. Create a new token and use the returned key as your access token.


Get the profile of the authenticated user.


In [4]:
{'id': 14109, 'object': 'user', 'first_name': 'Peter', 'last_name': 'Pan', 'email': '', 'timezone': 'UTC', 'currency': {'id': 2, 'object': 'currency', 'iso': 'USD', 'name': 'US Dollar', 'symbol': '$'}, 'locale': 'en', 'is_policy_compliant': True, 'account': {'id': 13}, 'created_at': '2018-10-28T09:51:19Z', 'updated_at': '2018-10-28T14:09:17Z'}

Advanced Usage

Specifying your own Monica API server

If you happen to run your own monica API server, there is a way to specify its url:

from monica import MonicaClient

client = MonicaClient(access_token="ACCESS_TOKEN",


1.0.0 - 14.05.18


  • initial version released
  • feature complete with respect to node js client library


Licensed under the Apache License, Version 2.0. Copyright 2018 Tom Bocklisch. Copy of the license.

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

monica-client-1.0.0a1.tar.gz (3.1 kB view hashes)

Uploaded source

Built Distribution

monica_client-1.0.0a1-py3-none-any.whl (7.3 kB view hashes)

Uploaded py3

Supported by

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