API wrapper for Manychat written in Python
Project description
manychat-python
This is an unofficial Python package for an easy use of the ManyChat API.
Installation
pip install manychat-python
Usage
from manychat import ManyChat
mc = ManyChat('YOUR_MANYCHAT_API_KEY')
# Page
page_info = mc.fb.page.get_info()
# Sending
send_flow = mc.fb.sending.send_flow(
subscriber_id='SUBSCRIBER_ID',
flow_ns='content20210489114753_47763' # this is just an example
)
# Subscriber
subscriber_info = mc.fb.subscriber.get_info(
subscriber_id='SUBSCRIBER_ID'
)
To see more examples, please go to: tests/manychat_tests.py
GitHub Repo: https://github.com/daiangan/manychat-python
Some Notes:
All methods are named using the Python function naming rules: lowercase with words separated by underscores as necessary to improve readability.
So, for example, the ManyChat endpoint /fb/sending/sendFlow is translated to: fb.sending.send_flow()
More info about Style Guide for Python Code.
Please read the official ManyChat API Documentation for more details:
https://api.manychat.com/
About this project
This project is a clone of the project created and maintained by:
Daian Gan
Github: daiangan
E-mail: daian@ganmedia.com
Website: https://daiangan.com
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
Built Distribution
Hashes for manychat_python-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40699e9adedb3b92b70f4f1c198097c13fa578bea3008174bcd50bae7b18c2f0 |
|
MD5 | b10f754a585b7817018bbf0ee91b1915 |
|
BLAKE2b-256 | 5264e6316bdc3c96a8300f4cc8645629c2d4024c56f9d0bc268d5250b48f7331 |