Skip to main content

A super simple package to connect to Chatwoot

Project description

Simple Chatwoot

Simple-Chatwoot is a Python library for connecting to Chatwoot REST API.

Usage

import os
from dotenv import load_dotenv

from simple_chatwoot import ChatWoot

load_dotenv()

DOMAIN = os.getenv("DOMAIN") #https://chatwoot.example.com
API_ACCESS_TOKEN = os.getenv("API_ACCESS_TOKEN") #rkoo0op2PPsihsv8JW3IjfiF
ACCOUNT_ID = os.getenv("ACCOUNT_ID") #1
INBOX_ID = os.getenv("INBOX_ID") #1

chatwoot_client = ChatWoot(DOMAIN, API_ACCESS_TOKEN, ACCOUNT_ID, INBOX_ID)

contacts = chatwoot_client.search_contacts("henrique")
print(contacts)

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

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

simple_chatwoot-0.0.2.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

simple_chatwoot-0.0.2-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file simple_chatwoot-0.0.2.tar.gz.

File metadata

  • Download URL: simple_chatwoot-0.0.2.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for simple_chatwoot-0.0.2.tar.gz
Algorithm Hash digest
SHA256 13d4cd79fc1aa8c1f85655f990a95ba5bed52db9f9716e02abd959d867f2e47e
MD5 f1f436d360ed759b1bbe66f2706681e2
BLAKE2b-256 4c73d6e154ee1397dd3622d455b1522e0344cba0ae10adb03b1bc800352ab77b

See more details on using hashes here.

File details

Details for the file simple_chatwoot-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: simple_chatwoot-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for simple_chatwoot-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6c2a8d35bac30eaed4d39c61e9a204b0fd24dea923ee39a5e669da6f3eadae18
MD5 2c299858f45a6185b30aa4e827fef29f
BLAKE2b-256 20edf6284238aeb0521796b99048e5f9460c87092d9dbc136f33ffebea5f1cfa

See more details on using hashes here.

Supported by

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