Skip to content

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

License

Notifications You must be signed in to change notification settings

bernie-developer/simple-chatwoot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%