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.1.tar.gz (5.1 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.1-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: simple_chatwoot-0.0.1.tar.gz
  • Upload date:
  • Size: 5.1 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.1.tar.gz
Algorithm Hash digest
SHA256 bb4465fd705660768b6d0aa958e957a393e45916e18cfcb525ac683c215dfca8
MD5 5e40808d981f6ff30134a5b4a0b935b6
BLAKE2b-256 3e80271d75437d8cbbba11094af292308f244d0bcdb03ced317570d1e7570f99

See more details on using hashes here.

File details

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

File metadata

  • Download URL: simple_chatwoot-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.7 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 247cd0a73055fb1005cc09e47263e4860b14e10404f0ecf915d51bfdfd7d1735
MD5 a5e7fc69a56546a92ca4970dcc58b92b
BLAKE2b-256 3d2388a4b20d4f5ba5172cc36895183811cfb774cdbaa8e9ba42995b1e76d910

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