Skip to content

daiangan/manychat-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ManyChat Python Package

This is an unofficial Python package for an easy use of the ManyChat API.

Installation

pip install manychat

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 created and maintained by:
Daian Gan
Github: daiangan
E-mail: daian@ganmedia.com
Website: https://daiangan.com

About

ManyChat Python Package.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages