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
Metadata
Release files for manychat-python 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| manychat_python-0.1.4.tar.gz | 4.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| manychat_python-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.9 kB
Release files / manychat_python-0.1.4.tar.gz
| Download URL | manychat_python-0.1.4.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a13ff998d15569ad347afdc19275ba8ab264625842b8bb49788fd0511d5250fe
|
|
BLAKE2b-256 checksum How to use checksums |
cfda81eb96cf48f97af3b59ed1a6a0820a907d42a21119ab681251d13472a04a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Release files / manychat_python-0.1.4-py3-none-any.whl
| Download URL | manychat_python-0.1.4-py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5460feafd3f0f0fc60d83799a165b93f602efcc21c62ba897d9e9a722182e692
|
|
BLAKE2b-256 checksum How to use checksums |
ab39e7f7854e5321d81878f78eab0d87134ddd90897f1fca1708bbd84952a207
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|